source: trunk/dports/x11/gtk1/Portfile @ 4812

Last change on this file since 4812 was 4812, checked in by toby, 14 years ago

more master_sites opendarwin foobage.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

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