diff options
author | cube <cube@pkgsrc.org> | 2004-01-01 21:39:02 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-01-01 21:39:02 +0000 |
commit | 6e186c4f5d64577fb58be8856d75c838e84bbec9 (patch) | |
tree | a2b83a875c68f004f3896452183f903953ab63de /mail | |
parent | 8146102c725e09041564ba1d2d75b699095e6004 (diff) | |
download | pkgsrc-6e186c4f5d64577fb58be8856d75c838e84bbec9.tar.gz |
Organise the Makefile and add a framework to allow building the plugins
found in sylpheed-claws distribution. Note that this is _only_ meant for
included plugins. The image-viewer and dillo-viewer packages are in the
pipe.
From the sylpheed-claws package point of view, this is just a reordering
of the Makefile. It breaks pkglint'ing, but it's not like there really is
a choice.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sylpheed-claws/Makefile | 23 | ||||
-rw-r--r-- | mail/sylpheed-claws/Makefile.common | 24 | ||||
-rw-r--r-- | mail/sylpheed-claws/PLIST.plugins | 5 | ||||
-rw-r--r-- | mail/sylpheed-claws/plugins.mk | 29 |
4 files changed, 63 insertions, 18 deletions
diff --git a/mail/sylpheed-claws/Makefile b/mail/sylpheed-claws/Makefile index 16bc58a354e..28de7eedd44 100644 --- a/mail/sylpheed-claws/Makefile +++ b/mail/sylpheed-claws/Makefile @@ -1,34 +1,21 @@ -# $NetBSD: Makefile,v 1.25 2003/12/14 17:56:39 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2004/01/01 21:39:02 cube Exp $ # -DISTNAME= sylpheed-0.9.7claws -PKGNAME= sylpheed-claws-0.9.7 +.include "Makefile.common" + +PKGNAME= sylpheed-claws-${SYLPHEED_VERSION} PKGREVISION= 1 -CATEGORIES= mail news x11 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sylpheed-claws/} -EXTRACT_SUFX= .tar.bz2 MAINTAINER= chris@NetBSD.org -HOMEPAGE= http://sylpheed-claws.sourceforge.net/ COMMENT= X based e-mail and netnews client -BUILD_USES_MSGFMT= YES - CONFLICTS= sylpheed-[0-9]* sylpheed-gtk2-[0-9]* -USE_BUILDLINK2= YES +BUILD_USES_MSGFMT= YES USE_PKGINSTALL= YES -USE_PKGLOCALEDIR= YES -USE_X11= YES -USE_GMAKE= YES - -USE_LIBTOOL= YES LIBTOOL_OVERRIDE= ${WRKSRC}/libtool PKGCONFIG_OVERRIDE+= ${WRKSRC}/sylpheed-claws.pc.in -GNU_CONFIGURE= YES -# Force gnome detection off to avoid installing some extra files -CONFIGURE_ENV+= ac_cv_path_GNOME_CONFIG="no" CONFIGURE_ARGS+= --enable-aspell CONFIGURE_ARGS+= --enable-nls CONFIGURE_ARGS+= --enable-openssl diff --git a/mail/sylpheed-claws/Makefile.common b/mail/sylpheed-claws/Makefile.common new file mode 100644 index 00000000000..569d6e977a2 --- /dev/null +++ b/mail/sylpheed-claws/Makefile.common @@ -0,0 +1,24 @@ +# $NetBSD: Makefile.common,v 1.1 2004/01/01 21:39:02 cube Exp $ +# + +DISTNAME= sylpheed-${SYLPHEED_VERSION}claws +CATEGORIES= mail news x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sylpheed-claws/} +EXTRACT_SUFX= .tar.bz2 + +HOMEPAGE= http://sylpheed-claws.sourceforge.net/ + +DISTINFO_FILE= ${.CURDIR}/../../mail/sylpheed-claws/distinfo +PATCHDIR= ${.CURDIR}/../../mail/sylpheed-claws/patches + +USE_BUILDLINK2= YES +USE_GMAKE= YES +USE_LIBTOOL= YES +USE_PKGLOCALEDIR= YES +USE_X11= YES + +GNU_CONFIGURE= YES +# Force gnome detection off to avoid installing some extra files +CONFIGURE_ENV+= ac_cv_path_GNOME_CONFIG="no" + +SYLPHEED_VERSION= 0.9.7 diff --git a/mail/sylpheed-claws/PLIST.plugins b/mail/sylpheed-claws/PLIST.plugins new file mode 100644 index 00000000000..bf1d7cebf29 --- /dev/null +++ b/mail/sylpheed-claws/PLIST.plugins @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST.plugins,v 1.1 2004/01/01 21:39:02 cube Exp $ +lib/sylpheed/plugins/${PLUGIN_NAME}.a +lib/sylpheed/plugins/${PLUGIN_NAME}.la +lib/sylpheed/plugins/${PLUGIN_NAME}.so +@unexec ${RMDIR} %D/lib/sylpheed/plugins 2>/dev/null || ${TRUE} diff --git a/mail/sylpheed-claws/plugins.mk b/mail/sylpheed-claws/plugins.mk new file mode 100644 index 00000000000..0fe13140ab5 --- /dev/null +++ b/mail/sylpheed-claws/plugins.mk @@ -0,0 +1,29 @@ +# $NetBSD: plugins.mk,v 1.1 2004/01/01 21:39:02 cube Exp $ +# + +.include "../../mail/sylpheed-claws/Makefile.common" + +PKGNAME= sylpheed-claws-${PLUGIN_NAME:S/_/-/}-${SYLPHEED_VERSION} + +WRKSRC= ${WRKDIR}/${DISTNAME}/src/plugins/${PLUGIN_NAME} +CONFIGURE_DIRS= ${WRKDIR}/${DISTNAME} + +DEPENDS+= sylpheed-claws>=${SYLPHEED_VERSION}:../../mail/sylpheed-claws + +LIBTOOL_OVERRIDE= ${WRKDIR}/${DISTNAME}/libtool + +CONFIGURE_ARGS+= --disable-aspell +CONFIGURE_ARGS+= --disable-nls +CONFIGURE_ARGS+= --disable-openssl +CONFIGURE_ARGS+= --disable-gpgme +CONFIGURE_ARGS+= --disable-compface +CONFIGURE_ARGS+= --disable-ipv6 +CONFIGURE_ARGS+= --disable-trayicon-plugin +CONFIGURE_ARGS+= --disable-image-viewer-plugin +CONFIGURE_ARGS+= --disable-clamav-plugin +CONFIGURE_ARGS+= --disable-dillo-viewer-plugin +CONFIGURE_ARGS+= --disable-spamassassin-plugin +CONFIGURE_ARGS+= --disable-mathml-viewer-plugin + +PLIST_SRC= ${.CURDIR}/../../mail/sylpheed-claws/PLIST.plugins +PLIST_SUBST+= PLUGIN_NAME=${PLUGIN_NAME} |