pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sylpheed-claws Organise the Makefile and add a fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3681b4dfa84
branches:  trunk
changeset: 465558:e3681b4dfa84
user:      cube <cube%pkgsrc.org@localhost>
date:      Thu Jan 01 21:39:02 2004 +0000

description:
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:

 mail/sylpheed-claws/Makefile        |  23 +++++------------------
 mail/sylpheed-claws/Makefile.common |  24 ++++++++++++++++++++++++
 mail/sylpheed-claws/PLIST.plugins   |   5 +++++
 mail/sylpheed-claws/plugins.mk      |  29 +++++++++++++++++++++++++++++
 4 files changed, 63 insertions(+), 18 deletions(-)

diffs (113 lines):

diff -r da8887fcece4 -r e3681b4dfa84 mail/sylpheed-claws/Makefile
--- a/mail/sylpheed-claws/Makefile      Thu Jan 01 21:29:09 2004 +0000
+++ b/mail/sylpheed-claws/Makefile      Thu Jan 01 21:39:02 2004 +0000
@@ -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@localhost
-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 -r da8887fcece4 -r e3681b4dfa84 mail/sylpheed-claws/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sylpheed-claws/Makefile.common       Thu Jan 01 21:39:02 2004 +0000
@@ -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 -r da8887fcece4 -r e3681b4dfa84 mail/sylpheed-claws/PLIST.plugins
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sylpheed-claws/PLIST.plugins Thu Jan 01 21:39:02 2004 +0000
@@ -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 -r da8887fcece4 -r e3681b4dfa84 mail/sylpheed-claws/plugins.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sylpheed-claws/plugins.mk    Thu Jan 01 21:39:02 2004 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index