source: trunk/dports/devel/glib2/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.5 KB
Line 
1# $Id: Portfile,v 1.23 2004/03/19 23:18:40 mij Exp $
2
3PortSystem 1.0
4name            glib2
5version         2.2.3
6revision        3
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    gnome:sources/glib/2.2
18
19distname        glib-${portversion}
20checksums       md5 aa214a10d873b68ddd67cd9de2ccae55
21
22use_bzip2       yes
23
24depends_build   bin:pkg-config:pkgconfig lib:libintl.3:gettext
25
26patchfiles      patch-Makefile.in patch-configure \
27                patch-glib-libcharset-Makefile.in \
28                patch-ltmain.sh patch-po-Makefile.in.in \
29                patch-glib-gmain.c
30
31configure.env   LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
32                CFLAGS="-O3 -funroll-loops -fstrict-aliasing"
33
34variant darwin {
35        configure.env-append CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
36}
37
38configure.args  --disable-gtk-doc \
39                --mandir='\${prefix}/share/man'
40
41variant puredarwin { depends_run bin:perl:perl5.8 }
42
43post-destroot   { system "ln -fs libglib-2.0.0.200.3.dylib \
44                    ${destroot}${prefix}/lib/libglib.2.dylib"
45                  system "ln -fs libgmodule-2.0.0.200.3.dylib \
46                    ${destroot}${prefix}/lib/libgmodule.2.dylib"
47                  system "ln -fs libgobject-2.0.0.200.3.dylib \
48                    ${destroot}${prefix}/lib/libgobject.2.dylib"
49                  system "ln -fs libgthread-2.0.0.200.3.dylib \
50                    ${destroot}${prefix}/lib/libgthread.2.dylib" }
51
52platform darwin 6 {     depends_lib-append     lib:libdl:dlcompat }
Note: See TracBrowser for help on using the repository browser.