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
commit59007fc903510a82734293ab94962c27fe6013a3 (patch)
tree97b2c45cf89f62714cb799bcafef87ca9655eca7 /graphics/g2
parent9a35ae636addbb8ce1826fa7cd8562fff5faaf52 (diff)
downloadpkgsrc-59007fc903510a82734293ab94962c27fe6013a3.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"