From eee58d187e2c55fca6f53b9e482d33cf5346fe81 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 26 Nov 2014 13:08:24 +0000 Subject: Change the way Perl modules are installed, update the default Perl to 5.18. Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr --- textproc/p5-JavaScript-Minifier-XS/Makefile | 1 + textproc/p5-JavaScript-Minifier-XS/pkg-plist | 10 ++-------- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'textproc/p5-JavaScript-Minifier-XS') diff --git a/textproc/p5-JavaScript-Minifier-XS/Makefile b/textproc/p5-JavaScript-Minifier-XS/Makefile index ade0c45ca57c..3dd3881069a0 100644 --- a/textproc/p5-JavaScript-Minifier-XS/Makefile +++ b/textproc/p5-JavaScript-Minifier-XS/Makefile @@ -3,6 +3,7 @@ PORTNAME= JavaScript-Minifier-XS PORTVERSION= 0.09 +PORTREVISION= 1 CATEGORIES= textproc www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/textproc/p5-JavaScript-Minifier-XS/pkg-plist b/textproc/p5-JavaScript-Minifier-XS/pkg-plist index 52238a019c79..6d1b6bf63d73 100644 --- a/textproc/p5-JavaScript-Minifier-XS/pkg-plist +++ b/textproc/p5-JavaScript-Minifier-XS/pkg-plist @@ -1,9 +1,3 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/JavaScript/Minifier/XS.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/XS/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/XS/XS.so +%%SITE_ARCH%%/JavaScript/Minifier/XS.pm +%%SITE_ARCH%%/auto/JavaScript/Minifier/XS/XS.so %%PERL5_MAN3%%/JavaScript::Minifier::XS.3.gz -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier/XS -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/Minifier -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/JavaScript/Minifier -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/JavaScript -- cgit v1.2.3