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

Last change on this file since 23764 was 23764, checked in by mij@…, 14 years ago

Drop maintainership on my ports. This is mainly because a) I no longer
use most of these, and b) I don't really have the time to maintain them
anymore.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 23764 2007-04-09 04:51:25Z mij@macports.org $
2
3PortSystem 1.0
4name            glib1
5version         1.2.10
6revision        5
7categories      devel
8maintainers     nomaintainer@macports.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-${version}${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-${version}
27
28depends_lib     port:gettext
29depends_build   port: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 patch-glib.h patch-gutils.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.