diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2001-04-17 13:28:57 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2001-04-17 13:28:57 +0000 |
commit | b1a6f82db2dcc7935e72943ca2d8b8bf308d90a5 (patch) | |
tree | 55131a27bdaed32ef6c6e69d5cd505095c4896df /finance/p5-Business-CreditCard | |
parent | New port in the RTEMS collection for the "arm" processor. (diff) |
Add proper PERL_VER support.
Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes:
svn path=/head/; revision=41559
Diffstat (limited to 'finance/p5-Business-CreditCard')
-rw-r--r-- | finance/p5-Business-CreditCard/Makefile | 6 | ||||
-rw-r--r-- | finance/p5-Business-CreditCard/pkg-plist | 5 |
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 |