ports/161861: [PATCH] devel/p5-Module-CoreList: update to 2.57
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Oct 21 06:40:07 UTC 2011
>Number: 161861
>Category: ports
>Synopsis: [PATCH] devel/p5-Module-CoreList: update to 2.57
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 21 06:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Sep 28 22:36:13 CST 2011
>Description:
- Update to 2.57
- Cleanup Makefile as the lowest supported Perl release is 5.8.9 now
Changes: http://search.cpan.org/dist/Module-CoreList/Changes
Removed file(s):
- files/pkg-install.in
Port maintainer (lth at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- p5-Module-CoreList-2.57.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Module-CoreList/Makefile,v
retrieving revision 1.44
diff -u -u -r1.44 Makefile
--- Makefile 3 Oct 2011 18:43:40 -0000 1.44
+++ Makefile 21 Oct 2011 06:36:49 -0000
@@ -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 @@
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>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Module-CoreList/distinfo,v
retrieving revision 1.43
diff -u -u -r1.43 distinfo
--- distinfo 3 Oct 2011 18:43:40 -0000 1.43
+++ distinfo 21 Oct 2011 06:36:49 -0000
@@ -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
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Module-CoreList/pkg-plist,v
retrieving revision 1.8
diff -u -u -r1.8 pkg-plist
--- pkg-plist 22 Aug 2011 20:02:00 -0000 1.8
+++ pkg-plist 21 Oct 2011 06:36:49 -0000
@@ -1,7 +1,5 @@
-%%BIN_CORELIST%%bin/corelist
-bin/p5corelist
%%SITE_PERL%%/Module/CoreList.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/CoreList/.packlist
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/CoreList
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module/CoreList
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Module
@dirrmtry %%SITE_PERL%%/Module
Index: files/pkg-install.in
===================================================================
RCS file: files/pkg-install.in
diff -N files/pkg-install.in
--- files/pkg-install.in 15 Jan 2009 15:34:33 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -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
--- p5-Module-CoreList-2.57.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list