[96979] trunk/dports/www/dokuwiki/Portfile

cal at macports.org cal at macports.org
Thu Aug 23 12:07:48 PDT 2012


Revision: 96979
          https://trac.macports.org/changeset/96979
Author:   cal at macports.org
Date:     2012-08-23 12:07:45 -0700 (Thu, 23 Aug 2012)
Log Message:
-----------
dokuwiki: whitespace only, convert system "cd somewhere &&" to system -W somewhere

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

Modified: trunk/dports/www/dokuwiki/Portfile
===================================================================
--- trunk/dports/www/dokuwiki/Portfile	2012-08-23 18:25:06 UTC (rev 96978)
+++ trunk/dports/www/dokuwiki/Portfile	2012-08-23 19:07:45 UTC (rev 96979)
@@ -1,51 +1,51 @@
+# -*- 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			dokuwiki
-version			2011-05-25a
-categories		www
-license			GPL-2
-platforms		darwin
-maintainers		nomaintainer
-supported_archs		noarch
+name                dokuwiki
+version             2011-05-25a
+categories          www
+license             GPL-2
+platforms           darwin
+maintainers         nomaintainer
+supported_archs     noarch
 
-description		simple to use wiki aimed at documentation projects
-long_description	dokuwiki is a simple to use wiki aimed at a small \
-				companies documentation needs. It works on plain texts files \
-				and thus needs no database. It has a simple but powerful \
-				syntax which makes sure the datafiles remain readable outside \
-				the Wiki.
+description         simple to use wiki aimed at documentation projects
+long_description    dokuwiki is a simple to use wiki aimed at a small \
+                    companies documentation needs. It works on plain texts files \
+                    and thus needs no database. It has a simple but powerful \
+                    syntax which makes sure the datafiles remain readable outside \
+                    the Wiki.
 
-homepage		http://www.splitbrain.org/projects/dokuwiki
-master_sites		http://www.splitbrain.org/_media/projects/dokuwiki/ \
-			http://dev.splitbrain.org/browse/snapshots/
-extract.suffix	.tgz
+homepage            http://www.splitbrain.org/projects/dokuwiki
+master_sites        http://www.splitbrain.org/_media/projects/dokuwiki/ \
+                    http://dev.splitbrain.org/browse/snapshots/
+extract.suffix      .tgz
 
-checksums		sha1    a437e863aa5378091fe11ee21f0c5523ca993cee \
-			rmd160  d4b9c26afb733ff5b02ed3503cefb03ee7a83c7b
+checksums           sha1    a437e863aa5378091fe11ee21f0c5523ca993cee \
+                    rmd160  d4b9c26afb733ff5b02ed3503cefb03ee7a83c7b
 
-depends_run		port:php5-web
+depends_run         port:php5-web
 
-use_configure	no
+use_configure       no
 
-build			{}
+build               {}
 
-destroot.violate_mtree	yes
-destroot	{
-	xinstall -m 755 -d ${destroot}${prefix}/apache2/htdocs \
-		${destroot}${prefix}/share ${destroot}${prefix}/var/${name}
-	system "cd ${destroot}${prefix}/apache2/htdocs/ \
-		&& ln -sf ${prefix}/share/${name}"
-	file copy ${worksrcpath} ${destroot}${prefix}/share/${name}
-	file rename ${destroot}${prefix}/share/${name}/data \
-		${destroot}${prefix}/var/${name}/data
-	system "touch ${destroot}${prefix}/var/${name}/data/.turd"
-	system "touch ${destroot}${prefix}/share/${name}/changes.log"
-	system "cd ${destroot}${prefix}/share/${name}/ \
-		&& ln -s ${prefix}/var/${name}/data"
-	system "chown -R www:www ${destroot}${prefix}/var/${name} \
-		${destroot}${prefix}/share/${name}/changes.log \
-                ${destroot}${prefix}/share/${name}/conf \
-                ${destroot}${prefix}/share/${name}/lib/plugins"
+destroot.violate_mtree yes
+destroot {
+    xinstall -m 755 -d \
+        ${destroot}${prefix}/apache2/htdocs \
+        ${destroot}${prefix}/share ${destroot}${prefix}/var/${name}
+    system -W ${destroot}${prefix}/apache2/htdocs/ "ln -sf ${prefix}/share/${name}"
+    file copy ${worksrcpath} ${destroot}${prefix}/share/${name}
+    file rename ${destroot}${prefix}/share/${name}/data \
+        ${destroot}${prefix}/var/${name}/data
+    system "touch ${destroot}${prefix}/var/${name}/data/.turd"
+    system "touch ${destroot}${prefix}/share/${name}/changes.log"
+    system -W ${destroot}${prefix}/share/${name}/ "ln -s ${prefix}/var/${name}/data"
+    system "chown -R www:www ${destroot}${prefix}/var/${name} \
+        ${destroot}${prefix}/share/${name}/changes.log \
+        ${destroot}${prefix}/share/${name}/conf \
+        ${destroot}${prefix}/share/${name}/lib/plugins"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120823/c39f1ec1/attachment.html>


More information about the macports-changes mailing list