2009-02-10 15:52:39 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2009/02/10 20:52:39 landry Exp $
|
2008-10-17 08:46:33 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2007-03-23 13:38:22 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT-main= mail and news client
|
|
|
|
COMMENT-docs= documentation
|
|
|
|
COMMENT-bogofilter= bogofilter plugin
|
|
|
|
COMMENT-clamav= clamav plugin
|
|
|
|
COMMENT-spamassassin= spamassassin plugin
|
2007-03-23 13:38:22 -04:00
|
|
|
|
2009-02-10 15:52:39 -05:00
|
|
|
V= 3.7.0
|
2007-04-11 16:48:43 -04:00
|
|
|
DISTNAME= claws-mail-${V}
|
2009-02-10 15:52:39 -05:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
2007-07-10 02:14:43 -04:00
|
|
|
FULLPKGNAME-docs= claws-mail-docs-${V}
|
2008-07-02 05:28:09 -04:00
|
|
|
FULLPKGNAME-bogofilter= claws-mail-bogofilter-${V}
|
|
|
|
FULLPKGNAME-spamassassin= claws-mail-spamassassin-${V}
|
2007-03-23 13:38:22 -04:00
|
|
|
CATEGORIES= mail news
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.claws-mail.org/
|
|
|
|
|
|
|
|
MAINTAINER= Ulrich Kahl <ulrich.kahl@cityweb.de>
|
|
|
|
|
2008-10-17 08:46:33 -04:00
|
|
|
# GPLv3+
|
2007-03-23 13:38:22 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sylpheed-claws/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
DIST_SUBDIR= claws
|
|
|
|
|
2008-10-20 08:22:42 -04:00
|
|
|
MULTI_PACKAGES= -main -docs -bogofilter -spamassassin
|
2008-01-08 18:13:23 -05:00
|
|
|
FLAVORS= jpilot compface ldap debug
|
2007-03-23 13:38:22 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2007-04-20 01:42:51 -04:00
|
|
|
FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
|
|
|
|
SUBST_VARS= FLAVOR_STRING
|
|
|
|
|
2007-03-23 13:38:22 -04:00
|
|
|
RUN_DEPENDS-bogofilter= ::${BUILD_PKGPATH} \
|
2007-04-11 16:48:43 -04:00
|
|
|
::mail/bogofilter
|
|
|
|
RUN_DEPENDS-spamassassin=::${BUILD_PKGPATH} \
|
|
|
|
::mail/p5-Mail-SpamAssassin
|
2007-03-23 13:38:22 -04:00
|
|
|
|
2008-01-08 18:13:23 -05:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
2008-04-23 17:11:29 -04:00
|
|
|
Xi Xinerama Xrandr Xrender atk-1.0 cairo crypto curl \
|
2009-02-10 15:52:39 -05:00
|
|
|
expat fontconfig freetype gio-2.0 glib-2.0 glitz \
|
|
|
|
gmodule-2.0 gobject-2.0 idn m pango-1.0 pangocairo-1.0 \
|
|
|
|
pangoft2-1.0 pcre pixman-1 png ssl tasn1 z
|
2007-03-23 13:38:22 -04:00
|
|
|
|
2008-04-23 17:11:29 -04:00
|
|
|
WANTLIB-main= ${WANTLIB} ICE SM c dbus-1 gthread-2.0 gpg-error \
|
2008-10-17 08:46:33 -04:00
|
|
|
gcrypt pthread stdc++
|
2007-03-23 13:38:22 -04:00
|
|
|
|
2009-02-10 15:52:39 -05:00
|
|
|
WANTLIB-docs=
|
|
|
|
|
|
|
|
WANTLIB-bogofilter= ${WANTLIB} gcrypt gnutls gpg-error
|
|
|
|
|
|
|
|
WANTLIB-spamassassin= ${WANTLIB} gcrypt gnutls gpg-error
|
2008-02-13 08:17:26 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
2008-10-17 08:46:33 -04:00
|
|
|
etpan.>=13::mail/libetpan \
|
2007-03-23 13:38:22 -04:00
|
|
|
sasl2::security/cyrus-sasl2
|
|
|
|
|
2007-12-18 10:56:16 -05:00
|
|
|
RUN_DEPENDS-main= ${RUN_DEPENDS} \
|
|
|
|
:desktop-file-utils-*:devel/desktop-file-utils
|
2008-01-25 09:20:31 -05:00
|
|
|
|
2007-03-23 13:38:22 -04:00
|
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
2007-04-11 16:48:43 -04:00
|
|
|
startup-notification-1::devel/startup-notification \
|
2008-10-17 08:46:33 -04:00
|
|
|
enchant::textproc/enchant \
|
|
|
|
gnutls::security/gnutls \
|
2007-04-11 16:48:43 -04:00
|
|
|
gpgme::security/gpgme \
|
2008-02-13 08:17:26 -05:00
|
|
|
dbus-glib-1::x11/dbus-glib
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-gnomeprint \
|
2008-10-20 08:22:42 -04:00
|
|
|
--disable-networkmanager-support \
|
|
|
|
--disable-dillo-viewer-plugin
|
2007-04-11 16:48:43 -04:00
|
|
|
|
2007-03-23 13:38:22 -04:00
|
|
|
LIB_DEPENDS-docs=
|
2007-04-11 16:48:43 -04:00
|
|
|
PKG_ARCH-docs= *
|
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2007-03-23 13:38:22 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2007-04-11 16:48:43 -04:00
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
2007-07-10 02:14:43 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.61
|
2009-02-10 15:52:39 -05:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include" \
|
2007-03-23 13:38:22 -04:00
|
|
|
LDFLAGS="-L${X11BASE}/lib"
|
2008-04-05 07:43:22 -04:00
|
|
|
|
2007-03-23 13:38:22 -04:00
|
|
|
.if ${FLAVOR:L:Mjpilot}
|
|
|
|
LIB_DEPENDS-main+= pisock::comms/pilot-link
|
|
|
|
RUN_DEPENDS-main+= ::comms/jpilot
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-jpilot
|
|
|
|
.endif
|
|
|
|
|
2007-04-11 16:48:43 -04:00
|
|
|
.if ${FLAVOR:L:Mcompface}
|
2007-09-15 20:17:04 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No Fee
|
|
|
|
PERMIT_DISTFILES_CDROM= No Fee
|
2007-04-11 16:48:43 -04:00
|
|
|
LIB_DEPENDS-main+= compface.>=1::mail/faces
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-compface
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mldap}
|
|
|
|
WANTLIB-main+= asn1 com_err gssapi krb5
|
|
|
|
LIB_DEPENDS-main+= lber,ldap:openldap-client-*:databases/openldap
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ldap
|
|
|
|
.endif
|
|
|
|
|
2007-07-10 02:14:43 -04:00
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
CFLAGS+= -O0 -g
|
|
|
|
INSTALL_STRIP=
|
|
|
|
.endif
|
|
|
|
|
2007-04-11 16:48:43 -04:00
|
|
|
TOOLS= OOo2claws-mail.pl \
|
|
|
|
acroread2claws-mail.pl \
|
|
|
|
calypso_convert.pl \
|
2008-01-08 18:13:23 -05:00
|
|
|
claws-mail-compose-insert-files.pl \
|
2007-04-11 16:48:43 -04:00
|
|
|
convert_mbox.pl \
|
2008-01-08 18:13:23 -05:00
|
|
|
csv2addressbook.pl \
|
2007-04-11 16:48:43 -04:00
|
|
|
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 \
|
2008-01-08 18:13:23 -05:00
|
|
|
kmail2claws-mail.pl kmail2claws-mail_v2.pl \
|
|
|
|
mairix.sh \
|
|
|
|
mew2claws-mail.pl \
|
|
|
|
multiwebsearch.conf multiwebsearch.pl \
|
2007-04-11 16:48:43 -04:00
|
|
|
nautilus2claws-mail.sh \
|
|
|
|
outlook2claws-mail.pl \
|
2008-01-08 18:13:23 -05:00
|
|
|
popfile-link.sh \
|
2007-04-11 16:48:43 -04:00
|
|
|
tb2claws-mail tbird2claws.py \
|
|
|
|
textviewer.pl textviewer.sh \
|
|
|
|
thunderbird-filters-convertor.pl \
|
|
|
|
uudec uuooffice \
|
|
|
|
vcard2xml.py \
|
2008-01-08 18:13:23 -05:00
|
|
|
README \
|
2009-02-10 15:52:39 -05:00
|
|
|
kdeservicemenu/claws-mail-attach-files.desktop.kde4template \
|
2008-01-08 18:13:23 -05:00
|
|
|
kdeservicemenu/claws-mail-attach-files.desktop.template \
|
|
|
|
kdeservicemenu/claws-mail-kdeservicemenu.pl \
|
2009-02-10 15:52:39 -05:00
|
|
|
kdeservicemenu/install.sh \
|
2007-04-11 16:48:43 -04:00
|
|
|
kdeservicemenu/README
|
2007-03-23 13:38:22 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/48x48/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/claws-mail.png ${PREFIX}/share/icons/hicolor/48x48/apps/claws-mail.png
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/64x64/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/claws-mail-64x64.png ${PREFIX}/share/icons/hicolor/64x64/apps/claws-mail.png
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/128x128/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/claws-mail-128x128.png ${PREFIX}/share/icons/hicolor/128x128/apps/claws-mail.png
|
2007-04-11 16:48:43 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/claws-mail/tools/kdeservicemenu
|
|
|
|
.for i in ${TOOLS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/${i} \
|
|
|
|
${PREFIX}/share/claws-mail/tools/${i}
|
|
|
|
.endfor
|
2008-01-08 18:13:23 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/claws-mail
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/claws-mail
|
|
|
|
|
2007-03-23 13:38:22 -04:00
|
|
|
.include <bsd.port.mk>
|