summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"