[25010] trunk/dports/devel/glib2/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 11 00:19:23 PDT 2007
Revision: 25010
http://trac.macosforge.org/projects/macports/changeset/25010
Author: ryandesign at macports.org
Date: 2007-05-11 00:19:23 -0700 (Fri, 11 May 2007)
Log Message:
-----------
Whitespace changes only
Modified Paths:
--------------
trunk/dports/devel/glib2/Portfile
Modified: trunk/dports/devel/glib2/Portfile
===================================================================
--- trunk/dports/devel/glib2/Portfile 2007-05-11 07:10:58 UTC (rev 25009)
+++ trunk/dports/devel/glib2/Portfile 2007-05-11 07:19:23 UTC (rev 25010)
@@ -1,49 +1,63 @@
# $Id$
-PortSystem 1.0
-name glib2
-version 2.12.12
-categories devel
-maintainers ryandesign at macports.org
-description Library with data structure functions and other constructs
-homepage http://www.gtk.org/
-platforms darwin
+PortSystem 1.0
-long_description Glib is a library which includes support routines for \
- C, such as lists, trees, hashes, memory allocation, and \
- many other things.
+name glib2
+version 2.12.12
+categories devel
+maintainers ryandesign at macports.org
+homepage http://www.gtk.org/
+platforms darwin
+distname glib-${version}
+use_bzip2 yes
-master_sites ftp://ftp.gtk.org/pub/glib/2.12 \
- gnome:sources/glib/2.12
+description \
+ Library with data structure functions and other constructs
-distname glib-${version}
+long_description \
+ Glib is a library which includes support routines for \
+ C, such as lists, trees, hashes, memory allocation, and \
+ many other things.
+master_sites \
+ ftp://ftp.gtk.org/pub/glib/2.12 \
+ gnome:sources/glib/2.12
+
checksums \
md5 0b3a42098243d054475ff6eb51ed2be1 \
sha1 527bced2e6d38169c08c8712d5e3b6ebb0dc46b5 \
rmd160 bab462a1e4ef3e9905a4af5b727ad4f9ca03cf02
-
-use_bzip2 yes
-patchfiles patch-glib-2.0.pc.in patch-glib__gutils.c
+patchfiles \
+ patch-glib-2.0.pc.in \
+ patch-glib__gutils.c
-depends_build port:pkgconfig
-depends_lib port:gettext
+depends_build \
+ port:pkgconfig
-configure.env LDFLAGS="-L${prefix}/lib -bind_at_load" \
- CPPFLAGS="-I${prefix}/include" \
- CFLAGS="-O3 -funroll-loops -fstrict-aliasing"
+depends_lib \
+ port:gettext
-configure.args --mandir=${prefix}/share/man
+configure.env \
+ LDFLAGS="-L${prefix}/lib -bind_at_load" \
+ CPPFLAGS="-I${prefix}/include" \
+ CFLAGS="-O3 -funroll-loops -fstrict-aliasing"
-variant puredarwin { depends_run bin:perl:perl5.8 }
+configure.args \
+ --mandir=${prefix}/share/man
+variant puredarwin {
+ depends_run bin:perl:perl5.8
+}
+
post-patch {
- reinplace "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/glib/gutils.c
- reinplace "s|path = \"/bin|path = \"${prefix}/bin:/bin|g" ${worksrcpath}/glib/gutils.c ${worksrcpath}/glib/gspawn.c
+ reinplace "s|data_dirs = \"/usr|data_dirs = \"${prefix}/share:/usr|g" ${worksrcpath}/glib/gutils.c
+ reinplace "s|path = \"/bin|path = \"${prefix}/bin:/bin|g" ${worksrcpath}/glib/gutils.c ${worksrcpath}/glib/gspawn.c
}
-post-destroot { file delete ${destroot}${prefix}/lib/charset.alias }
+post-destroot {
+ file delete ${destroot}${prefix}/lib/charset.alias
+}
platform darwin 6 {
depends_lib-append lib:libdl:dlcompat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070511/0ef1a3a2/attachment.html
More information about the macports-changes
mailing list