source: trunk/dports/devel/glib2/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.17 2003/11/14 15:27:15 fkr Exp $
2
3PortSystem 1.0
4name            glib2
5version         2.2.3
6revision        1
7categories      devel
8maintainers     mij@opendarwin.org
9description     Library with data structure functions and other constructs
10homepage        http://www.gtk.org/
11platforms       darwin
12
13long_description Glib is a library which includes support routines for \
14                 C, such as lists, trees, hashes, memory allocation, and \
15                 many other things.
16
17master_sites    ftp://ftp.gnome.org/pub/gnome/sources/glib/2.2/ \
18                ftp://archive.progeny.com/GNOME/sources/glib/2.2/ \
19                http://archive.progeny.com/GNOME/sources/glib/2.2/
20
21distname        glib-${portversion}
22checksums       md5 aa214a10d873b68ddd67cd9de2ccae55
23
24use_bzip2       yes
25
26depends_build   bin:pkg-config:pkgconfig lib:libintl.1:gettext
27
28patchfiles      patch-Makefile.in patch-configure \
29                patch-glib-libcharset-Makefile.in \
30                patch-glib-libcharset-charset.alias \
31                patch-ltmain.sh patch-po-Makefile.in.in \
32                patch-glib-gmain.c
33
34configure.env   LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include \
35                -no-cpp-precomp" CFLAGS="-O3 -funroll-loops -fstrict-aliasing"
36
37configure.args  --disable-gtk-doc
38
39variant puredarwin { depends_run bin:perl:perl5.8 }
40
41post-destroot   { system "ln -fs libglib-2.0.0.200.3.dylib \
42                    ${destroot}${prefix}/lib/libglib.2.dylib"
43                  system "ln -fs libgmodule-2.0.0.200.3.dylib \
44                    ${destroot}${prefix}/lib/libgmodule.2.dylib"
45                  system "ln -fs libgobject-2.0.0.200.3.dylib \
46                    ${destroot}${prefix}/lib/libgobject.2.dylib"
47                  system "ln -fs libgthread-2.0.0.200.3.dylib \
48                    ${destroot}${prefix}/lib/libgthread.2.dylib" }
49
50platform darwin 6 {     depends_lib-append     lib:libdl.1:dlcompat }
Note: See TracBrowser for help on using the repository browser.