pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import ImageMagick6
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Sun Aug 3 17:51:31 2025 +0200
Changeset: 3405ce7ce74445cd7a8fcfd1d5535499e0c98866
Modified Files:
Makefile
Added Files:
ImageMagick6/DESCR
ImageMagick6/Makefile
ImageMagick6/Makefile.common
ImageMagick6/PLIST
ImageMagick6/PLIST.doc
ImageMagick6/buildlink3.mk
ImageMagick6/distinfo
ImageMagick6/options.mk
ImageMagick6/patches/patch-Makefile.in
Log Message:
Import ImageMagick6
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3405ce7ce74445cd7a8fcfd1d5535499e0c98866
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ImageMagick6/DESCR | 14 ++
ImageMagick6/Makefile | 114 +++++++++++
ImageMagick6/Makefile.common | 31 +++
ImageMagick6/PLIST | 185 ++++++++++++++++++
ImageMagick6/PLIST.doc | 333 +++++++++++++++++++++++++++++++++
ImageMagick6/buildlink3.mk | 66 +++++++
ImageMagick6/distinfo | 6 +
ImageMagick6/options.mk | 96 ++++++++++
ImageMagick6/patches/patch-Makefile.in | 35 ++++
Makefile | 1 +
10 files changed, 881 insertions(+)
diffs:
diff --git a/ImageMagick6/DESCR b/ImageMagick6/DESCR
new file mode 100644
index 0000000000..b2d12a5544
--- /dev/null
+++ b/ImageMagick6/DESCR
@@ -0,0 +1,14 @@
+ImageMagick TM, is a package for display and interactive manipulation
+of images for the X Window System. It is written in C and interfaces
+to the X library, and therefore does not require any proprietary
+toolkit in order to compile. Although the software is copyrighted, it
+is available for free and can be redistributed without fee.
+
+The ImageMagick image display program can display an image on any
+workstation screen running an X server. It can read and write many of
+the more popular image formats including JPEG, TIFF, PNM, GIF, and
+Photo CD. In addition you can interactively resize, rotate, sharpen,
+color reduce, or add special effects to an image and save your
+completed work in the same or differing image format.
+
+This package tracks 6 release branch for backward compatibility.
diff --git a/ImageMagick6/Makefile b/ImageMagick6/Makefile
new file mode 100644
index 0000000000..696fc609ff
--- /dev/null
+++ b/ImageMagick6/Makefile
@@ -0,0 +1,114 @@
+# $NetBSD: Makefile,v 1.79 2025/04/24 14:14:10 wiz Exp $
+
+PKGREVISION= 9
+.include "Makefile.common"
+
+PKGNAME= ImageMagick6-${DISTVERSION}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+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++
+USE_TOOLS+= gmake pkg-config:run
+CONFIGURE_ARGS+= --disable-assert
+CONFIGURE_ARGS+= --with-xml=yes
+CONFIGURE_ARGS+= --without-perl
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
+CONFIGURE_ARGS+= --program-suffix=6
+# http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=25475
+CONFIGURE_ARGS.NetBSD+= --disable-openmp
+PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in
+PKGCONFIG_OVERRIDE+= Magick++/lib/Magick++.pc.in
+PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in
+PKGCONFIG_OVERRIDE+= magick/MagickCore.pc.in
+PKGCONFIG_OVERRIDE+= wand/MagickWand.pc.in
+PKGCONFIG_OVERRIDE+= wand/Wand.pc.in
+
+LDFLAGS.SunOS+= -lsendfile
+
+SUBST_CLASSES+= pkgcfg
+SUBST_FILES.pkgcfg= ${PKGCONFIG_OVERRIDE} Magick++/bin/Magick++-config.in
+SUBST_FILES.pkgcfg+= magick/Magick-config.in magick/MagickCore-config.in
+SUBST_FILES.pkgcfg+= wand/MagickWand-config.in wand/Wand-config.in
+SUBST_MESSAGE.pkgcfg= Fixing pkg-config requirements.
+SUBST_SED.pkgcfg= -e 's|MagickCore-config |MagickCore-config6 |g'
+SUBST_SED.pkgcfg+= -e 's|Wand-config|Wand-config6|g'
+SUBST_SED.pkgcfg+= -e 's|s MagickWand|s MagickWand-6.Q16|g'
+SUBST_SED.pkgcfg+= -e 's|s: MagickWand|s: MagickWand-6.Q16|g'
+SUBST_SED.pkgcfg+= -e 's|s MagickCore|s MagickCore-6.Q16|g'
+SUBST_SED.pkgcfg+= -e 's|s: MagickCore|s: MagickCore-6.Q16|g'
+SUBST_SED.pkgcfg+= -e 's|Magick++-config|Magick++-config6|g'
+SUBST_SED.pkgcfg+= -e 's|Magick-config |Magick-config6 |g'
+SUBST_SED.pkgcfg+= -e 's|s Magick++|s Magick++-6.Q16|g'
+SUBST_SED.pkgcfg+= -e 's|@PKG_CONFIG@|${PREFIX}/bin/pkg-config|g'
+SUBST_STAGE.pkgcfg= pre-configure
+SUBST_NOOP_OK.pkgcfg= yes
+# The files magick/ImageMagick.pc.in and magick/MagickCore.pc.in are not
+# modified, and they don't need to since their names don't appear in any
+# "Requires:" line.
+
+FORCE_C_STD= c99
+
+TEST_TARGET= check
+
+.include "options.mk"
+
+# Avoid compiler bug on "mipsel" (cobalt?)
+.if ${MACHINE_ARCH} == "mipsel"
+CFLAGS+= -O
+.endif
+
+PKG_SYSCONFSUBDIR= ImageMagick-${IM_MAJOR_LIB_VER}
+EGDIR= ${PREFIX}/share/examples/ImageMagick6
+CONF_FILES+= ${EGDIR}/coder.xml ${PKG_SYSCONFDIR}/coder.xml
+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}/magic.xml ${PKG_SYSCONFDIR}/magic.xml
+CONF_FILES+= ${EGDIR}/mime.xml ${PKG_SYSCONFDIR}/mime.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/ImageMagick6,'
+
+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'
+
+# failed to convert strong functions and variables: Invalid type identifier
+CTF_FILES_SKIP+= lib/libMagickCore-6.Q16.so.5.0.0
+CTF_FILES_SKIP+= lib/libMagickWand-6.Q16.so.5.0.0
+CTF_FILES_SKIP+= lib/libMagickCore-6.Q16.so.* # CPU limit exceeded
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/config/policy*xml ${DESTDIR}${EGDIR}
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../graphics/freetype2/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 "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ImageMagick6/Makefile.common b/ImageMagick6/Makefile.common
new file mode 100644
index 0000000000..02128443c6
--- /dev/null
+++ b/ImageMagick6/Makefile.common
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.common,v 1.19 2024/01/04 01:32:08 gutteridge Exp $
+
+IM_MAJOR_VER= 6.9.13
+IM_MINOR_VER= 3
+IM_MAJOR_LIB_VER= 6
+
+.if (${IM_MINOR_VER} != NONE)
+DISTSUFFIX= ${IM_MAJOR_VER}-${IM_MINOR_VER}
+.else
+DISTSUFFIX= ${IM_MAJOR_VER}
+.endif
+
+DISTNAME= ImageMagick-${DISTSUFFIX}
+DISTVERSION= ${DISTSUFFIX:S/-/./}
+
+CATEGORIES= graphics
+MASTER_SITES= https://imagemagick.org/archive/releases/
+EXTRACT_SUFX= .tar.xz
+
+HOMEPAGE= https://imagemagick.org/
+LICENSE= gnu-gpl-v3
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+# For things for which we do not specify an explicit dependency above, disable
+# so that we don't cause implicit "hidden" dependencies.
+CONFIGURE_ARGS+= --without-dps
+CONFIGURE_ARGS+= --without-gvc
+CONFIGURE_ARGS+= --without-jbig
+CONFIGURE_ARGS+= --without-lqr
+CONFIGURE_ARGS+= --without-modules
diff --git a/ImageMagick6/PLIST b/ImageMagick6/PLIST
new file mode 100644
index 0000000000..f6d674ad84
--- /dev/null
+++ b/ImageMagick6/PLIST
@@ -0,0 +1,185 @@
+@comment $NetBSD: PLIST,v 1.11 2024/01/01 02:15:27 gutteridge Exp $
+bin/Magick++-config6
+bin/Magick-config6
+bin/MagickCore-config6
+bin/MagickWand-config6
+bin/Wand-config6
+bin/animate6
+bin/compare6
+bin/composite6
+bin/conjure6
+bin/convert6
+bin/display6
+bin/identify6
+bin/import6
+bin/mogrify6
+bin/montage6
+bin/stream6
+include/ImageMagick-6/Magick++.h
+include/ImageMagick-6/Magick++/Blob.h
+include/ImageMagick-6/Magick++/ChannelMoments.h
+include/ImageMagick-6/Magick++/CoderInfo.h
+include/ImageMagick-6/Magick++/Color.h
+include/ImageMagick-6/Magick++/Drawable.h
+include/ImageMagick-6/Magick++/Exception.h
+include/ImageMagick-6/Magick++/Functions.h
+include/ImageMagick-6/Magick++/Geometry.h
+include/ImageMagick-6/Magick++/Image.h
+include/ImageMagick-6/Magick++/Include.h
+include/ImageMagick-6/Magick++/Montage.h
+include/ImageMagick-6/Magick++/Pixels.h
+include/ImageMagick-6/Magick++/ResourceLimits.h
+include/ImageMagick-6/Magick++/STL.h
+include/ImageMagick-6/Magick++/TypeMetric.h
+include/ImageMagick-6/magick/ImageMagick.h
+include/ImageMagick-6/magick/MagickCore.h
+include/ImageMagick-6/magick/animate.h
+include/ImageMagick-6/magick/annotate.h
+include/ImageMagick-6/magick/api.h
+include/ImageMagick-6/magick/artifact.h
+include/ImageMagick-6/magick/attribute.h
+include/ImageMagick-6/magick/blob.h
+include/ImageMagick-6/magick/cache-view.h
+include/ImageMagick-6/magick/cache.h
+include/ImageMagick-6/magick/channel.h
+include/ImageMagick-6/magick/cipher.h
+include/ImageMagick-6/magick/client.h
+include/ImageMagick-6/magick/coder.h
+include/ImageMagick-6/magick/color.h
+include/ImageMagick-6/magick/colormap.h
+include/ImageMagick-6/magick/colorspace.h
+include/ImageMagick-6/magick/compare.h
+include/ImageMagick-6/magick/composite.h
+include/ImageMagick-6/magick/compress.h
+include/ImageMagick-6/magick/configure.h
+include/ImageMagick-6/magick/constitute.h
+include/ImageMagick-6/magick/decorate.h
+include/ImageMagick-6/magick/delegate.h
+include/ImageMagick-6/magick/deprecate.h
+include/ImageMagick-6/magick/display.h
+include/ImageMagick-6/magick/distort.h
+include/ImageMagick-6/magick/distribute-cache.h
+include/ImageMagick-6/magick/draw.h
+include/ImageMagick-6/magick/effect.h
+include/ImageMagick-6/magick/enhance.h
+include/ImageMagick-6/magick/exception.h
+include/ImageMagick-6/magick/feature.h
+include/ImageMagick-6/magick/fourier.h
+include/ImageMagick-6/magick/fx.h
+include/ImageMagick-6/magick/gem.h
+include/ImageMagick-6/magick/geometry.h
+include/ImageMagick-6/magick/hashmap.h
+include/ImageMagick-6/magick/histogram.h
+include/ImageMagick-6/magick/identify.h
+include/ImageMagick-6/magick/image-view.h
+include/ImageMagick-6/magick/image.h
+include/ImageMagick-6/magick/layer.h
+include/ImageMagick-6/magick/list.h
+include/ImageMagick-6/magick/locale_.h
+include/ImageMagick-6/magick/log.h
+include/ImageMagick-6/magick/magic.h
+include/ImageMagick-6/magick/magick-baseconfig.h
+include/ImageMagick-6/magick/magick-config.h
+include/ImageMagick-6/magick/magick-type.h
+include/ImageMagick-6/magick/magick.h
+include/ImageMagick-6/magick/matrix.h
+include/ImageMagick-6/magick/memory_.h
+include/ImageMagick-6/magick/method-attribute.h
+include/ImageMagick-6/magick/methods.h
+include/ImageMagick-6/magick/mime.h
+include/ImageMagick-6/magick/module.h
+include/ImageMagick-6/magick/monitor.h
+include/ImageMagick-6/magick/montage.h
+include/ImageMagick-6/magick/morphology.h
+include/ImageMagick-6/magick/opencl.h
+include/ImageMagick-6/magick/option.h
+include/ImageMagick-6/magick/paint.h
+include/ImageMagick-6/magick/pixel-accessor.h
+include/ImageMagick-6/magick/pixel.h
+include/ImageMagick-6/magick/policy.h
+include/ImageMagick-6/magick/prepress.h
+include/ImageMagick-6/magick/profile.h
+include/ImageMagick-6/magick/property.h
+include/ImageMagick-6/magick/quantize.h
+include/ImageMagick-6/magick/quantum.h
+include/ImageMagick-6/magick/random_.h
+include/ImageMagick-6/magick/registry.h
+include/ImageMagick-6/magick/resample.h
+include/ImageMagick-6/magick/resize.h
+include/ImageMagick-6/magick/resource_.h
+include/ImageMagick-6/magick/segment.h
+include/ImageMagick-6/magick/semaphore.h
+include/ImageMagick-6/magick/shear.h
+include/ImageMagick-6/magick/signature.h
+include/ImageMagick-6/magick/splay-tree.h
+include/ImageMagick-6/magick/static.h
+include/ImageMagick-6/magick/statistic.h
+include/ImageMagick-6/magick/stream.h
+include/ImageMagick-6/magick/string_.h
+include/ImageMagick-6/magick/studio.h
+include/ImageMagick-6/magick/threshold.h
+include/ImageMagick-6/magick/timer.h
+include/ImageMagick-6/magick/token.h
+include/ImageMagick-6/magick/transform.h
+include/ImageMagick-6/magick/type.h
+include/ImageMagick-6/magick/utility.h
+include/ImageMagick-6/magick/version.h
+include/ImageMagick-6/magick/vision.h
+include/ImageMagick-6/magick/visual-effects.h
+include/ImageMagick-6/magick/widget.h
+include/ImageMagick-6/magick/xml-tree.h
+include/ImageMagick-6/magick/xwindow.h
+include/ImageMagick-6/wand/MagickWand.h
+include/ImageMagick-6/wand/animate.h
+include/ImageMagick-6/wand/compare.h
+include/ImageMagick-6/wand/composite.h
+include/ImageMagick-6/wand/conjure.h
+include/ImageMagick-6/wand/convert.h
+include/ImageMagick-6/wand/deprecate.h
+include/ImageMagick-6/wand/display.h
+include/ImageMagick-6/wand/drawing-wand.h
+include/ImageMagick-6/wand/identify.h
+include/ImageMagick-6/wand/import.h
+include/ImageMagick-6/wand/magick-image.h
+include/ImageMagick-6/wand/magick-property.h
+include/ImageMagick-6/wand/magick-wand.h
+include/ImageMagick-6/wand/magick_wand.h
+include/ImageMagick-6/wand/method-attribute.h
+include/ImageMagick-6/wand/mogrify.h
+include/ImageMagick-6/wand/montage.h
+include/ImageMagick-6/wand/pixel-iterator.h
+include/ImageMagick-6/wand/pixel-wand.h
+include/ImageMagick-6/wand/stream.h
+include/ImageMagick-6/wand/wand-view.h
+lib/ImageMagick-6.9.13/config-Q16/configure.xml
+lib/libMagick++-6.Q16.la
+lib/libMagickCore-6.Q16.la
+lib/libMagickWand-6.Q16.la
+lib/pkgconfig/ImageMagick++-6.Q16.pc
+lib/pkgconfig/ImageMagick-6.Q16.pc
+lib/pkgconfig/Magick++-6.Q16.pc
+lib/pkgconfig/MagickCore-6.Q16.pc
+lib/pkgconfig/MagickWand-6.Q16.pc
+lib/pkgconfig/Wand-6.Q16.pc
+share/ImageMagick-6/english.xml
+share/ImageMagick-6/francais.xml
+share/ImageMagick-6/locale.xml
+share/examples/ImageMagick6/coder.xml
+share/examples/ImageMagick6/colors.xml
+share/examples/ImageMagick6/delegates.xml
+share/examples/ImageMagick6/log.xml
+share/examples/ImageMagick6/magic.xml
+share/examples/ImageMagick6/mime.xml
+share/examples/ImageMagick6/policy-limited.xml
+share/examples/ImageMagick6/policy-open.xml
+share/examples/ImageMagick6/policy-secure.xml
+share/examples/ImageMagick6/policy-websafe.xml
+share/examples/ImageMagick6/policy.xml
+share/examples/ImageMagick6/quantization-table.xml
+share/examples/ImageMagick6/thresholds.xml
+share/examples/ImageMagick6/type-apple.xml
+share/examples/ImageMagick6/type-dejavu.xml
+share/examples/ImageMagick6/type-ghostscript.xml
+share/examples/ImageMagick6/type-urw-base35.xml
+share/examples/ImageMagick6/type-windows.xml
+share/examples/ImageMagick6/type.xml
diff --git a/ImageMagick6/PLIST.doc b/ImageMagick6/PLIST.doc
new file mode 100644
index 0000000000..e057f35edf
--- /dev/null
+++ b/ImageMagick6/PLIST.doc
@@ -0,0 +1,333 @@
+@comment $NetBSD: PLIST.doc,v 1.2 2023/07/22 10:09:06 adam Exp $
+man/man1/ImageMagick6.1
+man/man1/Magick++-config6.1
+man/man1/Magick-config6.1
+man/man1/MagickCore-config6.1
+man/man1/MagickWand-config6.1
+man/man1/Wand-config6.1
+man/man1/animate6.1
+man/man1/compare6.1
+man/man1/composite6.1
+man/man1/conjure6.1
+man/man1/convert6.1
+man/man1/display6.1
+man/man1/identify6.1
+man/man1/import6.1
+man/man1/mogrify6.1
+man/man1/montage6.1
+man/man1/stream6.1
+share/doc/ImageMagick-6/LICENSE
+share/doc/ImageMagick-6/NEWS.txt
+share/doc/ImageMagick-6/images/ImageMagick.ico
+share/doc/ImageMagick-6/images/affine.png
+share/doc/ImageMagick-6/images/annotate.png
+share/doc/ImageMagick-6/images/arc.png
+share/doc/ImageMagick-6/images/atop.gif
+share/doc/ImageMagick-6/images/background.jpg
+share/doc/ImageMagick-6/images/bitcoin.svg
+share/doc/ImageMagick-6/images/black.png
+share/doc/ImageMagick-6/images/bluebells_clipped.jpg
+share/doc/ImageMagick-6/images/bluebells_darker.jpg
+share/doc/ImageMagick-6/images/bluebells_lin.jpg
+share/doc/ImageMagick-6/images/bluebells_log.jpg
+share/doc/ImageMagick-6/images/button.gif
+share/doc/ImageMagick-6/images/configure.jpg
+share/doc/ImageMagick-6/images/cylinder_shaded.png
+share/doc/ImageMagick-6/images/difference.png
+share/doc/ImageMagick-6/images/donate.png
+share/doc/ImageMagick-6/images/examples.jpg
+share/doc/ImageMagick-6/images/frame.jpg
+share/doc/ImageMagick-6/images/fuzzy-magick.png
+share/doc/ImageMagick-6/images/gaussian-blur.png
+share/doc/ImageMagick-6/images/granite.png
+share/doc/ImageMagick-6/images/imade_art2.jpg
+share/doc/ImageMagick-6/images/julia-set.png
+share/doc/ImageMagick-6/images/label.gif
+share/doc/ImageMagick-6/images/logo-sm-flop.png
+share/doc/ImageMagick-6/images/logo-sm-fx.png
+share/doc/ImageMagick-6/images/logo-sm.png
+share/doc/ImageMagick-6/images/logo.jpg
+share/doc/ImageMagick-6/images/logo.png
+share/doc/ImageMagick-6/images/montage.jpg
+share/doc/ImageMagick-6/images/navy.png
+share/doc/ImageMagick-6/images/networkredux.png
+share/doc/ImageMagick-6/images/objects.gif
+share/doc/ImageMagick-6/images/objects.jpg
+share/doc/ImageMagick-6/images/objects.png
+share/doc/ImageMagick-6/images/over.gif
+share/doc/ImageMagick-6/images/patterns/bricks.png
+share/doc/ImageMagick-6/images/patterns/checkerboard.png
+share/doc/ImageMagick-6/images/patterns/circles.png
+share/doc/ImageMagick-6/images/patterns/crosshatch.png
+share/doc/ImageMagick-6/images/patterns/crosshatch30.png
+share/doc/ImageMagick-6/images/patterns/crosshatch45.png
+share/doc/ImageMagick-6/images/patterns/fishscales.png
+share/doc/ImageMagick-6/images/patterns/gray0.png
+share/doc/ImageMagick-6/images/patterns/gray10.png
+share/doc/ImageMagick-6/images/patterns/gray100.png
+share/doc/ImageMagick-6/images/patterns/gray15.png
+share/doc/ImageMagick-6/images/patterns/gray20.png
+share/doc/ImageMagick-6/images/patterns/gray25.png
+share/doc/ImageMagick-6/images/patterns/gray30.png
+share/doc/ImageMagick-6/images/patterns/gray35.png
+share/doc/ImageMagick-6/images/patterns/gray40.png
+share/doc/ImageMagick-6/images/patterns/gray45.png
+share/doc/ImageMagick-6/images/patterns/gray5.png
+share/doc/ImageMagick-6/images/patterns/gray50.png
+share/doc/ImageMagick-6/images/patterns/gray55.png
+share/doc/ImageMagick-6/images/patterns/gray60.png
+share/doc/ImageMagick-6/images/patterns/gray65.png
+share/doc/ImageMagick-6/images/patterns/gray70.png
+share/doc/ImageMagick-6/images/patterns/gray75.png
+share/doc/ImageMagick-6/images/patterns/gray80.png
+share/doc/ImageMagick-6/images/patterns/gray85.png
+share/doc/ImageMagick-6/images/patterns/gray90.png
+share/doc/ImageMagick-6/images/patterns/gray95.png
+share/doc/ImageMagick-6/images/patterns/hexagons.png
+share/doc/ImageMagick-6/images/patterns/horizontal.png
+share/doc/ImageMagick-6/images/patterns/horizontal2.png
+share/doc/ImageMagick-6/images/patterns/horizontal3.png
+share/doc/ImageMagick-6/images/patterns/horizontalsaw.png
+share/doc/ImageMagick-6/images/patterns/hs_bdiagonal.png
+share/doc/ImageMagick-6/images/patterns/hs_cross.png
+share/doc/ImageMagick-6/images/patterns/hs_diagcross.png
+share/doc/ImageMagick-6/images/patterns/hs_fdiagonal.png
+share/doc/ImageMagick-6/images/patterns/hs_horizontal.png
+share/doc/ImageMagick-6/images/patterns/hs_vertical.png
+share/doc/ImageMagick-6/images/patterns/left30.png
+share/doc/ImageMagick-6/images/patterns/left45.png
+share/doc/ImageMagick-6/images/patterns/leftshingle.png
+share/doc/ImageMagick-6/images/patterns/octagons.png
+share/doc/ImageMagick-6/images/patterns/right30.png
+share/doc/ImageMagick-6/images/patterns/right45.png
+share/doc/ImageMagick-6/images/patterns/rightshingle.png
+share/doc/ImageMagick-6/images/patterns/smallfishscales.png
+share/doc/ImageMagick-6/images/patterns/vertical.png
+share/doc/ImageMagick-6/images/patterns/vertical2.png
+share/doc/ImageMagick-6/images/patterns/vertical3.png
+share/doc/ImageMagick-6/images/patterns/verticalbricks.png
+share/doc/ImageMagick-6/images/patterns/verticalleftshingle.png
+share/doc/ImageMagick-6/images/patterns/verticalrightshingle.png
+share/doc/ImageMagick-6/images/patterns/verticalsaw.png
+share/doc/ImageMagick-6/images/piechart.png
+share/doc/ImageMagick-6/images/radial-gradient.png
+share/doc/ImageMagick-6/images/reconstruct.jpg
+share/doc/ImageMagick-6/images/red-ball.png
+share/doc/ImageMagick-6/images/red-circle.png
+share/doc/ImageMagick-6/images/right.gif
+share/doc/ImageMagick-6/images/rose-over.png
+share/doc/ImageMagick-6/images/rose-sigmoidal.png
+share/doc/ImageMagick-6/images/rose.jpg
+share/doc/ImageMagick-6/images/rose.png
+share/doc/ImageMagick-6/images/rose.pnm
+share/doc/ImageMagick-6/images/script.png
+share/doc/ImageMagick-6/images/smile.gif
+share/doc/ImageMagick-6/images/sponsor.jpg
+share/doc/ImageMagick-6/images/sprite.jpg
+share/doc/ImageMagick-6/images/t-shirt.png
+share/doc/ImageMagick-6/images/transloadit.png
+share/doc/ImageMagick-6/images/wand.ico
+share/doc/ImageMagick-6/images/wand.png
+share/doc/ImageMagick-6/images/white-highlight.png
+share/doc/ImageMagick-6/images/wizard.jpg
+share/doc/ImageMagick-6/images/wizard.png
+share/doc/ImageMagick-6/index.html
+share/doc/ImageMagick-6/www/Magick++/Blob.html
+share/doc/ImageMagick-6/www/Magick++/Cache.fig
+share/doc/ImageMagick-6/www/Magick++/Cache.png
+share/doc/ImageMagick-6/www/Magick++/Cache.svg
+share/doc/ImageMagick-6/www/Magick++/ChangeLog.html
+share/doc/ImageMagick-6/www/Magick++/CoderInfo.html
+share/doc/ImageMagick-6/www/Magick++/Color.html
+share/doc/ImageMagick-6/www/Magick++/Documentation.html
+share/doc/ImageMagick-6/www/Magick++/Drawable.html
+share/doc/ImageMagick-6/www/Magick++/Drawable_example_1.png
+share/doc/ImageMagick-6/www/Magick++/Enumerations.html
+share/doc/ImageMagick-6/www/Magick++/Exception.html
+share/doc/ImageMagick-6/www/Magick++/FormatCharacters.html
+share/doc/ImageMagick-6/www/Magick++/Future.html
+share/doc/ImageMagick-6/www/Magick++/Geometry.html
+share/doc/ImageMagick-6/www/Magick++/Image++.html
+share/doc/ImageMagick-6/www/Magick++/Image.fig
+share/doc/ImageMagick-6/www/Magick++/Image.html
+share/doc/ImageMagick-6/www/Magick++/Image.png
+share/doc/ImageMagick-6/www/Magick++/ImageDesign.html
+share/doc/ImageMagick-6/www/Magick++/ImageMagick.png
+share/doc/ImageMagick-6/www/Magick++/Install.html
+share/doc/ImageMagick-6/www/Magick++/Magick++.png
+share/doc/ImageMagick-6/www/Magick++/Montage.html
+share/doc/ImageMagick-6/www/Magick++/NEWS.html
+share/doc/ImageMagick-6/www/Magick++/PixelPacket.html
+share/doc/ImageMagick-6/www/Magick++/Pixels.html
+share/doc/ImageMagick-6/www/Magick++/README.txt
+share/doc/ImageMagick-6/www/Magick++/STL.html
+share/doc/ImageMagick-6/www/Magick++/TypeMetric.html
+share/doc/ImageMagick-6/www/Magick++/index.html
+share/doc/ImageMagick-6/www/Magick++/magick.css
+share/doc/ImageMagick-6/www/Magick++/montage-sample-framed.jpg
+share/doc/ImageMagick-6/www/Magick++/right_triangle.png
+share/doc/ImageMagick-6/www/Magick++/thumbnail-anatomy-framed.fig
+share/doc/ImageMagick-6/www/Magick++/thumbnail-anatomy-framed.jpg
+share/doc/ImageMagick-6/www/Magick++/thumbnail-anatomy-plain.fig
+share/doc/ImageMagick-6/www/Magick++/thumbnail-anatomy-plain.jpg
+share/doc/ImageMagick-6/www/Magick++/thumbnail-sample-framed.jpg
+share/doc/ImageMagick-6/www/Magick++/thumbnail-sample-plain.jpg
+share/doc/ImageMagick-6/www/advanced-linux-installation.html
+share/doc/ImageMagick-6/www/advanced-unix-installation.html
+share/doc/ImageMagick-6/www/advanced-windows-installation.html
+share/doc/ImageMagick-6/www/animate.html
+share/doc/ImageMagick-6/www/api/Image++.html
+share/doc/ImageMagick-6/www/api/animate.html
+share/doc/ImageMagick-6/www/api/annotate.html
+share/doc/ImageMagick-6/www/api/attribute.html
+share/doc/ImageMagick-6/www/api/blob.html
+share/doc/ImageMagick-6/www/api/cache-view.html
+share/doc/ImageMagick-6/www/api/cache.html
+share/doc/ImageMagick-6/www/api/channel.html
+share/doc/ImageMagick-6/www/api/cipher.html
+share/doc/ImageMagick-6/www/api/color.html
+share/doc/ImageMagick-6/www/api/colormap.html
+share/doc/ImageMagick-6/www/api/colorspace.html
+share/doc/ImageMagick-6/www/api/compare.html
+share/doc/ImageMagick-6/www/api/composite.html
+share/doc/ImageMagick-6/www/api/constitute.html
+share/doc/ImageMagick-6/www/api/decorate.html
+share/doc/ImageMagick-6/www/api/deprecate.html
+share/doc/ImageMagick-6/www/api/display.html
+share/doc/ImageMagick-6/www/api/distort.html
+share/doc/ImageMagick-6/www/api/draw.html
+share/doc/ImageMagick-6/www/api/drawing-wand.html
+share/doc/ImageMagick-6/www/api/effect.html
+share/doc/ImageMagick-6/www/api/enhance.html
+share/doc/ImageMagick-6/www/api/exception.html
+share/doc/ImageMagick-6/www/api/feature.html
+share/doc/ImageMagick-6/www/api/fourier.html
+share/doc/ImageMagick-6/www/api/fx.html
+share/doc/ImageMagick-6/www/api/histogram.html
+share/doc/ImageMagick-6/www/api/image-view.html
+share/doc/ImageMagick-6/www/api/image.html
+share/doc/ImageMagick-6/www/api/layer.html
+share/doc/ImageMagick-6/www/api/list.html
+share/doc/ImageMagick-6/www/api/magick++-classes.html
+share/doc/ImageMagick-6/www/api/magick-deprecate.html
+share/doc/ImageMagick-6/www/api/magick-image.html
+share/doc/ImageMagick-6/www/api/magick-property.html
+share/doc/ImageMagick-6/www/api/magick-wand.html
+share/doc/ImageMagick-6/www/api/magick.html
+share/doc/ImageMagick-6/www/api/memory.html
+share/doc/ImageMagick-6/www/api/mime.html
+share/doc/ImageMagick-6/www/api/module.html
+share/doc/ImageMagick-6/www/api/mogrify.html
+share/doc/ImageMagick-6/www/api/monitor.html
+share/doc/ImageMagick-6/www/api/montage.html
+share/doc/ImageMagick-6/www/api/morphology.html
+share/doc/ImageMagick-6/www/api/paint.html
+share/doc/ImageMagick-6/www/api/pixel-iterator.html
+share/doc/ImageMagick-6/www/api/pixel-wand.html
+share/doc/ImageMagick-6/www/api/profile.html
+share/doc/ImageMagick-6/www/api/property.html
+share/doc/ImageMagick-6/www/api/quantize.html
+share/doc/ImageMagick-6/www/api/registry.html
+share/doc/ImageMagick-6/www/api/resize.html
+share/doc/ImageMagick-6/www/api/resource.html
+share/doc/ImageMagick-6/www/api/segment.html
+share/doc/ImageMagick-6/www/api/shear.html
+share/doc/ImageMagick-6/www/api/signature.html
+share/doc/ImageMagick-6/www/api/statistic.html
+share/doc/ImageMagick-6/www/api/stream.html
+share/doc/ImageMagick-6/www/api/transform.html
+share/doc/ImageMagick-6/www/api/version.html
+share/doc/ImageMagick-6/www/api/wand-view.html
+share/doc/ImageMagick-6/www/architecture.html
+share/doc/ImageMagick-6/www/assets/magick.css
+share/doc/ImageMagick-6/www/assets/magick.js
+share/doc/ImageMagick-6/www/changelog.html
+share/doc/ImageMagick-6/www/cipher.html
+share/doc/ImageMagick-6/www/cite.html
+share/doc/ImageMagick-6/www/color-management.html
+share/doc/ImageMagick-6/www/color.html
+share/doc/ImageMagick-6/www/command-line-options.html
+share/doc/ImageMagick-6/www/command-line-processing.html
+share/doc/ImageMagick-6/www/command-line-tools.html
+share/doc/ImageMagick-6/www/compare.html
+share/doc/ImageMagick-6/www/compose.html
+share/doc/ImageMagick-6/www/composite.html
+share/doc/ImageMagick-6/www/conjure.html
+share/doc/ImageMagick-6/www/connected-components.html
+share/doc/ImageMagick-6/www/contact.html
+share/doc/ImageMagick-6/www/convert.html
+share/doc/ImageMagick-6/www/defines.html
+share/doc/ImageMagick-6/www/develop.html
+share/doc/ImageMagick-6/www/display.html
+share/doc/ImageMagick-6/www/distribute-pixel-cache.html
+share/doc/ImageMagick-6/www/download.html
+share/doc/ImageMagick-6/www/escape.html
+share/doc/ImageMagick-6/www/examples.html
+share/doc/ImageMagick-6/www/exception.html
+share/doc/ImageMagick-6/www/export.html
+share/doc/ImageMagick-6/www/favicon.ico
+share/doc/ImageMagick-6/www/formats.html
+share/doc/ImageMagick-6/www/fx.html
+share/doc/ImageMagick-6/www/gradient.html
+share/doc/ImageMagick-6/www/high-dynamic-range.html
+share/doc/ImageMagick-6/www/history.html
+share/doc/ImageMagick-6/www/identify.html
+share/doc/ImageMagick-6/www/import.html
+share/doc/ImageMagick-6/www/index.html
+share/doc/ImageMagick-6/www/install-source.html
+share/doc/ImageMagick-6/www/jp2.html
+share/doc/ImageMagick-6/www/license.html
+share/doc/ImageMagick-6/www/links.html
+share/doc/ImageMagick-6/www/magick++.html
+share/doc/ImageMagick-6/www/magick-core.html
+share/doc/ImageMagick-6/www/magick-script.html
+share/doc/ImageMagick-6/www/magick-vector-graphics.html
+share/doc/ImageMagick-6/www/magick-wand.html
+share/doc/ImageMagick-6/www/magick.html
+share/doc/ImageMagick-6/www/miff.html
+share/doc/ImageMagick-6/www/mirror.html
+share/doc/ImageMagick-6/www/mogrify.html
+share/doc/ImageMagick-6/www/montage.html
+share/doc/ImageMagick-6/www/motion-picture.html
+share/doc/ImageMagick-6/www/news.html
+share/doc/ImageMagick-6/www/opencl.html
+share/doc/ImageMagick-6/www/openmp.html
+share/doc/ImageMagick-6/www/perl-magick.html
+share/doc/ImageMagick-6/www/porting.html
+share/doc/ImageMagick-6/www/quantize.html
+share/doc/ImageMagick-6/www/resources.html
+share/doc/ImageMagick-6/www/search.html
+share/doc/ImageMagick-6/www/security-policy.html
+share/doc/ImageMagick-6/www/sitemap.html
+share/doc/ImageMagick-6/www/source/analyze.c
+share/doc/ImageMagick-6/www/source/coder.xml
+share/doc/ImageMagick-6/www/source/colors.xml
+share/doc/ImageMagick-6/www/source/configure.xml
+share/doc/ImageMagick-6/www/source/contrast.c
+share/doc/ImageMagick-6/www/source/core.c
+share/doc/ImageMagick-6/www/source/delegates.xml
+share/doc/ImageMagick-6/www/source/english.xml
+share/doc/ImageMagick-6/www/source/examples.pl
+share/doc/ImageMagick-6/www/source/francais.xml
+share/doc/ImageMagick-6/www/source/incantation.msl
+share/doc/ImageMagick-6/www/source/locale.xml
+share/doc/ImageMagick-6/www/source/log.xml
+share/doc/ImageMagick-6/www/source/magic.xml
+share/doc/ImageMagick-6/www/source/mgk.c
+share/doc/ImageMagick-6/www/source/mime.xml
+share/doc/ImageMagick-6/www/source/piechart.mvg
+share/doc/ImageMagick-6/www/source/piechart.svg
+share/doc/ImageMagick-6/www/source/policy.xml
+share/doc/ImageMagick-6/www/source/quantization-table.xml
+share/doc/ImageMagick-6/www/source/thresholds.xml
+share/doc/ImageMagick-6/www/source/type-apple.xml
+share/doc/ImageMagick-6/www/source/type-dejavu.xml
+share/doc/ImageMagick-6/www/source/type-ghostscript.xml
+share/doc/ImageMagick-6/www/source/type-urw-base35.xml
+share/doc/ImageMagick-6/www/source/type-windows.xml
+share/doc/ImageMagick-6/www/source/type.xml
+share/doc/ImageMagick-6/www/source/wand.c
+share/doc/ImageMagick-6/www/stream.html
+share/doc/ImageMagick-6/www/support.html
+share/doc/ImageMagick-6/www/wand.png
+share/doc/ImageMagick-6/www/webp.html
diff --git a/ImageMagick6/buildlink3.mk b/ImageMagick6/buildlink3.mk
new file mode 100644
index 0000000000..e5bb4802ba
--- /dev/null
+++ b/ImageMagick6/buildlink3.mk
@@ -0,0 +1,66 @@
+# $NetBSD: buildlink3.mk,v 1.52 2025/04/24 14:14:10 wiz Exp $
+
+BUILDLINK_TREE+= ImageMagick6
+
+.if !defined(IMAGEMAGICK6_BUILDLINK3_MK)
+IMAGEMAGICK6_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ImageMagick6+= ImageMagick6>=5.5.7.11nb1
+BUILDLINK_ABI_DEPENDS.ImageMagick6+= ImageMagick6>=6.9.13.3nb9
+BUILDLINK_PKGSRCDIR.ImageMagick6?= ../../graphics/ImageMagick6
+pkgbase := ImageMagick6
+.include "../../mk/pkg-build-options.mk"
+
+.if ${PKG_BUILD_OPTIONS.ImageMagick6:Mdjvu}
+.include "../../graphics/djvulibre-lib/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.ImageMagick6:Mfontconfig}
+.include "../../fonts/fontconfig/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.ImageMagick6:Mghostscript}
+.include "../../print/ghostscript/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.ImageMagick6:Mjp2}
+.include "../../graphics/openjpeg/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.ImageMagick6:Mopenexr}
+.include "../../graphics/openexr/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.ImageMagick6:Mwmf}
+.include "../../graphics/libwmf/buildlink3.mk"
+.endif
+.if ${PKG_BUILD_OPTIONS.ImageMagick6:Mx11}
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.endif
+
+.PHONY: ImageMagick6-preconfigure
+pre-configure: ImageMagick6-preconfigure
+ImageMagick6-preconfigure:
+ cp ${PREFIX}/lib/pkgconfig/ImageMagick++-6.Q16.pc \
+ ${BUILDLINK_DIR}/lib/pkgconfig/ImageMagick++.pc
+ cp ${PREFIX}/lib/pkgconfig/ImageMagick-6.Q16.pc \
+ ${BUILDLINK_DIR}/lib/pkgconfig/ImageMagick.pc
+ cp ${PREFIX}/lib/pkgconfig/Magick++-6.Q16.pc \
+ ${BUILDLINK_DIR}/lib/pkgconfig/Magick++.pc
+ cp ${PREFIX}/lib/pkgconfig/MagickCore-6.Q16.pc \
+ ${BUILDLINK_DIR}/lib/pkgconfig/MagickCore.pc
+ cp ${PREFIX}/lib/pkgconfig/MagickWand-6.Q16.pc \
+ ${BUILDLINK_DIR}/lib/pkgconfig/MagickWand.pc
+ cp ${PREFIX}/lib/pkgconfig/Wand-6.Q16.pc \
+ ${BUILDLINK_DIR}/lib/pkgconfig/Wand.pc
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../graphics/freetype2/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 "../../textproc/libxml2/buildlink3.mk"
+.endif # IMAGEMAGICK6_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ImageMagick6
diff --git a/ImageMagick6/distinfo b/ImageMagick6/distinfo
new file mode 100644
index 0000000000..a6b4050e24
--- /dev/null
+++ b/ImageMagick6/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.17 2024/01/04 01:32:08 gutteridge Exp $
+
+BLAKE2s (ImageMagick-6.9.13-3.tar.xz) = eef042b1cc600c0e6549943b3dc7889a59b2d307f8793cd3b795c5ca34daf486
+SHA512 (ImageMagick-6.9.13-3.tar.xz) = 3e061c8a7bec0c49db9e990858257ff092500430d382bcad0c76aaa8d531bd2c13b727a52f060fc6051a0217f41f254570d23a4301c15a7af547e13f148a4ca9
+Size (ImageMagick-6.9.13-3.tar.xz) = 9616088 bytes
+SHA1 (patch-Makefile.in) = 8360c4e0903bdbc73dd40f9a466f40996c53ce44
diff --git a/ImageMagick6/options.mk b/ImageMagick6/options.mk
new file mode 100644
index 0000000000..956969daf3
--- /dev/null
+++ b/ImageMagick6/options.mk
@@ -0,0 +1,96 @@
+# $NetBSD: options.mk,v 1.9 2024/04/02 22:37:53 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ImageMagick6
+PKG_SUPPORTED_OPTIONS= doc fontconfig ghostscript x11 jp2 djvu openexr
+PKG_SUPPORTED_OPTIONS+= wmf fpx pango
+PKG_OPTIONS_REQUIRED_GROUPS= policy
+PKG_OPTIONS_GROUP.policy= imagemagick-policy-limited imagemagick-policy-open imagemagick-policy-secure imagemagick-policy-websafe
+PKG_SUGGESTED_OPTIONS= doc fontconfig ghostscript x11 jp2 imagemagick-policy-open pango
+PKG_OPTIONS_LEGACY_OPTS+= jasper:jp2
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_SRC+= PLIST
+
+.if !empty(PKG_OPTIONS:Mdoc)
+PLIST_SRC+= PLIST.doc
+.else
+CONFIGURE_ARGS+= --disable-docs
+.endif
+
+.if !empty(PKG_OPTIONS:Mfontconfig)
+CONFIGURE_ARGS+= --with-fontconfig
+.include "../../fonts/fontconfig/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-fontconfig
+.endif
+
+.if !empty(PKG_OPTIONS:Mghostscript)
+CONFIGURE_ARGS+= --with-gslib
+.include "../../print/ghostscript/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-gslib
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-x
+.endif
+
+.if !empty(PKG_OPTIONS:Mjp2)
+.include "../../graphics/openjpeg/buildlink3.mk"
+CONFIGURE_ARGS+= --with-openjp2
+.else
+CONFIGURE_ARGS+= --without-openjp2
+.endif
+
+.if !empty(PKG_OPTIONS:Mdjvu)
+.include "../../graphics/djvulibre-lib/buildlink3.mk"
+CONFIGURE_ARGS+= --with-djvu
+.else
+CONFIGURE_ARGS+= --without-djvu
+.endif
+
+.if !empty(PKG_OPTIONS:Mopenexr)
+.include "../../graphics/openexr/buildlink3.mk"
+CONFIGURE_ARGS+= --with-openexr
+.else
+CONFIGURE_ARGS+= --without-openexr
+.endif
+
+.if !empty(PKG_OPTIONS:Mwmf)
+.include "../../graphics/libwmf/buildlink3.mk"
+CONFIGURE_ARGS+= --with-wmf
+.else
+CONFIGURE_ARGS+= --without-wmf
+.endif
+
+.if !empty(PKG_OPTIONS:Mfpx)
+.include "../../graphics/libfpx/buildlink3.mk"
+CONFIGURE_ARGS+= --with-fpx
+.else
+CONFIGURE_ARGS+= --without-fpx
+.endif
+
+.if !empty(PKG_OPTIONS:Mfpx)
+.include "../../graphics/pango/buildlink3.mk"
+CONFIGURE_ARGS+= --with-pango
+.else
+CONFIGURE_ARGS+= --without-pango
+.endif
+
+.if !empty(PKG_OPTIONS:Mimagemagick-policy-limited)
+CONF_FILES+= ${EGDIR}/policy-limited.xml ${PKG_SYSCONFDIR}/policy.xml
+.endif
+.if !empty(PKG_OPTIONS:Mimagemagick-policy-open)
+CONF_FILES+= ${EGDIR}/policy-open.xml ${PKG_SYSCONFDIR}/policy.xml
+.endif
+.if !empty(PKG_OPTIONS:Mimagemagick-policy-secure)
+CONF_FILES+= ${EGDIR}/policy-secure.xml ${PKG_SYSCONFDIR}/policy.xml
+.endif
+.if !empty(PKG_OPTIONS:Mimagemagick-policy-websafe)
+CONF_FILES+= ${EGDIR}/policy-websafe.xml ${PKG_SYSCONFDIR}/policy.xml
+.endif
diff --git a/ImageMagick6/patches/patch-Makefile.in b/ImageMagick6/patches/patch-Makefile.in
new file mode 100644
index 0000000000..2a66f6cb79
--- /dev/null
+++ b/ImageMagick6/patches/patch-Makefile.in
@@ -0,0 +1,35 @@
+$NetBSD: patch-Makefile.in,v 1.2 2023/07/22 10:09:06 adam Exp $
+
+* Do not install non-versioned pkgconfig pc files
+ to coexist with graphics/ImageMagick
+
+--- Makefile.in.orig 2023-07-16 11:15:23.000000000 +0000
++++ Makefile.in
+@@ -4639,9 +4639,7 @@ MAGICK_BIN_SCRPTS = \
+ magick/MagickCore-config
+
+ MAGICK_PKGCONFIG = \
+- magick/ImageMagick.pc \
+ magick/ImageMagick-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc \
+- magick/MagickCore.pc \
+ magick/MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc
+
+ MAGICK_MANS = \
+@@ -5199,8 +5197,6 @@ WAND_BIN_SCRPTS = \
+ wand/MagickWand-config
+
+ WAND_PKGCONFIG = \
+- wand/MagickWand.pc \
+- wand/Wand.pc \
+ wand/MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc \
+ wand/Wand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc
+
+@@ -5255,8 +5251,6 @@ MAGICKPP_MANS_OPT = \
+ Magick++/bin/Magick++-config.1
+
+ MAGICKPP_PKGCONFIG_OPT = \
+- Magick++/lib/Magick++.pc \
+- Magick++/lib/ImageMagick++.pc \
+ Magick++/lib/Magick++-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc \
+ Magick++/lib/ImageMagick++-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@.pc
+
diff --git a/Makefile b/Makefile
index 76ce4dfd5c..1a612f1ec8 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ SUBDIR+= Geomyidae-git
SUBDIR+= HP-1973
SUBDIR+= HiGHS
SUBDIR+= I2util
+SUBDIR+= ImageMagick6
SUBDIR+= LMtester
SUBDIR+= LuaJIT-git
SUBDIR+= LuaJIT2
Home |
Main Index |
Thread Index |
Old Index