Ticket #36383: Portfile.py-moin

File Portfile.py-moin, 1.4 KB (added by mndavidoff (Monte Davidoff), 12 years ago)
Line 
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
2# $Id: Portfile 49731 2009-04-17 00:24:08Z raimue@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-moin
8version             1.9.5
9categories-append   www
10maintainers         nomaintainer
11license             GPL-2+
12platforms           darwin
13description         a Python-based WikiEngine
14long_description    MoinMoin is an advanced, easy to use \
15                    and extensible WikiEngine with a large \
16                    community of users. Said in a few words, \
17                    it is about collaboration on easily \
18                    editable web pages.
19
20homepage            http://moinmo.in/
21master_sites        http://static.moinmo.in/files/
22distname            moin-${version}
23checksums           rmd160  7cbc818109691a4ee2b65906fe67a010ca862900 \
24                    sha256  74e1d1420723aaf202f46082540524987f47c40a444f8444d58d57c66324811c
25
26python.versions     25 26 27
27python.default_version 27
28
29if {$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    }
36}