- Update to 2.55
- Tweak PLIST to quiet portlint - Use REINPLACE_CMD macro PR: ports/160001 Submitted by: sunpoet
This commit is contained in:
parent
ce26e6f742
commit
aecddbb447
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280207
3 changed files with 9 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= Module-CoreList
|
||||
PORTVERSION= 2.54
|
||||
PORTVERSION= 2.55
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
@ -24,13 +24,15 @@ SUB_FILES= pkg-install
|
|||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500809
|
||||
PLIST_FILES+= bin/corelist
|
||||
PLIST_SUB= BIN_CORELIST=""
|
||||
.else
|
||||
PLIST_SUB= BIN_CORELIST="@comment "
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${MV} ${WRKSRC}/corelist ${WRKSRC}/p5corelist
|
||||
@${PERL} -pi -e 's,^corelist$$,p5corelist,' ${WRKSRC}/MANIFEST
|
||||
@${PERL} -pi -e 's,corelist,p5corelist,' ${WRKSRC}/Makefile.PL ${WRKSRC}/t/pod.t
|
||||
@${REINPLACE_CMD} -e 's|^corelist$$|p5corelist|' ${WRKSRC}/MANIFEST
|
||||
@${REINPLACE_CMD} -e 's|corelist|p5corelist|' ${WRKSRC}/Makefile.PL ${WRKSRC}/t/pod.t
|
||||
|
||||
post-install:
|
||||
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (Module-CoreList-2.54.tar.gz) = 8ae82799b89fda1996b871d8f2f3b521b0266b14773b9c2b7fa47cea3ef12d8a
|
||||
SIZE (Module-CoreList-2.54.tar.gz) = 76111
|
||||
SHA256 (Module-CoreList-2.55.tar.gz) = 4aba1a5de52ab210fe4d915e9e3c8d8e77881f90840bf375ab12cfea1af31b2f
|
||||
SIZE (Module-CoreList-2.55.tar.gz) = 76776
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
%%BIN_CORELIST%%bin/corelist
|
||||
bin/p5corelist
|
||||
%%SITE_PERL%%/Module/CoreList.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/CoreList/.packlist
|
||||
|
|
Loading…
Reference in a new issue