pkgsrc/graphics/ImageMagick/Makefile
wiz aaed26ba98 ImageMagick: update to 7.0.10.19.
2020-06-12  7.0.10-19 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 7.0.10-19, GIT revision 17343:e552d22:20200612

2020-06-09  7.0.10-19 Cristy  <quetzlzacatenango@image...>
  * Improve checking for write failures (reference
    https://github.com/ImageMagick/ImageMagick/pull/2081).

2020-06-08  7.0.10-18 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 7.0.10-18, GIT revision 17333:d071c2032:20200608

2020-06-08  7.0.10-18 Cristy  <quetzlzacatenango@image...>
  * Colorspace change will remove ICC profile (reference
    https://github.com/ImageMagick/ImageMagick6/issues/82).

2020-06-07  7.0.10-17 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 7.0.10-17, GIT revision 17311:8b5350f:20200607

2020-06-03  7.0.10-17 Cristy  <quetzlzacatenango@image...>
  * Free up memory after a ICC profile is removed.

2020-05-31  7.0.10-16 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 7.0.10-16, GIT revision 17294:5be1abe:20200531

2020-05-30  7.0.10-16 Cristy  <quetzlzacatenango@image...>
  * Fix PDF XREF directory for image sequences with and without ICC profiles.

2020-05-29  7.0.10-15 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 7.0.10-15, GIT revision 17282:9294896:20200529

2020-05-24  7.0.10-15 Cristy  <quetzlzacatenango@image...>
  * Clipping was not returning expected results (reference
    https://github.com/ImageMagick/ImageMagick/discussions/2061).
  * Don't write a ICC profile to PDF if the image is gray (reference
    https://github.com/ImageMagick/ImageMagick/issues/2070).

2020-05-22  7.0.10-14 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 7.0.10-14, GIT revision 17268:e9c804c93:20200522

2020-05-22  7.0.10-14 Cristy  <quetzlzacatenango@image...>
  * Errant warning when reading a profile file (reference
    https://github.com/ImageMagick/ImageMagick/issues/2030).
   * Fix one off error on PDF object for images with ICC profile.
2020-06-19 10:31:06 +00:00

101 lines
3.7 KiB
Makefile

# $NetBSD: Makefile,v 1.270 2020/06/19 10:31:06 wiz Exp $
.include "Makefile.common"
PKGNAME= ImageMagick-${DISTVERSION}
MAINTAINER= adam@NetBSD.org
COMMENT= Package for display and interactive manipulation of images
CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate'
USE_LANGUAGES= c c++ c99
USE_TOOLS+= gmake pkg-config:run
CONFIGURE_ARGS+= --disable-assert
CONFIGURE_ARGS+= --with-fontconfig
CONFIGURE_ARGS+= --with-jpeg
CONFIGURE_ARGS+= --with-xml=yes
CONFIGURE_ARGS+= --without-perl
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
# This one used to be optional, but it depends on ghostscript even if it's
# disabled so having a way to disable it seems pointless.
CONFIGURE_ARGS+= --with-gslib
# http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=25475
CONFIGURE_ARGS.NetBSD+= --disable-openmp
PKGCONFIG_OVERRIDE+= MagickWand/MagickWand.pc.in
PKGCONFIG_OVERRIDE+= MagickCore/MagickCore.pc.in
PKGCONFIG_OVERRIDE+= MagickCore/ImageMagick.pc.in
PKGCONFIG_OVERRIDE+= Magick++/lib/Magick++.pc.in
GCC_REQD+= 2.95.3
TEST_TARGET= check
.include "options.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
GCC_REQD+= 3.0
.endif
# Avoid compiler bug on "mipsel" (cobalt?)
.if ${MACHINE_ARCH} == "mipsel"
CFLAGS+= -O
.endif
PKG_SYSCONFSUBDIR= ImageMagick-${IM_MAJOR_LIB_VER}
EGDIR= ${PREFIX}/share/examples/ImageMagick
CONF_FILES+= ${EGDIR}/colors.xml ${PKG_SYSCONFDIR}/colors.xml
CONF_FILES+= ${EGDIR}/delegates.xml ${PKG_SYSCONFDIR}/delegates.xml
CONF_FILES+= ${EGDIR}/log.xml ${PKG_SYSCONFDIR}/log.xml
CONF_FILES+= ${EGDIR}/mime.xml ${PKG_SYSCONFDIR}/mime.xml
CONF_FILES+= ${EGDIR}/policy.xml ${PKG_SYSCONFDIR}/policy.xml
CONF_FILES+= ${EGDIR}/thresholds.xml ${PKG_SYSCONFDIR}/thresholds.xml
CONF_FILES+= ${EGDIR}/type-dejavu.xml ${PKG_SYSCONFDIR}/type-dejavu.xml
CONF_FILES+= ${EGDIR}/type-ghostscript.xml ${PKG_SYSCONFDIR}/type-ghostscript.xml
CONF_FILES+= ${EGDIR}/type-windows.xml ${PKG_SYSCONFDIR}/type-windows.xml
CONF_FILES+= ${EGDIR}/type.xml ${PKG_SYSCONFDIR}/type.xml
SUBST_CLASSES+= fix-cfg
SUBST_STAGE.fix-cfg= pre-configure
SUBST_MESSAGE.fix-cfg= Fixing configure.xml.
SUBST_FILES.fix-cfg= config/configure.xml.in
SUBST_VARS.fix-cfg= CONFIGURE_ARGS
SUBST_CLASSES+= fix-etc
SUBST_STAGE.fix-etc= pre-configure
SUBST_MESSAGE.fix-etc= Handle configuration files.
SUBST_FILES.fix-etc= Makefile.in
SUBST_SED.fix-etc= -e 's,^configlibdir =.*,configlibdir = $$(DATA_DIR)/examples/ImageMagick,'
SUBST_CLASSES+= fix-tools
SUBST_STAGE.fix-tools= pre-install
SUBST_MESSAGE.fix-tools= Unwrapping tools path in delegate paths.
SUBST_FILES.fix-tools= config/delegates.xml
SUBST_SED.fix-tools= -e 's,${TOOLS_DIR},,g'
SUBST_CLASSES+= fix-pc
SUBST_STAGE.fix-pc= pre-configure
SUBST_MESSAGE.fix-pc= Unwrapping pkg-config path in installed helper tools.
SUBST_FILES.fix-pc+= Magick++/bin/Magick++-config.in
SUBST_FILES.fix-pc+= MagickCore/MagickCore-config.in
SUBST_FILES.fix-pc+= MagickWand/MagickWand-config.in
SUBST_SED.fix-pc= -e 's,@PKG_CONFIG@,pkg-config,g'
# failed to convert strong functions and variables: Invalid type identifier
CTF_FILES_SKIP+= lib/libMagickCore-7.Q16HDRI.so.*
CTF_FILES_SKIP+= lib/libMagickWand-7.Q16HDRI.so.*
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../print/ghostscript/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"