From owner-svn-ports-all@FreeBSD.ORG Fri May 2 09:42:25 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 718E254D; Fri, 2 May 2014 09:42:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53951118B; Fri, 2 May 2014 09:42:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s429gPDm061394; Fri, 2 May 2014 09:42:25 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s429gPlm061393; Fri, 2 May 2014 09:42:25 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201405020942.s429gPlm061393@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 2 May 2014 09:42:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352798 - head/security/p5-PGP-Sign X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 09:42:25 -0000 Author: sunpoet Date: Fri May 2 09:42:24 2014 New Revision: 352798 URL: http://svnweb.freebsd.org/changeset/ports/352798 QAT: https://qat.redports.org/buildarchive/r352798/ Log: - Add LICENSE - Convert to new options framework - Removed obsolete dependency - Pass maintainership to submitter - Bump PORTREVISION - While I'm here: - Use LOCALBASE instead of PREFIX - Simplify Makefile PR: ports/189191 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> Modified: head/security/p5-PGP-Sign/Makefile Modified: head/security/p5-PGP-Sign/Makefile ============================================================================== --- head/security/p5-PGP-Sign/Makefile Fri May 2 09:42:20 2014 (r352797) +++ head/security/p5-PGP-Sign/Makefile Fri May 2 09:42:24 2014 (r352798) @@ -3,65 +3,34 @@ PORTNAME= PGP-Sign PORTVERSION= 0.20 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= 5u623l20@gmail.com COMMENT= Create detached PGP signatures for data +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + USES= perl5 USE_PERL5= configure -CONFIGURE_ARGS= PGPS=${PGPS} PGPV=${PGPV} PGPSTYLE=${PGPSTYLE} +CONFIGURE_ARGS= PGP=${PGP} PGPSTYLE=${PGPSTYLE} -# If DEFAULTPGP isn't defined, it gets set to PGP2. If you don't like -# the values that this process assigns to PGP (or PGPV and PGPS) and -# PGPSTYLE, they can be predefined. -# # Currently useful values for DEFAULTPGP are: # PGP2 - PGP 2.6.* or a reasonable facsimile thereof -# PGP5 - PGP 5 or a work-alike # GPG - Gnu Privacy Guard -.ifndef DEFAULTPGP -DEFAULTPGP= GPG -.endif - -.if (${DEFAULTPGP} == PGP2 ) -BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp -RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp -PGPSTYLE?= PGP2 -.ifndef PGP -PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp -.endif -.elif (${DEFAULTPGP} == PGP5 ) -BUILD_DEPENDS= pgps:${PORTSDIR}/security/pgp5 -RUN_DEPENDS= pgps:${PORTSDIR}/security/pgp5 -PGPSTYLE?= PGP5 -.ifndef PGPS -PGPS!= which pgps || ${ECHO} ${PREFIX}/bin/pgps -.endif -.ifndef PGPV -PGPV!= which pgpv || ${ECHO} ${PREFIX}/bin/pgpv -.endif -.ifndef PGP -PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp -.endif -.elif (${DEFAULTPGP} == GPG) -BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg -RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg -PGPSTYLE?= GPG -.ifndef PGP -PGP!= which gpg || ${ECHO} ${PREFIX}/bin/gpg -.endif -.else -.error Unsupported DEFAULTPGP value. See the Makefile for a list of acceptable values. -.endif - -.ifdef PGP -PGPS?= ${PGP} -PGPV?= ${PGP} -.endif +OPTIONS_SINGLE= DEFAULTPGP +OPTIONS_SINGLE_DEFAULTPGP= GNUPG PGP2 +OPTIONS_DEFAULT= GNUPG +PGP2_DESC= PGP2 support +GNUPG_BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg +GNUPG_CONFIGURE_ON= PGP=${LOCALBASE}/bin/gpg PGPSTYLE=GPG +GNUPG_RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg +PGP2_BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp +PGP2_CONFIGURE_ON= PGP=${LOCALBASE}/bin/pgp PGPSTYLE=PGP2 +PGP2_RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp .include