aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-04-17 21:28:57 +0800
committerroam <roam@FreeBSD.org>2001-04-17 21:28:57 +0800
commitb1b5a28222d3a4ee0dc6299d57ccd511a8474d43 (patch)
tree6c34a9f3b8fc75318ac4c8aeab31f91b8b1e9351
parent67739bc415bc66321cd13b643db259498bf98f85 (diff)
downloadfreebsd-ports-gnome-b1b5a28222d3a4ee0dc6299d57ccd511a8474d43.tar.gz
freebsd-ports-gnome-b1b5a28222d3a4ee0dc6299d57ccd511a8474d43.tar.zst
freebsd-ports-gnome-b1b5a28222d3a4ee0dc6299d57ccd511a8474d43.zip
Add proper PERL_VER support.
Submitted by: Anton Berezin <tobez@tobez.org>
-rw-r--r--finance/p5-Business-CreditCard/Makefile6
-rw-r--r--finance/p5-Business-CreditCard/pkg-plist5
-rw-r--r--misc/p5-Business-CreditCard/Makefile6
-rw-r--r--misc/p5-Business-CreditCard/pkg-plist5
-rw-r--r--net/p5-Archie/Makefile8
-rw-r--r--net/p5-Archie/pkg-plist5
-rw-r--r--sysutils/p5-LJ-Cache/pkg-plist11
7 files changed, 21 insertions, 25 deletions
diff --git a/finance/p5-Business-CreditCard/Makefile b/finance/p5-Business-CreditCard/Makefile
index 9f0e2d266c90..7b2e3ded05d0 100644
--- a/finance/p5-Business-CreditCard/Makefile
+++ b/finance/p5-Business-CreditCard/Makefile
@@ -19,9 +19,7 @@ USE_PERL5= YES
NO_BUILD= YES
do-install:
- @ ${CP} ${WRKSRC}/CreditCard.pm ${WRKSRC}/CreditCard-0.21.pm
- @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/Business/
- @ ${INSTALL_DATA} ${WRKSRC}/CreditCard-0.21.pm ${PREFIX}/lib/perl5/site_perl/Business/
- @ ${LN} -sf ${PREFIX}/lib/perl5/site_perl/Business/CreditCard-0.21.pm ${PREFIX}/lib/perl5/site_perl/Business/CreditCard.pm
+ @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Business
+ @ ${INSTALL_DATA} ${WRKSRC}/CreditCard.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Business/
.include <bsd.port.mk>
diff --git a/finance/p5-Business-CreditCard/pkg-plist b/finance/p5-Business-CreditCard/pkg-plist
index 52cbea2ee6c5..3d3995ac2ac3 100644
--- a/finance/p5-Business-CreditCard/pkg-plist
+++ b/finance/p5-Business-CreditCard/pkg-plist
@@ -1,3 +1,2 @@
-lib/perl5/site_perl/Business/CreditCard-0.21.pm
-lib/perl5/site_perl/Business/CreditCard.pm
-@dirrm lib/perl5/site_perl/Business
+lib/perl5/site_perl/%%PERL_VER%%/Business/CreditCard.pm
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Business 2>/dev/null || true
diff --git a/misc/p5-Business-CreditCard/Makefile b/misc/p5-Business-CreditCard/Makefile
index 9f0e2d266c90..7b2e3ded05d0 100644
--- a/misc/p5-Business-CreditCard/Makefile
+++ b/misc/p5-Business-CreditCard/Makefile
@@ -19,9 +19,7 @@ USE_PERL5= YES
NO_BUILD= YES
do-install:
- @ ${CP} ${WRKSRC}/CreditCard.pm ${WRKSRC}/CreditCard-0.21.pm
- @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/Business/
- @ ${INSTALL_DATA} ${WRKSRC}/CreditCard-0.21.pm ${PREFIX}/lib/perl5/site_perl/Business/
- @ ${LN} -sf ${PREFIX}/lib/perl5/site_perl/Business/CreditCard-0.21.pm ${PREFIX}/lib/perl5/site_perl/Business/CreditCard.pm
+ @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Business
+ @ ${INSTALL_DATA} ${WRKSRC}/CreditCard.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Business/
.include <bsd.port.mk>
diff --git a/misc/p5-Business-CreditCard/pkg-plist b/misc/p5-Business-CreditCard/pkg-plist
index 52cbea2ee6c5..3d3995ac2ac3 100644
--- a/misc/p5-Business-CreditCard/pkg-plist
+++ b/misc/p5-Business-CreditCard/pkg-plist
@@ -1,3 +1,2 @@
-lib/perl5/site_perl/Business/CreditCard-0.21.pm
-lib/perl5/site_perl/Business/CreditCard.pm
-@dirrm lib/perl5/site_perl/Business
+lib/perl5/site_perl/%%PERL_VER%%/Business/CreditCard.pm
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Business 2>/dev/null || true
diff --git a/net/p5-Archie/Makefile b/net/p5-Archie/Makefile
index f309a33636ad..b861eeec04e8 100644
--- a/net/p5-Archie/Makefile
+++ b/net/p5-Archie/Makefile
@@ -21,10 +21,8 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
do-install:
- @ ${CP} ${WRKDIR}/Archie.pm ${WRKDIR}/Archie-1.5.pm
- @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl
- @ ${INSTALL_DATA} ${WRKDIR}/Archie-1.5.pm ${PREFIX}/lib/perl5/site_perl/
- @ ${LN} -sf ${PREFIX}/lib/perl5/site_perl/Archie-1.5.pm ${PREFIX}/lib/perl5/site_perl/Archie.pm
- @ ${INSTALL_DATA} ${WRKDIR}/archie_gateway ${PREFIX}/lib/perl5/site_perl/
+ @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
+ @ ${INSTALL_DATA} ${WRKDIR}/Archie.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/
+ @ ${INSTALL_SCRIPT} ${WRKDIR}/archie_gateway ${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/net/p5-Archie/pkg-plist b/net/p5-Archie/pkg-plist
index 8c0e953bfecc..942fec8f2776 100644
--- a/net/p5-Archie/pkg-plist
+++ b/net/p5-Archie/pkg-plist
@@ -1,3 +1,2 @@
-lib/perl5/site_perl/Archie-1.5.pm
-lib/perl5/site_perl/Archie.pm
-lib/perl5/site_perl/archie_gateway
+lib/perl5/site_perl/%%PERL_VER%%/Archie.pm
+bin/archie_gateway
diff --git a/sysutils/p5-LJ-Cache/pkg-plist b/sysutils/p5-LJ-Cache/pkg-plist
index 4aba43e395d0..21834af71757 100644
--- a/sysutils/p5-LJ-Cache/pkg-plist
+++ b/sysutils/p5-LJ-Cache/pkg-plist
@@ -1,3 +1,8 @@
-lib/perl5/site_perl/5.005/LJ/Cache.pm
-lib/perl5/site_perl/5.005/auto/LJ/Cache/autosplit.ix
-@dirrm lib/perl5/site_perl/5.005/auto/LJ/Cache/
+lib/perl5/site_perl/%%PERL_VER%%/auto/LJ/Cache/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/LJ/Cache/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/LJ/Cache.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/LJ/Cache
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/LJ/Cache
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/LJ 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/LJ 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/LJ 2>/dev/null || true