svn commit: r381144 - head/security/p5-Module-Signature

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Mar 12 18:48:16 UTC 2015


Author: sunpoet
Date: Thu Mar 12 18:48:14 2015
New Revision: 381144
URL: https://svnweb.freebsd.org/changeset/ports/381144
QAT: https://qat.redports.org/buildarchive/r381144/

Log:
  - Convert to new options helper
  - Sort PLIST

Modified:
  head/security/p5-Module-Signature/Makefile
  head/security/p5-Module-Signature/pkg-plist

Modified: head/security/p5-Module-Signature/Makefile
==============================================================================
--- head/security/p5-Module-Signature/Makefile	Thu Mar 12 18:41:12 2015	(r381143)
+++ head/security/p5-Module-Signature/Makefile	Thu Mar 12 18:48:14 2015	(r381144)
@@ -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>

Modified: head/security/p5-Module-Signature/pkg-plist
==============================================================================
--- head/security/p5-Module-Signature/pkg-plist	Thu Mar 12 18:41:12 2015	(r381143)
+++ head/security/p5-Module-Signature/pkg-plist	Thu Mar 12 18:48:14 2015	(r381144)
@@ -1,4 +1,4 @@
 bin/cpansign
-%%PERL5_MAN3%%/Module::Signature.3.gz
 %%SITE_PERL%%/Module/Signature.pm
+%%PERL5_MAN3%%/Module::Signature.3.gz
 man/man1/cpansign.1.gz


More information about the svn-ports-head mailing list