summaryrefslogtreecommitdiff
path: root/graphics/p5-PerlMagick
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
committerjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
commit18cba9d7fa4ef20bc11b28b998233dddeb7ae32d (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /graphics/p5-PerlMagick
parent81bbfb25563e0e7d2f441eff32793eb50b7549e4 (diff)
downloadpkgsrc-18cba9d7fa4ef20bc11b28b998233dddeb7ae32d.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'graphics/p5-PerlMagick')
-rw-r--r--graphics/p5-PerlMagick/Makefile15
-rw-r--r--graphics/p5-PerlMagick/pkg/PLIST10
2 files changed, 9 insertions, 16 deletions
diff --git a/graphics/p5-PerlMagick/Makefile b/graphics/p5-PerlMagick/Makefile
index 7ced38e7948..7ed314aa21c 100644
--- a/graphics/p5-PerlMagick/Makefile
+++ b/graphics/p5-PerlMagick/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/08/18 22:46:35 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 2000/08/27 07:11:13 jlam Exp $
DISTNAME= ImageMagick-5.2.2
PKGNAME= p5-PerlMagick-5.2.2
@@ -25,22 +25,23 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/PerlMagick
#EXTRACT_AFTER_ARGS+= ${WRKSRC}
-USE_LIBTOOL= yes
+USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-USE_PERL5= yes
-GNU_CONFIGURE= yes
-PERL5_BIN= ${LOCALBASE}/bin/perl
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Image/Magick/.packlist
+
+GNU_CONFIGURE= yes
# These need to coordinate with the ImageMagick package.
# Just leave out "--without-perl".
-CONFIGURE_ARGS+= --with-perl=${PERL5_BIN} \
+CONFIGURE_ARGS+= --with-perl=${PERL5} \
--without-dps --without-fpx \
--without-hdf --without-jbig --without-threads \
--without-ttf --without-xml
post-configure:
- cd ${WRKSRC} && ${PERL5_BIN} Makefile.PL
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/p5-PerlMagick/pkg/PLIST b/graphics/p5-PerlMagick/pkg/PLIST
index ee4e5c02779..08f0605eafa 100644
--- a/graphics/p5-PerlMagick/pkg/PLIST
+++ b/graphics/p5-PerlMagick/pkg/PLIST
@@ -1,9 +1 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/04/23 01:59:58 kim Exp $
-lib/perl5/man/man3/Image::Magick.3
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Image/Magick/.packlist
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Image/Magick/Magick.bs
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Image/Magick/Magick.so
-lib/perl5/site_perl/Image/Magick.pm
-lib/perl5/site_perl/auto/Image/Magick/autosplit.ix
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Image/Magick
-@dirrm lib/perl5/site_perl/auto/Image/Magick
+@comment $NetBSD: PLIST,v 1.2 2000/08/27 07:11:13 jlam Exp $