1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/mail/claws-mail/Makefile
Pawel Pekala 0430ea81cb - Fix shebangs in additional scripts [1]
- Don't install desktop file second time

PR:		203132 [1] (based on)
Submitted by:	amdmi3 [1]
2015-09-16 19:10:16 +00:00

85 lines
2.8 KiB
Makefile

# Created by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
# $FreeBSD$
PORTNAME= claws-mail
CATEGORIES= mail news ipv6
PORTREVISION= 1
COMMENT= Lightweight and featureful GTK+ based e-mail and news client
LIB_DEPENDS= libetpan.so:${PORTSDIR}/mail/libetpan \
libgnutls.so:${PORTSDIR}/security/gnutls \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS= mime-support>0:${PORTSDIR}/misc/mime-support
USE_GNOME= gtk20
USES= cpe desktop-file-utils execinfo pathfix shebangfix
SHEBANG_FILES= tools/*.pl tools/*.py tools/tb2claws-mail
INSTALLS_ICONS= yes
OPTIONS_DEFINE= COMPFACE DEBUG DOCS ENCHANT IPV6 JPILOT LDAP \
MANUAL NLS STARTUP THEMES
OPTIONS_DEFAULT=COMPFACE ENCHANT MANUAL STARTUP THEMES
OPTIONS_SUB= yes
COMPFACE_DESC= X-Face support
COMPFACE_CONFIGURE_ENABLE= compface
COMPFACE_LIB_DEPENDS= libcompface.so:${PORTSDIR}/mail/faces
DEBUG_CONFIGURE_ON= --enable-maintainer-mode
ENCHANT_DESC= Spell checking support
ENCHANT_CONFIGURE_ENABLE= enchant
ENCHANT_LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant
IPV6_CONFIGURE_ENABLE= ipv6
JPILOT_DESC= JPilot support
JPILOT_CONFIGURE_ENABLE= jpilot
JPILOT_LIB_DEPENDS= libpisock.so:${PORTSDIR}/palm/pilot-link
JPILOT_RUN_DEPENDS= jpilot:${PORTSDIR}/palm/jpilot
LDAP_CONFIGURE_ENABLE= ldap
LDAP_USE= openldap=yes
MANUAL_DESC= User manual (many dependencies, including texlive)
MANUAL_CONFIGURE_ON= --enable-manual --with-manualdir=${DOCSDIR}/manual
MANUAL_CONFIGURE_OFF= --disable-manual
MANUAL_BUILD_DEPENDS= docbook-utils>0:${PORTSDIR}/textproc/docbook-utils
NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
STARTUP_DESC= Startup notification support
STARTUP_CONFIGURE_ENABLE= startup-notification
STARTUP_LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
THEMES_DESC= Additional themes
THEMES_RUN_DEPENDS= claws-mail-themes>0:${PORTSDIR}/x11-themes/claws-mail-themes
.include "Makefile.claws"
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}&|g ; s|/usr/share|${LOCALBASE}/share|g' \
${WRKSRC}/src/procmime.c
@${REINPLACE_CMD} -e "/(GPGME_LIBS)/d" \
${WRKSRC}/src/Makefile.in
post-install:
(cd ${WRKSRC} && ${INSTALL_DATA} NEWS README TODO ${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/tools/README ${STAGEDIR}${DOCSDIR}/README.tools
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/tools && \
${INSTALL_SCRIPT} OOo2claws-mail.pl acroread2claws-mail.pl \
calypso_convert.pl convert_mbox.pl eud2gc.py filter_conv.pl \
filter_conv_new.pl fix_date.sh freshmeat_search.pl \
gif2xface.pl google_msgid.pl google_search.pl \
kmail-mailbox2claws-mail.pl kmail2claws-mail.pl \
kmail2claws-mail_v2.pl multiwebsearch.conf multiwebsearch.pl \
nautilus2claws-mail.sh outlook2claws-mail.pl tb2claws-mail \
tbird2claws.py textviewer.pl textviewer.sh \
thunderbird-filters-convertor.pl uudec uuooffice vcard2xml.py \
${STAGEDIR}${DATADIR})
.include <bsd.port.mk>