diff options
author | mat <mat@FreeBSD.org> | 2014-02-12 21:46:07 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-02-12 21:46:07 +0800 |
commit | a2eb98aa5904e7a4abfd8a168c45bbf3141bac4f (patch) | |
tree | a9184b826f6d2e4d0e69c0d40cadfaf2a149d724 /lang/perl5.18/pkg-plist | |
parent | a30be86c016b08429174653c49ec4bfc94d252cc (diff) | |
download | freebsd-ports-gnome-a2eb98aa5904e7a4abfd8a168c45bbf3141bac4f.tar.gz freebsd-ports-gnome-a2eb98aa5904e7a4abfd8a168c45bbf3141bac4f.tar.zst freebsd-ports-gnome-a2eb98aa5904e7a4abfd8a168c45bbf3141bac4f.zip |
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
Diffstat (limited to 'lang/perl5.18/pkg-plist')
-rw-r--r-- | lang/perl5.18/pkg-plist | 8 |
1 files changed, 6 insertions, 2 deletions
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 |