Source
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name GraphicsMagick
version 1.3.33
revision 0
checksums rmd160 12ebd0a7c278d321ad6d28b4bbe3f6a2c6d41077 \
sha256 130cb330a633580b5124eba5c125bbcbc484298423a97b9bed37ccd50d6dc778 \
size 5558348
set branch [join [lrange [split ${version} .] 0 1] .]
categories graphics
platforms darwin
maintainers {ryandesign @ryandesign} openmaintainer
license MIT
description image processing tools collection
long_description GraphicsMagick is the swiss army knife of image \
processing. It provides a robust collection of tools and \
libraries which support reading, writing, and manipulating an \
image in over 88 major formats including important formats \
like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, SVG, and TIFF.
homepage http://www.graphicsmagick.org/
master_sites sourceforge:project/graphicsmagick/graphicsmagick/${version} \
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/${branch}/
depends_lib port:libxml2 \
port:bzip2 \
port:xz \
port:zlib \
port:libpng \
port:tiff \
port:freetype \
port:libiconv \
port:libtool \
port:lcms2 \
port:jasper \
port:jpeg \
port:webp
use_xz yes
# llvm-gcc-4.2 gives "Undefined symbols for architecture x86_64: ___builtin_object_size"
compiler.blacklist *llvm-gcc-4.2
configure.args --with-jbig=no \
--with-jpeg=yes \
--with-wmf=no \
--with-dps=no \
--with-gslib=no \
--with-lcms2=yes \
--with-x=no \
--with-perl=no \
--with-trio=no \
--with-jp2=yes \
--with-fpx=no \
--with-png=yes \
--with-tiff=yes \
--with-bzlib=yes \
--with-lzma=yes \