Date: Sat, 19 Oct 2013 15:04:22 GMT From: <ohauer@FreeBSD.org> To: <FreeBSD-gnats-submit@freebsd.org> Cc: tobez@FreeBSD.org Subject: ports/183102: [patch] net/p5-Geo-IPfree update to 1.132870, add staging support install ipct2txt.pl, txt2ipct.pl Message-ID: <201310191504.r9JF4M4A091256@freefall.freebsd.org> Resent-Message-ID: <201310191510.r9JFA03m091661@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183102 >Category: ports >Synopsis: [patch] net/p5-Geo-IPfree update to 1.132870, add staging support install ipct2txt.pl, txt2ipct.pl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 19 15:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: ohauer >Release: >Organization: >Environment: >Description: - update to 1.132870 - add stage support - install the scripts ipct2txt.pl, txt2ipct.pl to $DATADIR The database (%%SITE_PERL%%/Geo/ipscountry.dat) is now under license "DONATIONWARE" but I suspect we have no way to reflect this until there is a LICENSE file provided in the distfile. PS: I have not used SHEBANGFIX (two lines / three lines in Makefile) >How-To-Repeat: >Fix: --- p5-Geo-IPfree.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 330857) +++ Makefile (working copy) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= Geo-IPfree -PORTVERSION= 1.131650 +PORTVERSION= 1.132870 CATEGORIES= net perl5 geography MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,7 +15,13 @@ USES= perl5 USE_PERL5= configure -MAN3= Geo::IPfree.3 +SCRIPTS= ipct2txt.pl txt2ipct.pl -NO_STAGE= yes +post-patch: + @${SED} -i '' -e 's|/usr/bin/perl|${PERL}|' ${SCRIPTS:S|^|${WRKSRC}/misc/|} + +post-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + @${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/misc/|} ${STAGEDIR}${DATADIR} + .include <bsd.port.mk> Index: distinfo =================================================================== --- distinfo (revision 330857) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (Geo-IPfree-1.131650.tar.gz) = eaba4049b6e18ac202eb23efaff6481b01c46283a6240c170bf04c5fda6e99f2 -SIZE (Geo-IPfree-1.131650.tar.gz) = 538352 +SHA256 (Geo-IPfree-1.132870.tar.gz) = d04b379c0c0e014beac40592c8775c886fed621ed2b24d2e3c11b032e166ca5b +SIZE (Geo-IPfree-1.132870.tar.gz) = 572095 Index: pkg-plist =================================================================== --- pkg-plist (revision 330857) +++ pkg-plist (working copy) @@ -1,6 +1,10 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree/.packlist +%%PERL5_MAN3%%/Geo::IPfree.3.gz %%SITE_PERL%%/Geo/IPfree.pm %%SITE_PERL%%/Geo/ipscountry.dat +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree/.packlist +%%DATADIR%%/ipct2txt.pl +%%DATADIR%%/txt2ipct.pl +@dirrmtry %%DATADIR%% @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/IPfree @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo @dirrmtry %%SITE_PERL%%/Geo --- p5-Geo-IPfree.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310191504.r9JF4M4A091256>