aboutsummaryrefslogtreecommitdiffstats
path: root/security/gpgme/Makefile
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-05-19 07:28:15 +0800
committerarved <arved@FreeBSD.org>2003-05-19 07:28:15 +0800
commita40bc2f10dede82e8de47e3bd6f231b2985192b8 (patch)
tree365efc337015dd30d9efb45a017c52fd8eecc2c9 /security/gpgme/Makefile
parentedc844b90f508bddb5047cff6c0f755069be4d17 (diff)
downloadfreebsd-ports-gnome-a40bc2f10dede82e8de47e3bd6f231b2985192b8.tar.gz
freebsd-ports-gnome-a40bc2f10dede82e8de47e3bd6f231b2985192b8.tar.zst
freebsd-ports-gnome-a40bc2f10dede82e8de47e3bd6f231b2985192b8.zip
Update to 0.3.15.
Conditional depend on newpg PR: 51574 Submitted by: TERAMOTO Masahiro <markun@onohara.to> Michael Nottebrock <michaelnottebrock@gmx.net>
Diffstat (limited to 'security/gpgme/Makefile')
-rw-r--r--security/gpgme/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index 28d5f4c6021b..1e73b84d0a9d 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/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>