source: trunk/dports/devel/glib1/Portfile @ 5871

Last change on this file since 5871 was 5871, checked in by mij, 16 years ago

Chase the libintl library version from the gettext update.

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

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.5 2004/03/19 23:18:40 mij Exp $
2
3PortSystem 1.0
4name            glib1
5version         1.2.10
6revision        4
7categories      devel
8maintainers     mij@opendarwin.org
9description     Library with data structure functions and other constructs
10homepage        http://www.gtk.org/
11platforms       darwin freebsd
12
13long_description General-purpose library from the GTK+ team, includes \
14                 support routines for C such as lists, trees, hashes, \
15                 memory allocation, and many other things.
16
17master_sites    ftp://ftp.gtk.org/pub/gtk/v1.2/ \
18                opendarwin::lt
19
20set filename    glib-${portversion}${extract.suffix}
21distfiles       ${filename} ltconfig13:lt ltmain13:lt
22checksums       ${filename} md5 6fe30dad87c77b91b632def29dd69ef9 \
23                ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
24                ltmain13 md5 e094ae92724c4015dbab97de151c2525
25extract.only    ${filename}
26worksrcdir      glib-${portversion}
27
28depends_lib     lib:libintl.3:gettext
29depends_build   bin:pkg-config:pkgconfig
30
31pre-patch       { system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
32                  system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }
33
34patchfiles      patch-configure patch-config.guess patch-config.sub \
35                patch-gmain.c
36
37configure.env   LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include"
38configure.args  --disable-static --mandir=${prefix}/share/man \
39                --infodir=${prefix}/share/info
40
41post-destroot   { system "ln -sf libglib-1.2.0.0.10.dylib \
42                    ${destroot}${prefix}/lib/libglib.1.dylib"
43                  system "ln -sf libgmodule-1.2.0.0.10.dylib \
44                    ${destroot}${prefix}/lib/libgmodule.1.dylib"
45                  system "ln -sf libgthread-1.2.0.0.10.dylib \
46                    ${destroot}${prefix}/lib/libgthread.1.dylib" }
47
48platform darwin 6 {     depends_lib-append      lib:libdl:dlcompat }
Note: See TracBrowser for help on using the repository browser.