summaryrefslogtreecommitdiff
path: root/graphics/g2
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-08 22:21:51 +0000
committerjtb <jtb@pkgsrc.org>2001-02-08 22:21:51 +0000
commit133d034dcd5838567599767a3270c483d1ec6f76 (patch)
tree97b2c45cf89f62714cb799bcafef87ca9655eca7 /graphics/g2
parent2f64fd63628855a8fef434542e9aff68ef67c385 (diff)
downloadpkgsrc-133d034dcd5838567599767a3270c483d1ec6f76.tar.gz
Install the Perl module.
Diffstat (limited to 'graphics/g2')
-rw-r--r--graphics/g2/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
index bb881a44ec5..ef7c627608a 100644
--- a/graphics/g2/Makefile
+++ b/graphics/g2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/02/07 22:19:40 jtb Exp $
+# $NetBSD: Makefile,v 1.2 2001/02/08 22:21:51 jtb Exp $
DISTNAME= g2-0.40
CATEGORIES= graphics
@@ -11,4 +11,16 @@ GNU_CONFIGURE= yes
USE_X11= yes
ALL_TARGET= depend all
+USE_PERL5= #defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/G2/.packlist
+
+post-configure:
+ cd ${WRKSRC}/g2_perl; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+post-build:
+ cd ${WRKSRC}/g2_perl && ${MAKE}
+
+post-install:
+ cd ${WRKSRC}/g2_perl && ${MAKE} install
+
.include "../../mk/bsd.pkg.mk"