diff options
author | mat <mat@FreeBSD.org> | 2004-04-01 16:46:02 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-04-01 16:46:02 +0000 |
commit | cd352f728032ef4c19bcc79a395822366c7467d2 (patch) | |
tree | 9f2d69ac6fad34863b0fa3a2f420f9588ed816e3 /devel | |
parent | e5e17518986356e1ad861bc5a7a42f815a8180d5 (diff) | |
download | FreeBSD-ports-cd352f728032ef4c19bcc79a395822366c7467d2.zip FreeBSD-ports-cd352f728032ef4c19bcc79a395822366c7467d2.tar.gz |
Add p5-CPAN-DistnameInfo 0.03, extract distribution name and version
from a CPAN filename.
PR: ports/64833
Submitted by: Lars Thegler <lars@thegler.dk>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-CPAN-DistnameInfo/Makefile | 29 | ||||
-rw-r--r-- | devel/p5-CPAN-DistnameInfo/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-CPAN-DistnameInfo/pkg-descr | 6 | ||||
-rw-r--r-- | devel/p5-CPAN-DistnameInfo/pkg-plist | 5 |
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 0ce2677..05317b1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -564,6 +564,7 @@ SUBDIR += p5-BSD-Resource SUBDIR += p5-BSD-stat SUBDIR += p5-C-Scan + SUBDIR += p5-CPAN-DistnameInfo SUBDIR += p5-Cache-Cache SUBDIR += p5-Cache-FastMmap SUBDIR += p5-Cache-Mmap diff --git a/devel/p5-CPAN-DistnameInfo/Makefile b/devel/p5-CPAN-DistnameInfo/Makefile new file mode 100644 index 0000000..d5e4f81 --- /dev/null +++ b/devel/p5-CPAN-DistnameInfo/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: p5-CPAN-DistnameInfo +# Date created: Mar 27 2004 +# Whom: Lars Thegler <lars@thegler.dk> +# +# $FreeBSD$ + +PORTNAME= CPAN-DistnameInfo +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@thegler.dk +COMMENT= Extract distribution name and version from a CPAN filename + +PERL_CONFIGURE= yes + +MAN3= CPAN::DistnameInfo.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} <= 500503 +# make PREFIX-clean under perl 5.005_03 +post-configure: + @${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-CPAN-DistnameInfo/distinfo b/devel/p5-CPAN-DistnameInfo/distinfo new file mode 100644 index 0000000..3ec3fb7 --- /dev/null +++ b/devel/p5-CPAN-DistnameInfo/distinfo @@ -0,0 +1,2 @@ +MD5 (CPAN-DistnameInfo-0.03.tar.gz) = 23ef62999ea4a6ad70c36d0ee034323d +SIZE (CPAN-DistnameInfo-0.03.tar.gz) = 25885 diff --git a/devel/p5-CPAN-DistnameInfo/pkg-descr b/devel/p5-CPAN-DistnameInfo/pkg-descr new file mode 100644 index 0000000..70db49c --- /dev/null +++ b/devel/p5-CPAN-DistnameInfo/pkg-descr @@ -0,0 +1,6 @@ +CPAN::DistnameInfo uses heuristics that have been learnt by +http://search.cpan.org/ to extract the distribution name and version +from filenames and also report if the version is to be treated as +a developer release. + +WWW: http://search.cpan.org/dist/CPAN-DistnameInfo/ diff --git a/devel/p5-CPAN-DistnameInfo/pkg-plist b/devel/p5-CPAN-DistnameInfo/pkg-plist new file mode 100644 index 0000000..6129185 --- /dev/null +++ b/devel/p5-CPAN-DistnameInfo/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/CPAN/DistnameInfo.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/DistnameInfo/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN/DistnameInfo +@unexec rmdir %D/%%SITE_PERL%%/CPAN 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CPAN 2>/dev/null || true |