# -*- 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: Portfile 57993 2009-09-20 11:09:14Z ryandesign@macports.org $ PortSystem 1.0 name GraphicsMagick version 1.3.7 set branch [join [lrange [split ${version} .] 0 1] .] categories graphics platforms darwin maintainers 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:graphicsmagick \ ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/${branch}/ checksums md5 42bfd382ddcda399880721170bcbf61b \ sha1 e65c4d799704245216821374f66de5796795c263 \ rmd160 56a7408d2f3fc15be2859a0d5b3c42e0549faf0c 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 lcms description {Support the Little Color Management System} { depends_lib-append \ port:lcms configure.args-delete \ --with-lcms=no configure.args-append \ --with-lcms=yes } variant q8 conflicts q16 q32 description {Use 8 bits per pixel quantum} { 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 } livecheck.type regex livecheck.regex {>([0-9.]+)<}