[96980] trunk/dports/www/dokuwiki/Portfile
cal at macports.org
cal at macports.org
Thu Aug 23 12:19:46 PDT 2012
Revision: 96980
https://trac.macports.org/changeset/96980
Author: cal at macports.org
Date: 2012-08-23 12:19:44 -0700 (Thu, 23 Aug 2012)
Log Message:
-----------
dokuwiki: update to 2012-01-25b, simplify destroot
Modified Paths:
--------------
trunk/dports/www/dokuwiki/Portfile
Modified: trunk/dports/www/dokuwiki/Portfile
===================================================================
--- trunk/dports/www/dokuwiki/Portfile 2012-08-23 19:07:45 UTC (rev 96979)
+++ trunk/dports/www/dokuwiki/Portfile 2012-08-23 19:19:44 UTC (rev 96980)
@@ -4,7 +4,7 @@
PortSystem 1.0
name dokuwiki
-version 2011-05-25a
+version 2012-01-25b
categories www
license GPL-2
platforms darwin
@@ -23,8 +23,8 @@
http://dev.splitbrain.org/browse/snapshots/
extract.suffix .tgz
-checksums sha1 a437e863aa5378091fe11ee21f0c5523ca993cee \
- rmd160 d4b9c26afb733ff5b02ed3503cefb03ee7a83c7b
+checksums sha256 0231fd4fabdb14a05628fad60a6d68017b7664b645662d4dfdb5f2f704ca165a \
+ rmd160 af0f101eb7ea67e13888550d0b4128e4b8e40f26
depends_run port:php5-web
@@ -32,20 +32,9 @@
build {}
-destroot.violate_mtree yes
+set docroot ${destroot}${prefix}/www/${name}
+
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"
+ xinstall -m 755 -d ${docroot}
+ eval copy [glob ${worksrcpath}/*] ${docroot}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120823/b35873e5/attachment.html>
More information about the macports-changes
mailing list