[90387] trunk/dports/www/pserv/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Mar 3 17:57:51 PST 2012


Revision: 90387
          http://trac.macports.org/changeset/90387
Author:   ryandesign at macports.org
Date:     2012-03-03 17:57:48 -0800 (Sat, 03 Mar 2012)
Log Message:
-----------
pserv: whitespace changes; add modeline

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

Modified: trunk/dports/www/pserv/Portfile
===================================================================
--- trunk/dports/www/pserv/Portfile	2012-03-04 01:54:11 UTC (rev 90386)
+++ trunk/dports/www/pserv/Portfile	2012-03-04 01:57:48 UTC (rev 90387)
@@ -1,44 +1,49 @@
+# -*- 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			pserv
-version			3.0
-categories		www
-platforms		darwin
-maintainers		nomaintainer
-description		Pico Server is a small web server.
-long_description	${description}
+name                pserv
+version             3.0
+categories          www
+platforms           darwin
+maintainers         nomaintainer
 
-homepage		http://pserv.sourceforge.net/
-master_sites	sourceforge
-extract.suffix	.tar.Z
-checksums		md5 2c38f859631ab09f3cd4ff15b4de457e
-patchfiles		patch-main.h \
-				patch-Makefile
+description         Pico Server is a small web server.
 
-worksrcdir		pserv
+long_description    ${description}
 
-use_configure	no
+homepage            http://pserv.sourceforge.net/
+master_sites        sourceforge
+extract.suffix      .tar.Z
 
-build.dir		${worksrcpath}/sources
-build.args		PREFIX=${prefix}
+checksums           md5     2c38f859631ab09f3cd4ff15b4de457e
+
+patchfiles          patch-main.h \
+                    patch-Makefile
+
+worksrcdir          pserv
+
+use_configure       no
+
+build.dir           ${worksrcpath}/sources
+build.args          PREFIX=${prefix}
 build.target
 
-destroot	{
-	xinstall -m 755 ${worksrcpath}/sources/pserv \
-		${destroot}${prefix}/sbin
-	xinstall -m 755 -d ${destroot}${prefix}/var/www/ \
-		${destroot}${prefix}/share/pserv/ \
-		${destroot}${prefix}/etc/pserv/ \
-		${destroot}${prefix}/var/log/pserv
-	xinstall -m 644 ${worksrcpath}/defaults/index.html \
-		${destroot}${prefix}/var/www
-	xinstall -m 644 ${worksrcpath}/defaults/mime_types.dat \
-		${destroot}${prefix}/share/pserv/
-	xinstall -m 644 ${filespath}/pserv.conf \
-		${destroot}${prefix}/etc/pserv/
-	reinplace "s|__PREFIX__|${prefix}|g" \
-		${destroot}${prefix}/etc/pserv/pserv.conf
-	system "touch ${destroot}${prefix}/var/log/pserv/pserv.log"
+destroot {
+    xinstall -m 755 ${worksrcpath}/sources/pserv \
+        ${destroot}${prefix}/sbin
+    xinstall -m 755 -d ${destroot}${prefix}/var/www/ \
+        ${destroot}${prefix}/share/pserv/ \
+        ${destroot}${prefix}/etc/pserv/ \
+        ${destroot}${prefix}/var/log/pserv
+    xinstall -m 644 ${worksrcpath}/defaults/index.html \
+        ${destroot}${prefix}/var/www
+    xinstall -m 644 ${worksrcpath}/defaults/mime_types.dat \
+        ${destroot}${prefix}/share/pserv/
+    xinstall -m 644 ${filespath}/pserv.conf \
+        ${destroot}${prefix}/etc/pserv/
+    reinplace "s|__PREFIX__|${prefix}|g" \
+        ${destroot}${prefix}/etc/pserv/pserv.conf
+    system "touch ${destroot}${prefix}/var/log/pserv/pserv.log"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120303/f0cdf015/attachment.html>


More information about the macports-changes mailing list