source: trunk/dports/devel/glib2/Portfile @ 6219

Last change on this file since 6219 was 6219, checked in by mij, 16 years ago

Update to version 2.4.0.

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