mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
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>
This commit is contained in:
parent
1e91ae1739
commit
c08819178e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105893
@ -564,6 +564,7 @@
|
|||||||
SUBDIR += p5-BSD-Resource
|
SUBDIR += p5-BSD-Resource
|
||||||
SUBDIR += p5-BSD-stat
|
SUBDIR += p5-BSD-stat
|
||||||
SUBDIR += p5-C-Scan
|
SUBDIR += p5-C-Scan
|
||||||
|
SUBDIR += p5-CPAN-DistnameInfo
|
||||||
SUBDIR += p5-Cache-Cache
|
SUBDIR += p5-Cache-Cache
|
||||||
SUBDIR += p5-Cache-FastMmap
|
SUBDIR += p5-Cache-FastMmap
|
||||||
SUBDIR += p5-Cache-Mmap
|
SUBDIR += p5-Cache-Mmap
|
||||||
|
29
devel/p5-CPAN-DistnameInfo/Makefile
Normal file
29
devel/p5-CPAN-DistnameInfo/Makefile
Normal file
@ -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>
|
2
devel/p5-CPAN-DistnameInfo/distinfo
Normal file
2
devel/p5-CPAN-DistnameInfo/distinfo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
MD5 (CPAN-DistnameInfo-0.03.tar.gz) = 23ef62999ea4a6ad70c36d0ee034323d
|
||||||
|
SIZE (CPAN-DistnameInfo-0.03.tar.gz) = 25885
|
6
devel/p5-CPAN-DistnameInfo/pkg-descr
Normal file
6
devel/p5-CPAN-DistnameInfo/pkg-descr
Normal file
@ -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/
|
5
devel/p5-CPAN-DistnameInfo/pkg-plist
Normal file
5
devel/p5-CPAN-DistnameInfo/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user