summaryrefslogtreecommitdiff
path: root/misc/p5-Business-CreditCard/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/p5-Business-CreditCard/Makefile')
-rw-r--r--misc/p5-Business-CreditCard/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/misc/p5-Business-CreditCard/Makefile b/misc/p5-Business-CreditCard/Makefile
index 9df3ae81f35..ba179a61751 100644
--- a/misc/p5-Business-CreditCard/Makefile
+++ b/misc/p5-Business-CreditCard/Makefile
@@ -1,23 +1,22 @@
-# $NetBSD: Makefile,v 1.7 2000/01/10 00:57:14 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2000/08/27 07:11:15 jlam Exp $
# FreeBSD Id: Makefile,v 1.7 1997/06/24 18:43:06 jfitz Exp
#
DISTNAME= Business-CreditCard-0.1
-PKGNAME= p5-Business-CreditCard-0.1
+PKGNAME= p5-${DISTNAME}
CATEGORIES= misc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Business/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Business-CreditCard/CreditCard.html
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Business/CreditCard/.packlist
-NO_BUILD= YES
+pre-configure:
+ ${CP} ${FILESDIR}/Makefile.PL ${WRKSRC}/Makefile.PL
-do-install:
- @ ${CP} ${WRKSRC}/CreditCard.pm ${WRKSRC}/CreditCard-0.1.pm
- @ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/Business/
- @ ${INSTALL_DATA} ${WRKSRC}/CreditCard-0.1.pm ${PREFIX}/lib/perl5/site_perl/Business/
- @ ${LN} -sf ${PREFIX}/lib/perl5/site_perl/Business/CreditCard-0.1.pm ${PREFIX}/lib/perl5/site_perl/Business/CreditCard.pm
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"