summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2003-04-16 13:27:21 +0000
committermjl <mjl@pkgsrc.org>2003-04-16 13:27:21 +0000
commit3fe37772f34739cfa19236984ec218b621f830c2 (patch)
treeef7f53475cdf358e3805a83357fdf86eb70a9974 /graphics/ImageMagick
parent05b93bf981a8e06e12228575d35331d83e98acb8 (diff)
downloadpkgsrc-3fe37772f34739cfa19236984ec218b621f830c2.tar.gz
Implement suggestion from last commit: Split out common part of
p5-PerlMagick and ImageMagick into Makefile.common.
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r--graphics/ImageMagick/Makefile37
-rw-r--r--graphics/ImageMagick/Makefile.common32
2 files changed, 40 insertions, 29 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 81a006770d1..f934e84a736 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -1,25 +1,10 @@
-# $NetBSD: Makefile,v 1.95 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= ImageMagick-${IM_MAJOR_VER}.${IM_MINOR_VER}
-.else
-DISTNAME= ImageMagick-${IM_MAJOR_VER}
-PKGNAME= ImageMagick-${IM_MAJOR_VER}
-.endif
-WRKSRC= ${WRKDIR}/ImageMagick-${IM_MAJOR_VER}
+# $NetBSD: Makefile,v 1.96 2003/04/16 13:27:21 mjl Exp $
+
+.include "./Makefile.common"
+
+PKGNAME= ImageMagick-${DISTSUFFIX}
+
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/ \
- http://imagemagick.sourceforge.net/http/
-EXTRACT_SUFX= .tar.bz2
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
@@ -52,14 +37,8 @@ GCC_REQD= 2.95.3
CFLAGS= -O
.endif
-# For things for which we do not specify an explicit dependency above, disable
-# so that we don't cause implicit "hidden" dependencies. Users may reenable
-# any of these manually as desired (PerlMagick should probably be a separate
-# pkg, however).
-CONFIGURE_ARGS+= --without-perl --without-dps --without-fpx \
- --without-hdf --without-jbig --without-threads \
- --without-ttf --without-wmf --without-xml \
- --without-lcms
+# Some configure_args come from Makefile.common
+CONFIGURE_ARGS+= --without-perl
post-install:
${INSTALL_DATA} ${WRKSRC}/Copyright.txt ${WRKSRC}/QuickStart.txt \
diff --git a/graphics/ImageMagick/Makefile.common b/graphics/ImageMagick/Makefile.common
new file mode 100644
index 00000000000..5402f2185f9
--- /dev/null
+++ b/graphics/ImageMagick/Makefile.common
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile.common,v 1.1 2003/04/16 13:27:21 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)
+DISTSUFFIX= ${IM_MAJOR_VER}-${IM_MINOR_VER}
+.else
+DISTSUFFIX= ${IM_MAJOR_VER}
+.endif
+
+DISTNAME= ImageMagick-${DISTSUFFIX}
+
+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
+
+# For things for which we do not specify an explicit dependency above, disable
+# so that we don't cause implicit "hidden" dependencies. Users may reenable
+# any of these manually as desired (PerlMagick should probably be a separate
+# pkg, however).
+CONFIGURE_ARGS+= --without-dps --without-fpx \
+ --without-hdf --without-jbig --without-threads \
+ --without-ttf --without-wmf --without-xml \
+ --without-lcms