Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2015 18:48:15 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381144 - head/security/p5-Module-Signature
Message-ID:  <201503121848.t2CImFcK056498@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503121848.t2CImFcK056498>