source: trunk/dports/devel/glib/Portfile @ 3944

Last change on this file since 3944 was 3944, checked in by fkr, 17 years ago

Bug:
Submitted by:
Reviewed by:
Approved by: mij@ (maintainer)
Obtained from:

dlcompat only for darwin 6

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.23 2003/11/14 15:26:34 fkr Exp $
2
3PortSystem 1.0
4name            glib
5version         1.2.10
6revision        2
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                http://distfiles.opendarwin.org/:lt
19
20set filename    ${portname}-${portversion}${extract.sufx}
21distfiles       ${filename} ltconfig13:lt ltmain13:lt
22checksums       ${filename} md5 6fe30dad87c77b91b632def29dd69ef9 \
23                ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
24                ltmain13 md5 e094ae92724c4015dbab97de151c2525
25extract.only    ${filename}
26
27depends_lib     lib:libintl.1:gettext
28depends_build   bin:pkg-config:pkgconfig
29
30pre-patch       { system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
31                  system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }
32
33patchfiles      patch-configure patch-config.guess patch-config.sub \
34                patch-gmain.c
35
36configure.env   LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include"
37configure.args  --disable-static --mandir=${prefix}/share/man
38
39post-destroot   { system "ln -sf libglib-1.2.0.0.10.dylib \
40                    ${destroot}${prefix}/lib/libglib.1.dylib"
41                  system "ln -sf libgmodule-1.2.0.0.10.dylib \
42                    ${destroot}${prefix}/lib/libgmodule.1.dylib"
43                  system "ln -sf libgthread-1.2.0.0.10.dylib \
44                    ${destroot}${prefix}/lib/libgthread.1.dylib" }
45
46platform darwin 6 {     depends_lib-append      lib:libdl.1:dlcompat }
Note: See TracBrowser for help on using the repository browser.