# Created by: Simon 'corecode' Schubert # $FreeBSD: head/mail/claws-mail/Makefile 556345 2020-11-26 17:18:52Z joneum $ PORTNAME= claws-mail CATEGORIES= mail news COMMENT= Lightweight and featureful GTK+ based e-mail and news client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libetpan.so:mail/libetpan \ libfreetype.so:print/freetype2 \ libsasl2.so:security/cyrus-sasl2 \ libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libnettle.so:security/nettle RUN_DEPENDS= mime-support>0:misc/mime-support \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USES= autoreconf compiler:c++11-lang cpe desktop-file-utils gettext \ gettext-tools gnome pathfix pkgconfig python:3.5+ shebangfix ssl xorg USE_XORG= ice sm USE_GNOME= cairo gtk20 librsvg2 SHEBANG_FILES= tools/*.pl tools/*.py tools/tb2claws-mail INSTALLS_ICONS= yes OPTIONS_DEFINE= COMPFACE DEBUG DOCS ENCHANT IPV6 LDAP \ NLS STARTUP THEMES OPTIONS_DEFAULT=COMPFACE ENCHANT STARTUP THEMES OPTIONS_SUB= yes COMPFACE_DESC= X-Face support COMPFACE_CONFIGURE_ENABLE= compface COMPFACE_LIB_DEPENDS= libcompface.so:mail/faces DEBUG_CONFIGURE_ON= --enable-maintainer-mode ENCHANT_DESC= Spell checking support ENCHANT_CONFIGURE_ENABLE= enchant ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant IPV6_CONFIGURE_ENABLE= ipv6 LDAP_CONFIGURE_ENABLE= ldap LDAP_USE= openldap=yes NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext-tools STARTUP_DESC= Startup notification support STARTUP_CONFIGURE_ENABLE= startup-notification STARTUP_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification THEMES_DESC= Additional themes THEMES_RUN_DEPENDS= claws-mail-themes>0:x11-themes/claws-mail-themes .include "Makefile.claws" post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/common/ssl.c post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/tools && \ ${INSTALL_SCRIPT} acroread2claws-mail.pl \ calypso_convert.pl claws-mail-compose-insert-files.pl \ cm-reparent.pl convert_mbox.pl csv2addressbook.pl ddg_search.pl \ eud2gc.py filter_conv.pl filter_conv_new.pl fix_date.sh \ gif2xface.pl google_msgid.pl kmail-mailbox2claws-mail.pl \ kmail2claws-mail.pl kmail2claws-mail_v2.pl mairix.sh \ mew2claws-mail.pl multiwebsearch.conf multiwebsearch.pl \ nautilus2claws-mail.sh outlook2claws-mail.pl popfile-link.sh \ tb2claws-mail tbird2claws.py textviewer.pl textviewer.sh \ thunderbird-filters-convertor.pl update-po uudec uuooffice \ vcard2xml.py \ ${STAGEDIR}${DATADIR}) post-install-DOCS-on: (cd ${WRKSRC} && ${INSTALL_DATA} NEWS README TODO ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/tools/README ${STAGEDIR}${DOCSDIR}/README.tools .include