aboutsummaryrefslogtreecommitdiff
path: root/security/gpgme03/Makefile
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-05-18 23:28:15 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-05-18 23:28:15 +0000
commite95d4512c9c7042589a591226a5237ef52f2c5a9 (patch)
tree2093db3d6e36d7a7e935fb5a9dfe99a3710ba26c /security/gpgme03/Makefile
parentc837d015e2da3a1d05943419e27d37377af08dc6 (diff)
downloadports-e95d4512c9c7042589a591226a5237ef52f2c5a9.tar.gz
ports-e95d4512c9c7042589a591226a5237ef52f2c5a9.zip
Notes
Diffstat (limited to 'security/gpgme03/Makefile')
-rw-r--r--security/gpgme03/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/security/gpgme03/Makefile b/security/gpgme03/Makefile
index 28d5f4c6021b..1e73b84d0a9d 100644
--- a/security/gpgme03/Makefile
+++ b/security/gpgme03/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gpgme
-PORTVERSION= 0.3.14
+PORTVERSION= 0.3.15
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gpgme
@@ -23,7 +23,19 @@ CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
USE_GMAKE= yes
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/gpgsm)
+WITH_GPGSM= yes
+.endif
+
+.if defined(WITH_GPGSM)
+BUILD_DEPENDS+= gpgsm:${PORTSDIR}/security/newpg
+.else
+CONFIGURE_ARGS+= --without-gpgsm
+.endif
+
pre-configure:
@${RM} -r ${WRKSRC}/doc/gpgme.info*
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>