From a2eb98aa5904e7a4abfd8a168c45bbf3141bac4f Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 12 Feb 2014 13:46:07 +0000 Subject: Massive cleanup of the Perl ports: - Use SUB_FILES instead of own backed version - Have etc/perl5_version in the package instead of generating a static one at install - Move some mkdirs from pkg-install to pkg-plist - Move the bin/perl5 creation from plist to post-install Reviewed by: az Sponsored by: Absolight --- lang/perl5.18/pkg-plist | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lang/perl5.18/pkg-plist') diff --git a/lang/perl5.18/pkg-plist b/lang/perl5.18/pkg-plist index 047340d3bbe1..32821a33c1e1 100644 --- a/lang/perl5.18/pkg-plist +++ b/lang/perl5.18/pkg-plist @@ -14,9 +14,8 @@ bin/instmodsh bin/json_pp bin/libnetcfg bin/perl +bin/perl5 bin/perl%%PERL_VERSION%% -@exec ln -fs %D/%F %B/perl5 -@unexec rm -f %B/perl5 2>&1 >/dev/null || true bin/perlbug bin/perldoc bin/perlivp @@ -42,6 +41,7 @@ bin/splain bin/xsubpp bin/zipdetails %%MANCONF%%etc/man.d/perl%%PERL_VER%%.conf +etc/perl5_version lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/.packlist lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/B.pm lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/B/Concise.pm @@ -2938,6 +2938,7 @@ man/man1/zipdetails.1.gz @dirrm lib/perl5/%%PERL_VER%%/BSDPAN/ExtUtils @dirrm lib/perl5/%%PERL_VER%%/BSDPAN @unexec find %D/%%SITE_PERL%%/%%PERL_ARCH%%/ -name '*.ph' -delete 2>/dev/null || true +@exec cd /usr/include && %D/bin/h2ph *.h machine/*.h sys/*.h >/dev/null %%GDBM%%@dirrm lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/auto/GDBM_File @dirrm lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/threads @dirrm lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/auto/threads/shared @@ -3271,15 +3272,18 @@ man/man1/zipdetails.1.gz @dirrm lib/perl5/%%PERL_VER%%/autodie/exception @dirrm lib/perl5/%%PERL_VER%%/autodie @dirrmtry lib/perl5/%%PERL_VER%%/man/man3 +@exec install -d %D/lib/perl5/%%PERL_VER%%/man/man3 @unexec /bin/rm -f %D/lib/perl5/%%PERL_VER%%/man/whatis @exec /usr/bin/makewhatis %D/lib/perl5/%%PERL_VER%%/man @dirrmtry lib/perl5/%%PERL_VER%%/man @dirrmtry lib/perl5/%%PERL_VER%% @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/sys @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/machine +@exec install -d %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%% @dirrmtry %%SITE_PERL%%/auto +@exec install -d %D/%%SITE_PERL%%/auto @dirrmtry %%SITE_PERL%% @dirrmtry lib/perl5/site_perl @dirrmtry lib/perl5 -- cgit