- Remove perl 5.10- support (also fixes 'Use of SITE_PERL in dependencies' item from https://wiki.freebsd.org/PortsLongtermTargets) - Convert to OptionsNG - Use PORTEXAMPLES - Convert Makefile headers to new style Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->ashish Over to maintainer (via the GNATS Auto Assign Tool)
Hi Alex, Thanks for the diff. I didn't get time to look at the diff last weekend, but I'll get to it by this coming weekend. -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 Sent from my Emacs
Author: ashish Date: Sat Mar 9 21:22:52 2013 New Revision: 313756 URL: http://svnweb.freebsd.org/changeset/ports/313756 Log: - Remove support for Perl < 5.12 - Convert to OptionsNG - Use PORTEXAMPLES - Convert Makefile headers to new style PR: ports/176267 Submitted by: Alex Kozlov <spam at rm-rf.kiev.ua> Modified: head/security/p5-Digest-SHA-PurePerl/Makefile head/security/p5-Digest-SHA-PurePerl/pkg-plist Modified: head/security/p5-Digest-SHA-PurePerl/Makefile ============================================================================== --- head/security/p5-Digest-SHA-PurePerl/Makefile Sat Mar 9 21:02:26 2013 (r313755) +++ head/security/p5-Digest-SHA-PurePerl/Makefile Sat Mar 9 21:22:52 2013 (r313756) @@ -1,6 +1,4 @@ -# Ports collection Makefile for: p5-Digest-SHA-PurePerl -# Date created: 21 Dec, 2005 -# Whom: Gabor Kovesdan +# Created by: Gabor Kovesdan <gabor@FreeBSD.org> # $FreeBSD$ PORTNAME= Digest-SHA-PurePerl @@ -14,30 +12,19 @@ COMMENT= Perl extension for SHA-1/224/25 PERL_CONFIGURE= yes -MAN3= Digest::SHA::PurePerl.3 +PORTEXAMPLES= dups +MAN3= Digest::SHA::PurePerl.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500803 -RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest -.endif - -.if ${PERL_LEVEL} >= 501000 -PLIST_SUB+= EXE_FILES="@comment " -.else -PLIST_SUB+= EXE_FILES="" -MAN1= shasum.1 -.endif +.include <bsd.port.options.mk> post-patch: -.if ${PERL_LEVEL} >= 501000 @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL -.endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/dups ${EXAMPLESDIR} + @${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR} + .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/security/p5-Digest-SHA-PurePerl/pkg-plist ============================================================================== --- head/security/p5-Digest-SHA-PurePerl/pkg-plist Sat Mar 9 21:02:26 2013 (r313755) +++ head/security/p5-Digest-SHA-PurePerl/pkg-plist Sat Mar 9 21:22:52 2013 (r313756) @@ -1,4 +1,3 @@ -%%EXE_FILES%%bin/shasum %%SITE_PERL%%/Digest/SHA/PurePerl.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/PurePerl/.packlist @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/SHA/PurePerl/ @@ -6,5 +5,3 @@ @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/ @dirrmtry %%SITE_PERL%%/Digest/SHA/ @dirrmtry %%SITE_PERL%%/Digest/ -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dups -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!