diff options
author | seb <seb@pkgsrc.org> | 2002-10-27 23:57:17 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-10-27 23:57:17 +0000 |
commit | 5a64226ac03fbcedbe8448a3a51a0e0e943adcaa (patch) | |
tree | 66d81931c8466bb7bee0bb4bbe11596538f13294 | |
parent | cdf4db798b131753e7eff7b75ccf375cd91e790d (diff) | |
download | pkgsrc-5a64226ac03fbcedbe8448a3a51a0e0e943adcaa.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 ;)
-rw-r--r-- | graphics/g2/Makefile | 17 |
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" |