aboutsummaryrefslogtreecommitdiffstats
path: root/finance
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 /finance
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>
Diffstat (limited to 'finance')
-rw-r--r--finance/p5-Business-CreditCard/Makefile6
-rw-r--r--finance/p5-Business-CreditCard/pkg-plist5
2 files changed, 4 insertions, 7 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