source: trunk/dports/graphics/gd2/Portfile @ 13017

Last change on this file since 13017 was 13017, checked in by ssen, 15 years ago

Patch libtool so that the local libgd.dylib is used during
linking and not the installed version. Fixes incompatibility between
gd 2.0.28 and 2.0.33

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id $
2
3PortSystem 1.0
4name            gd2
5revision        2
6version         2.0.33
7categories      graphics
8maintainers     michaelm@opendarwin.org
9description     GD creates PNG and JPEG images, among other formats
10long_description    gd is a graphics library. It allows your code to \
11            quickly draw images complete with lines, arcs, text, \
12            multiple colors, cut and paste from other images, and \
13            flood fills, and write out the result as a .PNG file. \
14            This is particularly useful in World Wide Web applications, \
15            where .PNG is the format used for inline images. \
16            gd is not a paint program. If you are looking for a paint \
17            program, you are looking in the wrong place. \
18            If you are not a programmer, you are looking in the wrong \
19            place.
20homepage        http://www.boutell.com/gd/
21platforms       darwin
22
23master_sites    ${homepage}http/
24distname        gd-${version}
25checksums       md5 be0a6d326cd8567e736fbc75df0a5c45
26
27depends_lib     port:libpng  \
28                port:jpeg \
29                port:freetype \
30                lib:libX11.6:XFree86
31
32configure.env   CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
33patchfiles      gdft.c.diff
34
35platform darwin 6 {
36    depends_lib lib:libdl:dlcompat
37}
38
39platform darwin {
40        post-configure {
41                reinplace "s/^\\(hardcode_direct=\\)yes/\\1no/" ${worksrcpath}/libtool
42        }
43}
Note: See TracBrowser for help on using the repository browser.