# $Id: Portfile 34197 2008-02-17 06:27:10Z ryandesign@macports.org $ PortSystem 1.0 name gd2 version 2.0.35 revision 1 categories graphics maintainers ryandesign homepage http://www.libgd.org/ platforms darwin distname gd-${version} use_bzip2 yes description \ GD creates PNG and JPEG images, among other formats long_description \ gd is a graphics library. It allows your code to \ quickly draw images complete with lines, arcs, text, \ multiple colors, cut and paste from other images, and \ flood fills, and write out the result as a .PNG file. \ This is particularly useful in World Wide Web applications, \ where .PNG is the format used for inline images. \ gd is not a paint program. If you are looking for a paint \ program, you are looking in the wrong place. \ If you are not a programmer, you are looking in the wrong \ place. master_sites \ ${homepage}releases/ \ ${homepage}releases/oldreleases/ checksums \ md5 6c6c3dbb7bf079e0bb5fbbfd3bb8a71c \ sha1 ccf34a610abff2dbf133a20c4d2a4aa94939018a \ rmd160 f452a2c333b2ba9b7b4c143983ec2af18a335516 depends_lib \ port:zlib \ port:libpng \ port:jpeg \ port:freetype \ port:fontconfig \ port:libiconv \ port:expat \ lib:libX11.6:XFree86 patchfiles \ patch-gdft.c.diff \ patch-Makefile.in.diff \ patch-config-gdlib-config.in.diff platform darwin 6 { depends_lib lib:libdl:dlcompat } platform darwin { post-configure { reinplace "s/^\\(hardcode_direct=\\)yes/\\1no/" ${worksrcpath}/libtool } } variant no_x11 description {Do not include X11 support} { depends_lib-delete \ lib:libX11.6:XFree86 configure.args-append \ --without-x } livecheck.check regex livecheck.url ${homepage}Downloads livecheck.regex gd-(\[0-9.\]+)\\.tar