diff options
author | Lars Thegler <lth@FreeBSD.org> | 2008-04-10 12:50:59 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2008-04-10 12:50:59 +0000 |
commit | 075647712a86387d1ebdde139dd4872394929a20 (patch) | |
tree | 0faaca33461a97ee88ad94e7e1ff783975d98d59 /devel | |
parent | fb3b71be54f6ca6790cd1bb09c1803e203bcce6d (diff) | |
download | ports-075647712a86387d1ebdde139dd4872394929a20.tar.gz ports-075647712a86387d1ebdde139dd4872394929a20.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Perl-Version/Makefile | 46 | ||||
-rw-r--r-- | devel/p5-Perl-Version/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Perl-Version/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-Perl-Version/pkg-plist | 6 |
5 files changed, 60 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 3a7ec23b3e7c..272ffe36af81 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1504,6 +1504,7 @@ SUBDIR += p5-PathTools SUBDIR += p5-Penguin SUBDIR += p5-Penguin-Easy + SUBDIR += p5-Perl-Version SUBDIR += p5-Perl6-Builtins SUBDIR += p5-Perl6-Export SUBDIR += p5-Perl6-Export-Attrs diff --git a/devel/p5-Perl-Version/Makefile b/devel/p5-Perl-Version/Makefile new file mode 100644 index 000000000000..21f973484893 --- /dev/null +++ b/devel/p5-Perl-Version/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: devel/p5-Perl-Version +# Date created: 10 April 2008 +# Whom: Lars Thegler <lth@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Perl-Version +PORTVERSION= 1.007 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= lth@FreeBSD.org +COMMENT= Parse and manipulate Perl version strings + +BUILD_DEPENDS= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils +RUN_DEPENDS= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils + +PERL_CONFIGURE= yes + +OPTIONS= PERLREVERSION "Install perl-reversion script" on + +.include <bsd.port.pre.mk> + +.ifdef(WITH_PERLREVERSION) +.if ${PERL_LEVEL} < 5.008007 +BUILD_DEPENDS+= p5-Pod-Parser>=1.3:${PORTSDIR}/textproc/p5-Pod-Parser +RUN_DEPENDS+= p5-Pod-Parser>=1.3:${PORTSDIR}/textproc/p5-Pod-Parser +.endif +BUILD_DEPENDS+= p5-File-Slurp>=9999.12:${PORTSDIR}/devel/p5-File-Slurp +RUND_DEPENDS+= p5-File-Slurp>=9999.12:${PORTSDIR}/devel/p5-File-Slurp +MAN1= perl-reversion.1 +PROMPT= Y +PLIST_SUB= PERLREVERSION= +.else +PROMPT= N +PLIST_SUB= PERLREVERSION="@comment " +.endif + +post-patch: + @${PERL} -pi -e 's/my \$$yn/my \$$yn="${PROMPT}"; #/;' ${WRKSRC}/Makefile.PL + +MAN3= Perl::Version.3 + +.include <bsd.port.post.mk> diff --git a/devel/p5-Perl-Version/distinfo b/devel/p5-Perl-Version/distinfo new file mode 100644 index 000000000000..3405e7ed2d3b --- /dev/null +++ b/devel/p5-Perl-Version/distinfo @@ -0,0 +1,3 @@ +MD5 (Perl-Version-1.007.tar.gz) = 7c0c73bd4dc9d9f489b3f84843599728 +SHA256 (Perl-Version-1.007.tar.gz) = 52d234893ac9778a2eddf19fb1a6bcc9151f458c3b8d8bc72b7285378ec99c4e +SIZE (Perl-Version-1.007.tar.gz) = 22482 diff --git a/devel/p5-Perl-Version/pkg-descr b/devel/p5-Perl-Version/pkg-descr new file mode 100644 index 000000000000..99bb173a5142 --- /dev/null +++ b/devel/p5-Perl-Version/pkg-descr @@ -0,0 +1,4 @@ +Perl::Version provides a simple interface for parsing, manipulating +and formatting Perl version strings. + +WWW: http://search.cpan.org/dist/Perl-Version/ diff --git a/devel/p5-Perl-Version/pkg-plist b/devel/p5-Perl-Version/pkg-plist new file mode 100644 index 000000000000..eeaedaf0c5d8 --- /dev/null +++ b/devel/p5-Perl-Version/pkg-plist @@ -0,0 +1,6 @@ +%%PERLREVERSION%%bin/perl-reversion +%%SITE_PERL%%/Perl/Version.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl/Version/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl/Version +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Perl +@dirrmtry %%SITE_PERL%%/Perl |