Changeset 79314
- Timestamp:
- 06/08/11 19:15:45 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/devel/glib1/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/glib1/Portfile
r74385 r79314 2 2 # $Id$ 3 3 4 PortSystem 1.04 PortSystem 1.0 5 5 6 name glib1 7 version 1.2.10 8 revision 6 9 categories devel 10 maintainers nomaintainer 11 description Library with data structure functions and other constructs 12 homepage http://www.gtk.org/ 13 platforms darwin freebsd 6 name glib1 7 version 1.2.10 8 revision 6 9 categories devel 10 maintainers nomaintainer 11 homepage http://www.gtk.org/ 12 platforms darwin freebsd 14 13 15 long_description General-purpose library from the GTK+ team, includes \ 16 support routines for C such as lists, trees, hashes, \ 17 memory allocation, and many other things. 14 description Library with data structure functions and other constructs 18 15 19 master_sites gnome:sources/glib/1.2/\20 ftp://ftp.gtk.org/pub/gtk/v1.2/\21 macports:lt:lt 16 long_description General-purpose library from the GTK+ team, includes \ 17 support routines for C such as lists, trees, hashes, \ 18 memory allocation, and many other things. 22 19 23 set filename glib-${version}${extract.suffix} 24 distfiles ${filename} ltconfig13:lt ltmain13:lt 25 checksums ${filename} md5 6fe30dad87c77b91b632def29dd69ef9 \ 26 ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \ 27 ltmain13 md5 e094ae92724c4015dbab97de151c2525 28 extract.only ${filename} 29 worksrcdir glib-${version} 20 master_sites gnome:sources/glib/1.2/ \ 21 ftp://ftp.gtk.org/pub/gtk/v1.2/ \ 22 macports:lt:lt 30 23 31 depends_lib port:gettext 32 depends_build port:pkgconfig 24 set filename glib-${version}${extract.suffix} 33 25 34 patchfiles patch-configure patch-config.guess patch-config.sub \ 35 patch-gmain.c patch-glib.h patch-gutils.c patch-glib.m4 26 distfiles ${filename} \ 27 ltconfig13:lt \ 28 ltmain13:lt 29 30 checksums ${filename} \ 31 md5 6fe30dad87c77b91b632def29dd69ef9 \ 32 ltconfig13 \ 33 md5 ea53f42a550c9f9e653758a8ed91574e \ 34 ltmain13 \ 35 md5 e094ae92724c4015dbab97de151c2525 36 37 extract.only ${filename} 38 worksrcdir glib-${version} 39 40 depends_build port:pkgconfig 41 42 depends_lib port:gettext 43 44 patchfiles patch-configure \ 45 patch-config.guess \ 46 patch-config.sub \ 47 patch-gmain.c \ 48 patch-glib.h \ 49 patch-gutils.c \ 50 patch-glib.m4 36 51 37 52 post-patch { … … 39 54 system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" 40 55 # fix ltmain.sh to handle universal library creation. 41 system "cd ${worksrcpath} && \ 42 patch -p0 < ${filespath}/patch-ltmain.sh.diff" 56 system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-ltmain.sh.diff" 43 57 } 44 58 45 configure.ccache no 46 configure.ldflags-delete "-L${prefix}/lib" 47 configure.cppflags-delete "-I${prefix}/include" 48 configure.args --disable-static --mandir=${prefix}/share/man \ 49 --infodir=${prefix}/share/info 59 configure.ccache no 50 60 51 post-destroot { system "ln -sf libglib-1.2.0.0.10.dylib \ 52 ${destroot}${prefix}/lib/libglib.1.dylib" 53 system "ln -sf libgmodule-1.2.0.0.10.dylib \ 54 ${destroot}${prefix}/lib/libgmodule.1.dylib" 55 system "ln -sf libgthread-1.2.0.0.10.dylib \ 56 ${destroot}${prefix}/lib/libgthread.1.dylib" } 61 configure.ldflags-delete -L${prefix}/lib 57 62 58 livecheck.type regex 59 livecheck.url ftp://ftp.gtk.org/pub/gtk/v1.2/ 60 livecheck.regex "glib-(\\d+(?:\\.\\d+)*)${extract.suffix}" 63 configure.cppflags-delete -I${prefix}/include 64 65 configure.args --disable-static \ 66 --mandir=${prefix}/share/man \ 67 --infodir=${prefix}/share/info 68 69 post-destroot { 70 system "ln -sf libglib-1.2.0.0.10.dylib ${destroot}${prefix}/lib/libglib.1.dylib" 71 system "ln -sf libgmodule-1.2.0.0.10.dylib ${destroot}${prefix}/lib/libgmodule.1.dylib" 72 system "ln -sf libgthread-1.2.0.0.10.dylib ${destroot}${prefix}/lib/libgthread.1.dylib" 73 } 74 75 livecheck.type regex 76 livecheck.url ftp://ftp.gtk.org/pub/gtk/v1.2/ 77 livecheck.regex glib-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracChangeset
for help on using the changeset viewer.

