# $Id $ PortSystem 1.0 name gd2 version 2.0.15 distname gd-${version} categories graphics maintainers michaelm@opendarwin.org 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 http://www.boutell.com/gd/http/ checksums md5 6ededf633b4fd054662ec123c7825fbb depends_lib lib:libpng.3:libpng \ lib:libjpeg.62:jpeg lib:libfreetype.6:freetype \ lib:libX11.6:XFree86 platform darwin 6 { depends_lib lib:libdl.1:dlcompat } patchfiles patch-configure post-configure { reinplace "s|CPPFLAGS = |CPPFLAGS = -I${prefix}/include |g" Makefile reinplace "s|LDFLAGS = |LDFLAGS = -L${prefix}/libi |g" Makefile } build.args CCLD="gcc -L./.libs"