summaryrefslogtreecommitdiff
path: root/graphics/g2
diff options
context:
space:
mode:
authorseb <seb>2002-10-27 23:57:17 +0000
committerseb <seb>2002-10-27 23:57:17 +0000
commitfcc938babe6740c14024c09c5e14d20a3b9a1d17 (patch)
tree66d81931c8466bb7bee0bb4bbe11596538f13294 /graphics/g2
parentd63d0b920877ffb5193bfac9452f5ef9f0feb707 (diff)
downloadpkgsrc-fcc938babe6740c14024c09c5e14d20a3b9a1d17.tar.gz
Use buildlink2. Use perl5/module.mk.
Depend in ALL_TARGET does not seem to be needed anymore so remove it, otherwise perl5/module.mk usage would have been limited ;)
Diffstat (limited to 'graphics/g2')
-rw-r--r--graphics/g2/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
index 6abdf62671d..29dd8fba7c4 100644
--- a/graphics/g2/Makefile
+++ b/graphics/g2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/11/29 01:12:35 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2002/10/27 23:57:17 seb Exp $
DISTNAME= g2-0.40
PKGREVISION= 1
@@ -13,19 +13,15 @@ GNU_CONFIGURE= yes
USE_X11= yes
USE_LIBTOOL= yes
-ALL_TARGET= depend all
-
-USE_PERL5= #defined
+USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/G2/.packlist
+PERL5_CONFIGURE= NO
+PERL5_CONFIGURE_DIRS= ${WRKSRC}/g2_perl
+BUILD_DIRS= ${WRKSRC} ${WRKSRC}/g2_perl
-post-configure:
- cd ${WRKSRC}/g2_perl; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
-post-build:
- cd ${WRKSRC}/g2_perl && ${MAKE}
+post-configure: perl5-configure
post-install:
- cd ${WRKSRC}/g2_perl && ${MAKE} install
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/g2
cd ${WRKSRC} && ${INSTALL_DATA} doc/g2_ref.txt COPYING README \
${PREFIX}/share/doc/g2
@@ -33,4 +29,5 @@ post-install:
cd ${WRKSRC}/demo && ${INSTALL_DATA} demo_f.f g2_test.c penguin.c \
simple_PS.c simple_X11.c ${PREFIX}/share/examples/g2
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"