Ticket #36383: Portfile.py-moin.diff
File Portfile.py-moin.diff, 2.0 KB (added by mndavidoff (Monte Davidoff), 12 years ago) |
---|
-
Portfile
old new 1 # -*- 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 1 2 # $Id: Portfile 49731 2009-04-17 00:24:08Z raimue@macports.org $ 2 3 3 PortSystem 1.04 PortGroup python251.04 PortSystem 1.0 5 PortGroup python 1.0 5 6 6 name moin 7 version 1.8.2 8 categories www python 9 platforms darwin 7 name py-moin 8 version 1.9.5 9 categories-append www 10 10 maintainers nomaintainer 11 license GPL-2+ 12 platforms darwin 11 13 description a Python-based WikiEngine 12 14 long_description MoinMoin is an advanced, easy to use \ 13 15 and extensible WikiEngine with a large \ 14 16 community of users. Said in a few words, \ 15 17 it is about collaboration on easily \ 16 editable web pages. MoinMoin is \ 17 Free Software licensed under the GNU GPL. 18 editable web pages. 18 19 19 20 homepage http://moinmo.in/ 20 21 master_sites http://static.moinmo.in/files/ 21 checksums md5 b3ced56bbe09311a7c56049423214cdb 22 distname moin-${version} 23 checksums rmd160 7cbc818109691a4ee2b65906fe67a010ca862900 \ 24 sha256 74e1d1420723aaf202f46082540524987f47c40a444f8444d58d57c66324811c 25 26 python.versions 25 26 27 27 python.default_version 27 22 28 23 post-destroot { 24 set docdir ${prefix}/share/doc/${name} 25 xinstall -m 644 -W ${worksrcpath} README ${destroot}/${docdir} 26 copy ${worksrcpath}/docs ${destroot}${docdir} 29 if {$subport != $name} { 30 post-destroot { 31 set docdir ${prefix}/share/doc/${subport} 32 xinstall -m 644 -W ${worksrcpath} README ${destroot}${docdir} 33 copy ${worksrcpath}/docs ${destroot}${docdir} 34 system "chmod -R a+r ${destroot}${python.prefix}/share/moin/underlay/pages" 35 } 27 36 }