aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Module-Signature/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-12 18:48:14 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-12 18:48:14 +0000
commit1bf15969a00a48106380191b74fa190f67e114a3 (patch)
treec0ea1896f5af8e6690121f6bf5ea5f7ca715b2d1 /security/p5-Module-Signature/Makefile
parent537a2e7620e141aa8846593b446646a330eea229 (diff)
Notes
Diffstat (limited to 'security/p5-Module-Signature/Makefile')
-rw-r--r--security/p5-Module-Signature/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/security/p5-Module-Signature/Makefile b/security/p5-Module-Signature/Makefile
index 5c6863e88196..d911af7bebed 100644
--- a/security/p5-Module-Signature/Makefile
+++ b/security/p5-Module-Signature/Makefile
@@ -25,16 +25,9 @@ OPTIONS_MULTI_GPG= GPG1 GPG2
GPG1_DESC= Use GnuPG version 1
GPG2_DESC= Use GnuPG version 2
-.include <bsd.port.pre.mk>
+GPG1_BUILD_DEPENDS= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
+GPG1_RUN_DEPENDS= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
+GPG2_BUILD_DEPENDS= ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
+GPG2_RUN_DEPENDS= ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
-.if ${PORT_OPTIONS:MGPG1}
-BUILD_DEPENDS+= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
-RUN_DEPENDS+= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
-.endif
-
-.if ${PORT_OPTIONS:MGPG2}
-BUILD_DEPENDS+= ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
-RUN_DEPENDS+= ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>