diff options
author | Lars Thegler <lth@FreeBSD.org> | 2011-10-21 07:21:05 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2011-10-21 07:21:05 +0000 |
commit | 3eb686f770354f410d7276a2d0edcf6d28658ea4 (patch) | |
tree | 1519992eb7cbbb445d5b7c6d059646297bd54af4 /devel/p5-Module-CoreList | |
parent | da22f8e3d4d44d90ec8566924eebb681da6343e1 (diff) | |
download | ports-3eb686f770354f410d7276a2d0edcf6d28658ea4.tar.gz ports-3eb686f770354f410d7276a2d0edcf6d28658ea4.zip |
Notes
Diffstat (limited to 'devel/p5-Module-CoreList')
-rw-r--r-- | devel/p5-Module-CoreList/Makefile | 24 | ||||
-rw-r--r-- | devel/p5-Module-CoreList/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Module-CoreList/files/pkg-install.in | 9 | ||||
-rw-r--r-- | devel/p5-Module-CoreList/pkg-plist | 4 |
4 files changed, 7 insertions, 34 deletions
diff --git a/devel/p5-Module-CoreList/Makefile b/devel/p5-Module-CoreList/Makefile index f13db7894474..c5e5d1e180ad 100644 --- a/devel/p5-Module-CoreList/Makefile +++ b/devel/p5-Module-CoreList/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Module-CoreList -PORTVERSION= 2.56 +PORTVERSION= 2.57 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,28 +16,12 @@ COMMENT= See what modules shipped with versions of perl PERL_CONFIGURE= yes -MAN1= p5corelist.1 MAN3= Module::CoreList.3 -SUB_FILES= pkg-install - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500809 -PLIST_SUB= BIN_CORELIST="" -.else -PLIST_SUB= BIN_CORELIST="@comment " -.endif - -pre-patch: - @${MV} ${WRKSRC}/corelist ${WRKSRC}/p5corelist - @${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 +post-patch: + @${REINPLACE_CMD} -e '/corelist/d' ${WRKSRC}/Makefile.PL regression-test: build cd ${WRKSRC}/ && ${MAKE} test -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/p5-Module-CoreList/distinfo b/devel/p5-Module-CoreList/distinfo index af34c06efe54..33decd180488 100644 --- a/devel/p5-Module-CoreList/distinfo +++ b/devel/p5-Module-CoreList/distinfo @@ -1,2 +1,2 @@ -SHA256 (Module-CoreList-2.56.tar.gz) = 66fe0285f34e67305ff44b3dc2770385f8a53fac8341e1e88228de591c6db91a -SIZE (Module-CoreList-2.56.tar.gz) = 79398 +SHA256 (Module-CoreList-2.57.tar.gz) = f733d85c69c6b4b78b2347bd1643cc584fc45fd6258314c1de34a97b33394b73 +SIZE (Module-CoreList-2.57.tar.gz) = 79906 diff --git a/devel/p5-Module-CoreList/files/pkg-install.in b/devel/p5-Module-CoreList/files/pkg-install.in deleted file mode 100644 index 6c300ed94f2a..000000000000 --- a/devel/p5-Module-CoreList/files/pkg-install.in +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - if ! test -f %%PREFIX%%/bin/corelist; then - echo "===> Reinstalling missing %%PREFIX%%/bin/corelist" - cp -p %%PREFIX%%/bin/p5corelist %%PREFIX%%/bin/corelist - fi -esac diff --git a/devel/p5-Module-CoreList/pkg-plist b/devel/p5-Module-CoreList/pkg-plist index e223ecc49e47..0cffc6da284a 100644 --- a/devel/p5-Module-CoreList/pkg-plist +++ b/devel/p5-Module-CoreList/pkg-plist @@ -1,7 +1,5 @@ -%%BIN_CORELIST%%bin/corelist -bin/p5corelist %%SITE_PERL%%/Module/CoreList.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/CoreList/.packlist -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/CoreList +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/CoreList @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module @dirrmtry %%SITE_PERL%%/Module |