diff options
-rw-r--r-- | security/gpgme/Makefile | 16 | ||||
-rw-r--r-- | security/gpgme/distinfo | 2 | ||||
-rw-r--r-- | security/gpgme03/Makefile | 16 | ||||
-rw-r--r-- | security/gpgme03/distinfo | 2 |
4 files changed, 30 insertions, 6 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> diff --git a/security/gpgme/distinfo b/security/gpgme/distinfo index bf9487c51aa9..e4a87099a0ee 100644 --- a/security/gpgme/distinfo +++ b/security/gpgme/distinfo @@ -1 +1 @@ -MD5 (gpgme-0.3.14.tar.gz) = b5351e212aa10336e5d88ebf4babccf7 +MD5 (gpgme-0.3.15.tar.gz) = 1acbe4b49e60d4b882a43328bc840d42 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> diff --git a/security/gpgme03/distinfo b/security/gpgme03/distinfo index bf9487c51aa9..e4a87099a0ee 100644 --- a/security/gpgme03/distinfo +++ b/security/gpgme03/distinfo @@ -1 +1 @@ -MD5 (gpgme-0.3.14.tar.gz) = b5351e212aa10336e5d88ebf4babccf7 +MD5 (gpgme-0.3.15.tar.gz) = 1acbe4b49e60d4b882a43328bc840d42 |