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

Last change on this file since 2071 was 2071, checked in by michaelm, 17 years ago

updated to use correct url for new opendarwin distfiles virtual host

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