[113924] trunk/dports/www/neon/Portfile

devans at macports.org devans at macports.org
Mon Nov 25 13:48:19 PST 2013


Revision: 113924
          https://trac.macports.org/changeset/113924
Author:   devans at macports.org
Date:     2013-11-25 13:48:19 -0800 (Mon, 25 Nov 2013)
Log Message:
-----------
neon: add mode line, reformat, whitespace only.

Modified Paths:
--------------
    trunk/dports/www/neon/Portfile

Modified: trunk/dports/www/neon/Portfile
===================================================================
--- trunk/dports/www/neon/Portfile	2013-11-25 21:36:29 UTC (rev 113923)
+++ trunk/dports/www/neon/Portfile	2013-11-25 21:48:19 UTC (rev 113924)
@@ -1,77 +1,78 @@
+# -*- 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		neon
-version		0.30.0
-categories	www
-maintainers	nomaintainer
-description	An HTTP and WebDAV client library with a C interface
-license		LGPL-2+
+name            neon
+version         0.30.0
+categories      www
+maintainers     nomaintainer
+description     An HTTP and WebDAV client library with a C interface
+license         LGPL-2+
 
-platforms	darwin freebsd
+platforms       darwin freebsd
 
 long_description \
-	neon is an HTTP and WebDAV client library with a C language API. \
-	It provides a high-level interface to HTTP and WebDAV methods and a \
-	low-level interface to HTTP request handling, easily allowing the \
-	implementation of new methods.
+                neon is an HTTP and WebDAV client library with a C language API. \
+                It provides a high-level interface to HTTP and WebDAV methods and a \
+                low-level interface to HTTP request handling, easily allowing the \
+                implementation of new methods.
 
-homepage	http://www.webdav.org/neon/
-master_sites	${homepage}
+homepage        http://www.webdav.org/neon/
+master_sites    ${homepage}
 
-depends_lib	port:expat \
-		port:gettext \
-		port:libiconv \
-		port:kerberos5 \
-		port:libcomerr \
-		port:libproxy \
-		port:openssl \
-		port:zlib
+depends_lib     port:expat \
+                port:gettext \
+                port:libiconv \
+                port:kerberos5 \
+                port:libcomerr \
+                port:libproxy \
+                port:openssl \
+                port:zlib
 
 checksums       rmd160  59054ca749fa40308138c44b710990f637fb7c6d \
                 sha256  2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2
 
-configure.args	--with-ssl \
-		--enable-shared \
-		--with-expat \
-		--with-libproxy
+configure.args  --with-ssl \
+                --enable-shared \
+                --with-expat \
+                --with-libproxy
 
 pre-test {
-	set x {}
+    set x {}
 
-	fs-traverse dir ${worksrcpath} {
-		if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
-			lappend x ${dir}
-			continue
-		}
-	}
+    fs-traverse dir ${worksrcpath} {
+        if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
+            lappend x ${dir}
+            continue
+        }
+    }
 
-	test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
+    test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
 }
 
 post-configure {
-	if {[variant_isset universal]} {
-		system "cd ${worksrcpath} && ed - config.h < ${filespath}/config.h.ed && touch stamp-h1"
-	}
+    if {[variant_isset universal]} {
+        system "cd ${worksrcpath} && ed - config.h < ${filespath}/config.h.ed && touch stamp-h1"
+    }
 }
 
 post-destroot {
-	if {[variant_isset universal]} {
-		if {${configure.universal_cppflags} != ""} {
-			reinplace "s|${configure.universal_cppflags}||g" \
-				${destroot}${prefix}/bin/neon-config \
-				${destroot}${prefix}/lib/pkgconfig/neon.pc
-		}
-		reinplace "s|${configure.universal_ldflags}||g" \
-			${destroot}${prefix}/bin/neon-config \
-			${destroot}${prefix}/lib/pkgconfig/neon.pc
-	}
+    if {[variant_isset universal]} {
+        if {${configure.universal_cppflags} != ""} {
+            reinplace "s|${configure.universal_cppflags}||g" \
+                ${destroot}${prefix}/bin/neon-config \
+                ${destroot}${prefix}/lib/pkgconfig/neon.pc
+        }
+        reinplace "s|${configure.universal_ldflags}||g" \
+            ${destroot}${prefix}/bin/neon-config \
+            ${destroot}${prefix}/lib/pkgconfig/neon.pc
+    }
 }
 
-test.run	yes
-test.target	check
+test.run        yes
+test.target     check
 
-livecheck.type	regex
-livecheck.url	${homepage}
+livecheck.type  regex
+livecheck.url   ${homepage}
 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131125/4c365c1d/attachment.html>


More information about the macports-changes mailing list