source: trunk/dports/www/dokuwiki/Portfile @ 87969

Last change on this file since 87969 was 81188, checked in by ryandesign@…, 8 years ago

dokuwiki: update to 2011-05-25a, indicate noarch, indicate violate_mtree, use php5-web port

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 81188 2011-07-27 02:09:35Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    dokuwiki
6version                 2011-05-25a
7categories              www
8platforms               darwin
9maintainers             nomaintainer
10supported_archs         noarch
11
12description             simple to use wiki aimed at documentation projects
13long_description        dokuwiki is a simple to use wiki aimed at a small \
14                                companies documentation needs. It works on plain texts files \
15                                and thus needs no database. It has a simple but powerful \
16                                syntax which makes sure the datafiles remain readable outside \
17                                the Wiki.
18
19homepage                http://www.splitbrain.org/projects/dokuwiki
20master_sites            http://www.splitbrain.org/_media/projects/dokuwiki/ \
21                        http://dev.splitbrain.org/browse/snapshots/
22extract.suffix  .tgz
23
24checksums               sha1    a437e863aa5378091fe11ee21f0c5523ca993cee \
25                        rmd160  d4b9c26afb733ff5b02ed3503cefb03ee7a83c7b
26
27depends_run             port:php5-web
28
29use_configure   no
30
31build                   {}
32
33destroot.violate_mtree  yes
34destroot        {
35        xinstall -m 755 -d ${destroot}${prefix}/apache2/htdocs \
36                ${destroot}${prefix}/share ${destroot}${prefix}/var/${name}
37        system "cd ${destroot}${prefix}/apache2/htdocs/ \
38                && ln -sf ${prefix}/share/${name}"
39        file copy ${worksrcpath} ${destroot}${prefix}/share/${name}
40        file rename ${destroot}${prefix}/share/${name}/data \
41                ${destroot}${prefix}/var/${name}/data
42        system "touch ${destroot}${prefix}/var/${name}/data/.turd"
43        system "touch ${destroot}${prefix}/share/${name}/changes.log"
44        system "cd ${destroot}${prefix}/share/${name}/ \
45                && ln -s ${prefix}/var/${name}/data"
46        system "chown -R www:www ${destroot}${prefix}/var/${name} \
47                ${destroot}${prefix}/share/${name}/changes.log \
48                ${destroot}${prefix}/share/${name}/conf \
49                ${destroot}${prefix}/share/${name}/lib/plugins"
50}
Note: See TracBrowser for help on using the repository browser.