summaryrefslogtreecommitdiff
path: root/graphics/p5-PerlMagick
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-09-26 12:46:40 +0000
committerseb <seb@pkgsrc.org>2002-09-26 12:46:40 +0000
commit09871069e50e64383d3177adced27d904634b02f (patch)
treef831787a36132ec276d76825ed4a707e9d3fec19 /graphics/p5-PerlMagick
parentfc707a2aeb4cdd54b3401c1fb8132007c253097a (diff)
downloadpkgsrc-09871069e50e64383d3177adced27d904634b02f.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"