summaryrefslogtreecommitdiff
path: root/security/gpgme
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-11-03 15:35:08 +0000
committerjmmv <jmmv@pkgsrc.org>2004-11-03 15:35:08 +0000
commit765f21ec35d32cd304be4f8e55f9933cadeec691 (patch)
treebfdbea449522b81a9939230a1d90441f04ef86da /security/gpgme
parent99c09b537be5864c0f16c1ea5954b75d756e5eb3 (diff)
downloadpkgsrc-765f21ec35d32cd304be4f8e55f9933cadeec691.tar.gz
Depend on gnupg when gnupg-devel is not used. While here, move inclusion
of bsd.pkg.mk to the end of the file, so that all the code in the Makefile takes effect. Bump PKGREVISION to 1 because of the new dependency.
Diffstat (limited to 'security/gpgme')
-rw-r--r--security/gpgme/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index aa545a184e1..c5b92c6b04c 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2004/11/02 19:51:58 gavan Exp $
+# $NetBSD: Makefile,v 1.26 2004/11/03 15:35:08 jmmv Exp $
#
DISTNAME= gpgme-1.0.1
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/ \
ftp://ftp.gnupg.org/gcrypt/alpha/gpgme/
@@ -10,8 +11,6 @@ MAINTAINER= oishi@ims.ac.jp
HOMEPAGE= http://www.gnupg.org/gpgme.html
COMMENT= GnuPG Made Easy
-#DEPENDS+= gnupg>=1.2.2:../../security/gnupg
-
USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
@@ -44,7 +43,6 @@ INFO_FILES= gpgme.info
.if ${OPSYS} != "SunOS"
.include "../../devel/librfuncs/buildlink3.mk"
.endif
-.include "../../mk/bsd.pkg.mk"
##
## Option to build with gpgsm. This provides SMIME support
@@ -53,4 +51,8 @@ INFO_FILES= gpgme.info
.include "../../security/gnupg-devel/buildlink3.mk"
CONFIGURE_ARGS+= --with-gpgsm=${BUILDLINK_PREFIX.gnupg-devel}/bin/gpgsm
CONFIGURE_ARGS+= --with-gpg=${BUILDLINK_PREFIX.gnupg-devel}/bin/gpg2
+.else
+DEPENDS+= gnupg>=1.2.2:../../security/gnupg
.endif
+
+.include "../../mk/bsd.pkg.mk"