diff options
author | edwin <edwin@FreeBSD.org> | 2005-11-04 19:12:59 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-11-04 19:12:59 +0800 |
commit | e0caea2c6c4eacf0e34dcbf66cf68ac401a8a97a (patch) | |
tree | 5f46fa3414318397134d0684a90cf4a9fa6e7180 /japanese | |
parent | f2f77bb497ac7ff9a73e66a7ad91877db32a3806 (diff) | |
download | freebsd-ports-gnome-e0caea2c6c4eacf0e34dcbf66cf68ac401a8a97a.tar.gz freebsd-ports-gnome-e0caea2c6c4eacf0e34dcbf66cf68ac401a8a97a.tar.zst freebsd-ports-gnome-e0caea2c6c4eacf0e34dcbf66cf68ac401a8a97a.zip |
Don't remove too much when deinstalling on 4.x
Noticed by: YAPHR
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/perl5/Makefile | 8 | ||||
-rw-r--r-- | japanese/perl5/pkg-plist | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/japanese/perl5/Makefile b/japanese/perl5/Makefile index db30f1c77b1a..a9e055093a7e 100644 --- a/japanese/perl5/Makefile +++ b/japanese/perl5/Makefile @@ -7,7 +7,7 @@ PORTNAME= perl PORTVERSION= ${JPERL_VER}.${JPERL_VER_PL} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= japanese perl5 MASTER_SITES= ftp://ftp.cpan.org/CPAN/src/5.0/ \ ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/ \ @@ -59,6 +59,12 @@ PERL_SHLIBVER= 1 PLIST_SUB= JPERL_VERSION=${JPERL_VERSION} JPERL_VER=${JPERL_VER} \ JPERL_ARCH=${JPERL_ARCH} +.if ${OSVERSION} < 500000 +PLIST_SUB+= NOTON4="@comment " +.else +PLIST_SUB+= NOTON4="" +.endif + MAN1= a2p.1 c2ph.1 h2ph.1 h2xs.1 perl.1 perl5004delta.1 \ perlapio.1 perlbook.1 perlbot.1 perlbug.1 perlcall.1 \ perldata.1 perldebug.1 perldelta.1 perldiag.1 perldoc.1 \ diff --git a/japanese/perl5/pkg-plist b/japanese/perl5/pkg-plist index 80700c5730a3..e9cd22499d75 100644 --- a/japanese/perl5/pkg-plist +++ b/japanese/perl5/pkg-plist @@ -536,8 +536,8 @@ lib/perl5/%%JPERL_VERSION%%/vars.pm @unexec rmdir %D/lib/perl5/site_perl/%%JPERL_VER%% 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl 2>/dev/null || true @unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/pod 2>/dev/null || true -@unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/man/man3 2>/dev/null || true -@unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/man 2>/dev/null || true +%%NOTON4%%@unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/man/man3 2>/dev/null || true +%%NOTON4%%@unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/man 2>/dev/null || true @unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/i386-freebsd/auto/sdbm 2>/dev/null || true @unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/i386-freebsd/auto/re 2>/dev/null || true @unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/i386-freebsd/auto/attrs 2>/dev/null || true @@ -608,7 +608,5 @@ lib/perl5/%%JPERL_VERSION%%/vars.pm @unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/%%PERL_ARCH%%/CORE 2>/dev/null || true @unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/%%PERL_ARCH%%/B 2>/dev/null || true @unexec rmdir %D/lib/perl5/%%JPERL_VERSION%%/%%PERL_ARCH%% 2>/dev/null || true -@unexec rmdir %D/lib/perl5/%%JPERL_VERSION%% 2>/dev/null || true +%%NOTON4%%@unexec rmdir %D/lib/perl5/%%JPERL_VERSION%% 2>/dev/null || true @unexec rmdir %D/lib/perl5 2>/dev/null || true - - |