From e95d4512c9c7042589a591226a5237ef52f2c5a9 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sun, 18 May 2003 23:28:15 +0000 Subject: Update to 0.3.15. Conditional depend on newpg PR: 51574 Submitted by: TERAMOTO Masahiro Michael Nottebrock --- security/gpgme03/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'security/gpgme03/Makefile') 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 + +.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 +.include -- cgit v1.2.3