source: trunk/dports/x11/gtk/Portfile @ 1600

Last change on this file since 1600 was 1600, checked in by landonf (Landon Fuller), 18 years ago

These are lib depends, not build depends

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1PortSystem 1.0
2name            gtk
3version         1.2.10
4categories      x11
5maintainers     eric@opendarwin.org
6description     Gimp Tool Kit
7
8long_description This is GTK+ version 1.2.10. GTK+, which stands for \
9the Gimp ToolKit, is a library for creating graphical user interfaces \
10for the X Window System.
11
12platforms       darwin freebsd
13master_sites    ftp://ftp.gtk.org/pub/gtk/v1.2/ \
14                http://www.opendarwin.org/projects/darwinports/distfiles/:lt
15distname        ${portname}+-${portversion}
16distfiles-append ltconfig13:lt ltmain13:lt
17extract.only    ${distname}${extract.sufx}
18
19depends_lib     lib:libintl.1:gettext lib:libglib.1:glib lib:libX11.6:XFree86
20
21configure.env   LIBS="-L${prefix}/lib" CFLAGS="-I${prefix}/include"
22configure.args  --disable-shm
23
24checksums       gtk+-1.2.10.tar.gz md5 4d5cb2fc7fb7830e4af9747a36bfce20 \
25                ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
26                ltmain13 md5 e094ae92724c4015dbab97de151c2525
27
28post-patch      { system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
29                  system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }
30
31patchfiles      patch-config.guess patch-config.sub
32
33post-install    { system "ln -sf libgdk-1.2.0.9.1.dylib \
34                  ${prefix}/lib/libgdk.1.dylib" 
35                  system "ln -sf libgtk-1.2.0.9.1.dylib \
36                  ${prefix}/lib/libgtk.1.dylib" }
37
38include         contents
Note: See TracBrowser for help on using the repository browser.