# -*- 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 # $Id$ PortSystem 1.0 name GraphicsMagick version 1.3.5 set branch [join [lrange [split ${version} .] 0 1] .] categories graphics platforms darwin maintainers ryandesign openmaintainer 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:graphicsmagick \ ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/${branch}/ checksums md5 695d94588437ef3a12b971d7ab672d8f \ sha1 07de056103241efc48677ae44e8225c12becff12 \ rmd160 b3092e5dfb14a38e08ff35b6cf091b975a702e76 depends_lib port:libxml2 \ port:bzip2 \ port:zlib \ port:libpng \ port:tiff \ port:freetype \ port:libiconv \ port:jpeg use_bzip2 yes configure.args --with-jbig=no \ --with-wmf=no \ --with-dps=no \ --with-lcms=no \ --with-x=no \ --with-perl=no \ --with-trio=no \ --with-jp2=no \ --with-fpx=no \ --with-png=yes \ --with-tiff=yes \ --with-bzlib=yes \ --with-zlib=yes \ --with-xml=yes \ --with-ttf=yes \ --enable-shared=yes use_parallel_build yes test.run yes test.target check variant q8 conflicts q16 q32 description {Use 8 bits per pixel quantum (default)} { configure.args-append --with-quantum-depth=8 } variant q16 conflicts q8 q32 description {Use 16 bits per pixel quantum} { configure.args-append --with-quantum-depth=16 } variant q32 conflicts q8 q16 description {Use 32 bits per pixel quantum} { configure.args-append --with-quantum-depth=32 } if {![variant_isset q16] && ![variant_isset q32]} { default_variants +q8 }