[79314] trunk/dports/devel/glib1/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jun 8 19:15:45 PDT 2011


Revision: 79314
          http://trac.macports.org/changeset/79314
Author:   ryandesign at macports.org
Date:     2011-06-08 19:15:45 -0700 (Wed, 08 Jun 2011)
Log Message:
-----------
glib1: whitespace / formatting changes only

Modified Paths:
--------------
    trunk/dports/devel/glib1/Portfile

Modified: trunk/dports/devel/glib1/Portfile
===================================================================
--- trunk/dports/devel/glib1/Portfile	2011-06-09 02:01:04 UTC (rev 79313)
+++ trunk/dports/devel/glib1/Portfile	2011-06-09 02:15:45 UTC (rev 79314)
@@ -1,60 +1,77 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem                  1.0
 
-name		glib1
-version		1.2.10
-revision	6
-categories	devel
-maintainers	nomaintainer
-description	Library with data structure functions and other constructs
-homepage	http://www.gtk.org/
-platforms	darwin freebsd
+name                        glib1
+version                     1.2.10
+revision                    6
+categories                  devel
+maintainers                 nomaintainer
+homepage                    http://www.gtk.org/
+platforms                   darwin freebsd
 
-long_description General-purpose library from the GTK+ team, includes \
-		 support routines for C such as lists, trees, hashes, \
-		 memory allocation, and many other things.
+description                 Library with data structure functions and other constructs
 
-master_sites	gnome:sources/glib/1.2/ \
-				ftp://ftp.gtk.org/pub/gtk/v1.2/ \
-		macports:lt:lt
+long_description            General-purpose library from the GTK+ team, includes \
+                            support routines for C such as lists, trees, hashes, \
+                            memory allocation, and many other things.
 
-set filename	glib-${version}${extract.suffix}
-distfiles	${filename} ltconfig13:lt ltmain13:lt
-checksums	${filename} md5 6fe30dad87c77b91b632def29dd69ef9 \
-		ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
-		ltmain13 md5 e094ae92724c4015dbab97de151c2525
-extract.only	${filename}
-worksrcdir	glib-${version}
+master_sites                gnome:sources/glib/1.2/ \
+                            ftp://ftp.gtk.org/pub/gtk/v1.2/ \
+                            macports:lt:lt
 
-depends_lib	port:gettext
-depends_build	port:pkgconfig
+set filename                glib-${version}${extract.suffix}
 
-patchfiles	patch-configure patch-config.guess patch-config.sub \
-		patch-gmain.c patch-glib.h patch-gutils.c patch-glib.m4
+distfiles                   ${filename} \
+                            ltconfig13:lt \
+                            ltmain13:lt
 
+checksums                   ${filename} \
+                            md5     6fe30dad87c77b91b632def29dd69ef9 \
+                            ltconfig13 \
+                            md5     ea53f42a550c9f9e653758a8ed91574e \
+                            ltmain13 \
+                            md5     e094ae92724c4015dbab97de151c2525
+
+extract.only                ${filename}
+worksrcdir                  glib-${version}
+
+depends_build               port:pkgconfig
+
+depends_lib                 port:gettext
+
+patchfiles                  patch-configure \
+                            patch-config.guess \
+                            patch-config.sub \
+                            patch-gmain.c \
+                            patch-glib.h \
+                            patch-gutils.c \
+                            patch-glib.m4
+
 post-patch {
     system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
     system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh"
     # fix ltmain.sh to handle universal library creation.
-    system "cd ${worksrcpath} && \
-            patch -p0 < ${filespath}/patch-ltmain.sh.diff"
+    system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-ltmain.sh.diff"
 }
 
-configure.ccache    no
-configure.ldflags-delete "-L${prefix}/lib"
-configure.cppflags-delete "-I${prefix}/include"
-configure.args	--disable-static --mandir=${prefix}/share/man \
-		--infodir=${prefix}/share/info
+configure.ccache            no
 
-post-destroot	{ system "ln -sf libglib-1.2.0.0.10.dylib \
-		    ${destroot}${prefix}/lib/libglib.1.dylib"
-		  system "ln -sf libgmodule-1.2.0.0.10.dylib \
-		    ${destroot}${prefix}/lib/libgmodule.1.dylib"
-		  system "ln -sf libgthread-1.2.0.0.10.dylib \
-		    ${destroot}${prefix}/lib/libgthread.1.dylib" }
+configure.ldflags-delete    -L${prefix}/lib
 
-livecheck.type  regex
-livecheck.url   ftp://ftp.gtk.org/pub/gtk/v1.2/
-livecheck.regex "glib-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+configure.cppflags-delete   -I${prefix}/include
+
+configure.args              --disable-static \
+                            --mandir=${prefix}/share/man \
+                            --infodir=${prefix}/share/info
+
+post-destroot {
+    system "ln -sf libglib-1.2.0.0.10.dylib ${destroot}${prefix}/lib/libglib.1.dylib"
+    system "ln -sf libgmodule-1.2.0.0.10.dylib ${destroot}${prefix}/lib/libgmodule.1.dylib"
+    system "ln -sf libgthread-1.2.0.0.10.dylib ${destroot}${prefix}/lib/libgthread.1.dylib"
+}
+
+livecheck.type              regex
+livecheck.url               ftp://ftp.gtk.org/pub/gtk/v1.2/
+livecheck.regex             glib-(\\d+(?:\\.\\d+)*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110608/afaa3aac/attachment.html>


More information about the macports-changes mailing list