summaryrefslogtreecommitdiff
path: root/graphics/g2
diff options
context:
space:
mode:
authorjtb <jtb>2001-02-08 22:21:51 +0000
committerjtb <jtb>2001-02-08 22:21:51 +0000
commitc6613d96a33265ff0c43ca13e9fcbdd1e028dc81 (patch)
tree97b2c45cf89f62714cb799bcafef87ca9655eca7 /graphics/g2
parentdeb1198ad6678a0d700116e5742b64fa72eca751 (diff)
downloadpkgsrc-c6613d96a33265ff0c43ca13e9fcbdd1e028dc81.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"