summaryrefslogtreecommitdiff
path: root/mail/sylpheed-claws
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-24 21:58:43 +0000
committerjlam <jlam@pkgsrc.org>2002-09-24 21:58:43 +0000
commitd4bc5b1b4c593392366b588a037fe24af13ddd63 (patch)
tree1550fe49f8164b3e9c0709a0236c50747a3432ca /mail/sylpheed-claws
parent4a7c8310c5ad73f7407af63e1a1c3b44ffd54216 (diff)
downloadpkgsrc-d4bc5b1b4c593392366b588a037fe24af13ddd63.tar.gz
buildlink1 -> buildlink2, and use faces instead of compface if it's
installed.
Diffstat (limited to 'mail/sylpheed-claws')
-rw-r--r--mail/sylpheed-claws/Makefile33
1 files changed, 21 insertions, 12 deletions
diff --git a/mail/sylpheed-claws/Makefile b/mail/sylpheed-claws/Makefile
index 9ae6ba2fa3f..c721e06a32a 100644
--- a/mail/sylpheed-claws/Makefile
+++ b/mail/sylpheed-claws/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/08/22 05:13:37 grant Exp $
+# $NetBSD: Makefile,v 1.6 2002/09/24 21:58:44 jlam Exp $
DISTNAME= sylpheed-0.8.1claws
PKGNAME= sylpheed-claws-0.8.1
@@ -10,20 +10,24 @@ MAINTAINER= ptiJo@noos.fr
HOMEPAGE= http://sylpheed-claws.sourceforge.net/
COMMENT= X based e-mail and netnews client
-CONFLICTS= sylpheed-*
+CONFLICTS= sylpheed-[0-9]*
BUILD_USES_MSGFMT= yes
-USE_BUILDLINK_ONLY= yes
-USE_GMAKE= yes
+USE_BUILDLINK2= yes
USE_X11BASE= yes
+USE_GMAKE= yes
+
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-gpgme
CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --enable-ssl
+CONFIGURE_ARGS+= --enable-gpgme
CONFIGURE_ARGS+= --enable-compface
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+BUILDLINK_DEPENDS.gpgme= gpgme>=0.3.5
+BUILDLINK_DEPENDS.compface= {compface>=1.4,faces>=1.6.1nb1}
+
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
@@ -31,13 +35,18 @@ BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --enable-ipv6
.endif
-SUPPORT_FILES= ${FILESDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
+SUPPORT_FILES= ${FILESDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
+
+FACES_IS_INSTALLED!= ${PKG_INFO} -e faces || ${ECHO}
+.if empty(FACES_IS_INSTALLED)
+. include "../../graphics/compface/buildlink2.mk"
+.else
+. include "../../mail/faces/buildlink2.mk"
+.endif
+.include "../../graphics/imlib/buildlink2.mk"
+.include "../../security/gpgme/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
-.include "../../graphics/compface/buildlink.mk"
-.include "../../graphics/imlib/buildlink.mk"
-.include "../../security/gpgme/buildlink.mk"
-.include "../../security/openssl/buildlink.mk"
-.include "../../x11/gtk/buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"