[71321] trunk/dports/devel/gnet2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 8 14:39:12 PDT 2010
Revision: 71321
http://trac.macports.org/changeset/71321
Author: ryandesign at macports.org
Date: 2010-09-08 14:39:11 -0700 (Wed, 08 Sep 2010)
Log Message:
-----------
gnet2: whitespace changes to conform with modeline
Modified Paths:
--------------
trunk/dports/devel/gnet2/Portfile
Modified: trunk/dports/devel/gnet2/Portfile
===================================================================
--- trunk/dports/devel/gnet2/Portfile 2010-09-08 21:33:32 UTC (rev 71320)
+++ trunk/dports/devel/gnet2/Portfile 2010-09-08 21:39:11 UTC (rev 71321)
@@ -1,41 +1,48 @@
# -*- 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 gnet2
-version 2.0.8
-set branch [join [lrange [split ${version} .] 0 1] .]
-categories devel
-maintainers nomaintainer
-description Simple network library
-homepage http://live.gnome.org/GNetLibrary
-platforms darwin
+name gnet2
+version 2.0.8
+set branch [join [lrange [split ${version} .] 0 1] .]
+categories devel
+platforms darwin
+maintainers nomaintainer
-long_description GNet is a simple network library written in C. It is \
- object-oriented, and built upon GLib.
+description Simple network library
-universal_variant no
+long_description GNet is a simple network library written in C. It is \
+ object-oriented, and built upon GLib.
-master_sites gnome:sources/gnet/${branch}/
+homepage http://live.gnome.org/GNetLibrary
+master_sites gnome:sources/gnet/${branch}/
-distname gnet-${version}
-use_bzip2 yes
-checksums md5 93327d2fca333d7e54ba2cf54e071165 \
- sha1 74a33dd25cc594b874e3a5171795efd99e567387
+distname gnet-${version}
+use_bzip2 yes
+checksums md5 93327d2fca333d7e54ba2cf54e071165 \
+ sha1 74a33dd25cc594b874e3a5171795efd99e567387
-depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 port:gettext port:libiconv
+depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:gettext \
+ port:libiconv
-post-configure { reinplace "s|-pthread|-lpthread|g" \
- ${workpath}/${distname}/src/Makefile
- reinplace "s|-pthread|-lpthread|g" \
- ${workpath}/${distname}/examples/Makefile
- reinplace "s|-pthread|-lpthread|g" \
- ${workpath}/${distname}/tests/Makefile }
+universal_variant no
-post-destroot { system "ln -fs libgnet-2.0.0.8.0.dylib \
- ${destroot}${prefix}/lib/libgnet.2.dylib" }
+post-configure {
+ reinplace "s|-pthread|-lpthread|g" \
+ ${workpath}/${distname}/src/Makefile
+ reinplace "s|-pthread|-lpthread|g" \
+ ${workpath}/${distname}/examples/Makefile
+ reinplace "s|-pthread|-lpthread|g" \
+ ${workpath}/${distname}/tests/Makefile
+}
-livecheck.type regex
-livecheck.url http://ftp.gnome.org/pub/gnome/sources/gnet/${branch}/
-livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
+post-destroot {
+ system "ln -fs libgnet-2.0.0.8.0.dylib \
+ ${destroot}${prefix}/lib/libgnet.2.dylib"
+}
+
+livecheck.type regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/gnet/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100908/b09aedb5/attachment-0001.html>
More information about the macports-changes
mailing list