summaryrefslogtreecommitdiff
path: root/graphics/p5-PerlMagick/Makefile
diff options
context:
space:
mode:
authormjl <mjl>2003-04-16 13:27:21 +0000
committermjl <mjl>2003-04-16 13:27:21 +0000
commitf29ac2ddaff58f0c2646528edcc64e0dd2a19292 (patch)
treeef7f53475cdf358e3805a83357fdf86eb70a9974 /graphics/p5-PerlMagick/Makefile
parentc6edab336647856733093e69e20d0b3ad7890aba (diff)
downloadpkgsrc-f29ac2ddaff58f0c2646528edcc64e0dd2a19292.tar.gz
Implement suggestion from last commit: Split out common part of
p5-PerlMagick and ImageMagick into Makefile.common.
Diffstat (limited to 'graphics/p5-PerlMagick/Makefile')
-rw-r--r--graphics/p5-PerlMagick/Makefile36
1 files changed, 8 insertions, 28 deletions
diff --git a/graphics/p5-PerlMagick/Makefile b/graphics/p5-PerlMagick/Makefile
index 4baf5e49ba0..275696ec0fc 100644
--- a/graphics/p5-PerlMagick/Makefile
+++ b/graphics/p5-PerlMagick/Makefile
@@ -1,25 +1,10 @@
-# $NetBSD: Makefile,v 1.26 2003/04/15 11:11:50 mjl Exp $
-
-IM_MAJOR_VER= 5.5.6
-IM_MINOR_VER= NONE
-IM_MAJOR_LIB_VER= ${IM_MAJOR_VER}-Q16
-
-.if (${IM_MINOR_VER} != NONE)
-DISTNAME= ImageMagick-${IM_MAJOR_VER}-${IM_MINOR_VER}
-PKGNAME= p5-PerlMagick-${IM_MAJOR_VER}.${IM_MINOR_VER}
-.else
-DISTNAME= ImageMagick-${IM_MAJOR_VER}
-PKGNAME= p5-PerlMagick-${IM_MAJOR_VER}
-.endif
+# $NetBSD: Makefile,v 1.27 2003/04/16 13:27:22 mjl Exp $
+
+.include "../ImageMagick/Makefile.common"
+
+PKGNAME= p5-PerlMagick-${DISTSUFFIX}
+
SVR4_PKGNAME= p5pma
-WRKSRC= ${WRKDIR}/ImageMagick-${IM_MAJOR_VER}
-CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.nluug.nl/pub/ImageMagick/ \
- ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/ImageMagick/ \
- ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick/ \
- ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ \
- ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick/
-EXTRACT_SUFX= .tar.bz2
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
@@ -44,13 +29,8 @@ USE_X11= YES
PERL5_CONFIGURE_DIRS= ${WRKSRC}/PerlMagick
BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}
-# These need to coordinate with the ImageMagick package.
-# Just leave out "--without-perl".
-
-CONFIGURE_ARGS+= --with-perl=${PERL5} \
- --without-dps --without-fpx \
- --without-hdf --without-jbig --without-threads \
- --without-ttf --without-xml
+# Some configure_args come from Makefile.common
+CONFIGURE_ARGS+= --with-perl=${PERL5}
post-configure: perl5-configure