summaryrefslogtreecommitdiff
path: root/graphics/p5-PerlMagick
diff options
context:
space:
mode:
authorseb <seb>2002-09-26 12:46:40 +0000
committerseb <seb>2002-09-26 12:46:40 +0000
commitf1fbab6bfdbad59fdb3551af30c487ad7b528829 (patch)
treef831787a36132ec276d76825ed4a707e9d3fec19 /graphics/p5-PerlMagick
parent72471b985288c98452d32c0f073e8d1f2aaffd68 (diff)
downloadpkgsrc-f1fbab6bfdbad59fdb3551af30c487ad7b528829.tar.gz
Use perl5/module.mk.
PERL5_CONFIGURE set to NO and perl5-configure target is run only at post-configure stage. Thanks Johnny!
Diffstat (limited to 'graphics/p5-PerlMagick')
-rw-r--r--graphics/p5-PerlMagick/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/graphics/p5-PerlMagick/Makefile b/graphics/p5-PerlMagick/Makefile
index 769c122fb43..9bfe3294bf1 100644
--- a/graphics/p5-PerlMagick/Makefile
+++ b/graphics/p5-PerlMagick/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2002/08/22 08:06:15 tron Exp $
+# $NetBSD: Makefile,v 1.19 2002/09/26 12:46:40 seb Exp $
DISTNAME= ImageMagick-5.4.8-2
PKGNAME= p5-PerlMagick-5.4.8.2
@@ -22,13 +22,15 @@ PATCHDIR= ${.CURDIR}/../../graphics/ImageMagick/patches
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-USE_PERL5= YES
+PERL5_CONFIGURE= NO
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Image/Magick/.packlist
GNU_CONFIGURE= YES
USE_X11= YES
WRKSRC= ${WRKDIR}/${DISTNAME:S/-2//}
+PERL5_CONFIGURE_DIRS= ${WRKSRC}/PerlMagick
+BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}
# These need to coordinate with the ImageMagick package.
# Just leave out "--without-perl".
@@ -46,13 +48,7 @@ BUILD_DEPENDS+= bash>=2.0:../../shells/bash2
CONFIGURE_SCRIPT= ${LOCALBASE}/bin/bash ./configure
.endif
-post-configure:
- cd ${WRKSRC}/PerlMagick && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
-do-build:
- @cd ${WRKSRC}/PerlMagick && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
-
-do-install:
- @cd ${WRKSRC}/PerlMagick && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET}
+post-configure: perl5-configure
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"