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
RevLine 
[5871]1# $Id: Portfile,v 1.23 2004/03/19 23:18:40 mij Exp $
[2122]2
[1322]3PortSystem 1.0
4name            glib2
[3386]5version         2.2.3
[5871]6revision        3
[1322]7categories      devel
8maintainers     mij@opendarwin.org
9description     Library with data structure functions and other constructs
[1693]10homepage        http://www.gtk.org/
[1322]11platforms       darwin
[1487]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
[4815]17master_sites    gnome:sources/glib/2.2
[1322]18
19distname        glib-${portversion}
[3386]20checksums       md5 aa214a10d873b68ddd67cd9de2ccae55
[1322]21
22use_bzip2       yes
23
[5871]24depends_build   bin:pkg-config:pkgconfig lib:libintl.3:gettext
[1322]25
[2669]26patchfiles      patch-Makefile.in patch-configure \
[1773]27                patch-glib-libcharset-Makefile.in \
[3335]28                patch-ltmain.sh patch-po-Makefile.in.in \
29                patch-glib-gmain.c
[1773]30
[4417]31configure.env   LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
32                CFLAGS="-O3 -funroll-loops -fstrict-aliasing"
[1322]33
[4417]34variant darwin {
35        configure.env-append CPPFLAGS="-I${prefix}/include -no-cpp-precomp"
36}
37
[5446]38configure.args  --disable-gtk-doc \
39                --mandir='\${prefix}/share/man'
[1322]40
[2412]41variant puredarwin { depends_run bin:perl:perl5.8 }
42
[3386]43post-destroot   { system "ln -fs libglib-2.0.0.200.3.dylib \
[1773]44                    ${destroot}${prefix}/lib/libglib.2.dylib"
[3386]45                  system "ln -fs libgmodule-2.0.0.200.3.dylib \
[1773]46                    ${destroot}${prefix}/lib/libgmodule.2.dylib"
[3386]47                  system "ln -fs libgobject-2.0.0.200.3.dylib \
[2987]48                    ${destroot}${prefix}/lib/libgobject.2.dylib"
[3386]49                  system "ln -fs libgthread-2.0.0.200.3.dylib \
[1773]50                    ${destroot}${prefix}/lib/libgthread.2.dylib" }
[3944]51
[4474]52platform darwin 6 {     depends_lib-append     lib:libdl:dlcompat }
Note: See TracBrowser for help on using the repository browser.