Changeset 96980


Ignore:
Timestamp:
Aug 23, 2012, 7:19:44 PM (7 years ago)
Author:
cal@…
Message:

dokuwiki: update to 2012-01-25b, simplify destroot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/dokuwiki/Portfile

    r96979 r96980  
    55
    66name                dokuwiki
    7 version             2011-05-25a
     7version             2012-01-25b
    88categories          www
    99license             GPL-2
     
    2424extract.suffix      .tgz
    2525
    26 checksums           sha1    a437e863aa5378091fe11ee21f0c5523ca993cee \
    27                     rmd160  d4b9c26afb733ff5b02ed3503cefb03ee7a83c7b
     26checksums           sha256  0231fd4fabdb14a05628fad60a6d68017b7664b645662d4dfdb5f2f704ca165a \
     27                    rmd160  af0f101eb7ea67e13888550d0b4128e4b8e40f26
    2828
    2929depends_run         port:php5-web
     
    3333build               {}
    3434
    35 destroot.violate_mtree yes
     35set docroot ${destroot}${prefix}/www/${name}
     36
    3637destroot {
    37     xinstall -m 755 -d \
    38         ${destroot}${prefix}/apache2/htdocs \
    39         ${destroot}${prefix}/share ${destroot}${prefix}/var/${name}
    40     system -W ${destroot}${prefix}/apache2/htdocs/ "ln -sf ${prefix}/share/${name}"
    41     file copy ${worksrcpath} ${destroot}${prefix}/share/${name}
    42     file rename ${destroot}${prefix}/share/${name}/data \
    43         ${destroot}${prefix}/var/${name}/data
    44     system "touch ${destroot}${prefix}/var/${name}/data/.turd"
    45     system "touch ${destroot}${prefix}/share/${name}/changes.log"
    46     system -W ${destroot}${prefix}/share/${name}/ "ln -s ${prefix}/var/${name}/data"
    47     system "chown -R www:www ${destroot}${prefix}/var/${name} \
    48         ${destroot}${prefix}/share/${name}/changes.log \
    49         ${destroot}${prefix}/share/${name}/conf \
    50         ${destroot}${prefix}/share/${name}/lib/plugins"
     38    xinstall -m 755 -d ${docroot}
     39    eval copy [glob ${worksrcpath}/*] ${docroot}
    5140}
Note: See TracChangeset for help on using the changeset viewer.