# $Id: Portfile 27078 2007-07-18 01:08:19Z ryandesign@macports.org $ PortSystem 1.0 name ImageMagick set milestone 6.3.5 set patchlevel 2 version ${milestone}-${patchlevel} homepage http://www.imagemagick.org/ categories graphics devel maintainers ryandesign use_bzip2 yes worksrcdir ${name}-${milestone} platforms darwin description \ Tools and libraries to manipulate images in many formats long_description \ ImageMagick is a robust collection of tools and libraries to \ create, edit and compose bitmap images in a wide variety of \ formats. You can crop, resize, rotate, sharpen, color reduce or \ add effects or text or straight or curved lines to an image or \ image sequence and save your completed work in the same or \ differing image format. You can even create images from scratch. \ Image processing operations are available from the command line as \ well as through C, Ch, C++, Java, Perl, PHP, Python, Ruby and Tcl/Tk \ programming interfaces. Over 90 image formats are supported, \ including GIF, JPEG, JPEG 2000, PNG, PDF, PhotoCD and TIFF. master_sites \ http://image_magick.veidrodis.com/image_magick/ \ http://imagemagick.linux-mirror.org/download/ \ http://ftp.surfnet.nl/pub/ImageMagick/ \ sourceforge:imagemagick \ ftp://ftp.imagemagick.net/pub/${name}/ \ ftp://ftp.fifi.org/pub/ImageMagick/ \ ftp://ftp.nluug.nl/pub/${name}/ checksums \ md5 20b2867f6c34de7034cbe5f56fc5a671 \ sha1 693d2f0a320da7a19aa6b63c2e572c555b88bb10 \ rmd160 da280bd08aa6fe919df4ed8f253ca7155355aa84 depends_lib \ port:pkgconfig \ lib:libX11.6:XFree86 \ port:bzip2 \ port:jpeg \ port:libpng \ port:tiff \ port:zlib \ port:freetype \ port:fontconfig \ port:libiconv \ port:expat \ port:libxml2 configure.args \ --enable-shared \ --disable-static \ --disable-ltdl-install \ --with-dps \ --with-ttf \ --with-bzlib \ --with-jpeg \ --with-png \ --with-tiff \ --with-zlib \ --with-modules \ --with-xml \ --with-x \ --without-perl \ --without-fpx \ --without-gslib \ --without-jbig \ --without-jp2 \ --without-lcms \ --without-wmf \ --without-gvc \ --mandir=${prefix}/share/man test.run yes test.target check test.env DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs variant perl { depends_lib-append \ port:perl5.8 configure.args-delete \ --without-perl configure.args-append \ --with-perl=${prefix}/bin/perl } # Using gplghostscript instead of ghostscript as the former provides # libgs and the latter appears not to at this time variant gs { depends_lib-append \ port:gplghostscript configure.args-delete \ --without-gslib configure.args-append \ --with-gslib } variant lcms { depends_lib-append \ port:lcms configure.args-delete \ --without-lcms configure.args-append \ --with-lcms } variant wmf { depends_lib-append \ port:libwmf configure.args-delete \ --without-wmf configure.args-append \ --with-wmf } variant mpeg { depends_lib-append \ port:mpeg2vidcodec } variant jbig { depends_lib-append \ port:jbigkit configure.args-delete \ --without-jbig configure.args-append \ --with-jbig } variant jpeg2 { depends_lib-append \ port:jasper configure.args-delete \ --without-jp2 configure.args-append \ --with-jp2 } variant graphviz { depends_lib-append \ port:graphviz configure.args-delete \ --without-gvc configure.args-append \ --with-gvc } variant no_x11 { depends_lib-delete \ lib:libX11.6:XFree86 configure.args-delete \ --with-x configure.args-append \ --without-x } variant no_plus_plus { configure.args-append \ --without-magick-plus-plus } platform darwin 6 { depends_lib-append \ lib:libdl:dlcompat \ lib:libltdl:libtool } platform darwin 8 { configure.env-append \ CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 } livecheck.check moddate livecheck.url ftp://ftp.imagemagick.net/pub/${name}/SHA1SUM