| @@ -1,35 +1,38 @@ | | | @@ -1,35 +1,38 @@ |
1 | # $NetBSD: Makefile,v 1.212 2014/10/10 15:17:22 prlw1 Exp $ | | 1 | # $NetBSD: Makefile,v 1.213 2014/10/12 18:55:14 dholland Exp $ |
2 | | | 2 | |
3 | .include "Makefile.common" | | 3 | .include "Makefile.common" |
4 | | | 4 | |
5 | PKGNAME= ImageMagick-${DISTVERSION} | | 5 | PKGNAME= ImageMagick-${DISTVERSION} |
6 | PKGREVISION= 3 | | 6 | PKGREVISION= 4 |
7 | | | 7 | |
8 | MAINTAINER= adam@NetBSD.org | | 8 | MAINTAINER= adam@NetBSD.org |
9 | COMMENT= Package for display and interactive manipulation of images | | 9 | COMMENT= Package for display and interactive manipulation of images |
10 | | | 10 | |
11 | CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate' | | 11 | CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate' |
12 | | | 12 | |
13 | USE_LANGUAGES= c c++ c99 | | 13 | USE_LANGUAGES= c c++ c99 |
14 | USE_TOOLS+= gmake pkg-config | | 14 | USE_TOOLS+= gmake pkg-config |
15 | CONFIGURE_ARGS+= --disable-assert | | 15 | CONFIGURE_ARGS+= --disable-assert |
16 | CONFIGURE_ARGS+= --with-fontconfig | | 16 | CONFIGURE_ARGS+= --with-fontconfig |
17 | CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include | | 17 | CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include |
18 | CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib | | 18 | CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib |
19 | CONFIGURE_ARGS+= --with-xml=yes | | 19 | CONFIGURE_ARGS+= --with-xml=yes |
20 | CONFIGURE_ARGS+= --disable-openmp | | 20 | CONFIGURE_ARGS+= --disable-openmp |
21 | CONFIGURE_ARGS+= --without-perl | | 21 | CONFIGURE_ARGS+= --without-perl |
22 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} | | 22 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} |
| | | 23 | # This one used to be optional, but it depends on ghostscript even if it's |
| | | 24 | # disabled so having a way to disable it seems pointless. |
| | | 25 | CONFIGURE_ARGS+= --with-gslib |
23 | PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in | | 26 | PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in |
24 | PKGCONFIG_OVERRIDE+= Magick++/lib/Magick++.pc.in | | 27 | PKGCONFIG_OVERRIDE+= Magick++/lib/Magick++.pc.in |
25 | PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in | | 28 | PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in |
26 | PKGCONFIG_OVERRIDE+= magick/MagickCore.pc.in | | 29 | PKGCONFIG_OVERRIDE+= magick/MagickCore.pc.in |
27 | PKGCONFIG_OVERRIDE+= wand/MagickWand.pc.in | | 30 | PKGCONFIG_OVERRIDE+= wand/MagickWand.pc.in |
28 | PKGCONFIG_OVERRIDE+= wand/Wand.pc.in | | 31 | PKGCONFIG_OVERRIDE+= wand/Wand.pc.in |
29 | | | 32 | |
30 | GCC_REQD+= 2.95.3 | | 33 | GCC_REQD+= 2.95.3 |
31 | | | 34 | |
32 | PLIST_SUBST+= IM_MAJOR_VER=${IM_MAJOR_VER:Q} | | 35 | PLIST_SUBST+= IM_MAJOR_VER=${IM_MAJOR_VER:Q} |
33 | PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER:Q} | | 36 | PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER:Q} |
34 | | | 37 | |
35 | TEST_TARGET= check | | 38 | TEST_TARGET= check |
| @@ -72,15 +75,16 @@ SUBST_MESSAGE.fix-etc= Handle configurat | | | @@ -72,15 +75,16 @@ SUBST_MESSAGE.fix-etc= Handle configurat |
72 | SUBST_FILES.fix-etc= Makefile.in | | 75 | SUBST_FILES.fix-etc= Makefile.in |
73 | SUBST_SED.fix-etc= -e 's,^configlibdir =.*,configlibdir = $$(DATA_DIR)/examples/ImageMagick,' | | 76 | SUBST_SED.fix-etc= -e 's,^configlibdir =.*,configlibdir = $$(DATA_DIR)/examples/ImageMagick,' |
74 | | | 77 | |
75 | .include "../../archivers/bzip2/buildlink3.mk" | | 78 | .include "../../archivers/bzip2/buildlink3.mk" |
76 | .include "../../archivers/xz/buildlink3.mk" | | 79 | .include "../../archivers/xz/buildlink3.mk" |
77 | .include "../../devel/libltdl/buildlink3.mk" | | 80 | .include "../../devel/libltdl/buildlink3.mk" |
78 | .include "../../fonts/fontconfig/buildlink3.mk" | | 81 | .include "../../fonts/fontconfig/buildlink3.mk" |
79 | .include "../../graphics/freetype2/buildlink3.mk" | | 82 | .include "../../graphics/freetype2/buildlink3.mk" |
80 | .include "../../graphics/lcms2/buildlink3.mk" | | 83 | .include "../../graphics/lcms2/buildlink3.mk" |
81 | .include "../../graphics/libwebp/buildlink3.mk" | | 84 | .include "../../graphics/libwebp/buildlink3.mk" |
82 | .include "../../graphics/png/buildlink3.mk" | | 85 | .include "../../graphics/png/buildlink3.mk" |
83 | .include "../../graphics/tiff/buildlink3.mk" | | 86 | .include "../../graphics/tiff/buildlink3.mk" |
84 | .include "../../math/fftw/buildlink3.mk" | | 87 | .include "../../math/fftw/buildlink3.mk" |
| | | 88 | .include "../../print/ghostscript/buildlink3.mk" |
85 | .include "../../textproc/libxml2/buildlink3.mk" | | 89 | .include "../../textproc/libxml2/buildlink3.mk" |
86 | .include "../../mk/bsd.pkg.mk" | | 90 | .include "../../mk/bsd.pkg.mk" |