source: trunk/dports/python/py-gtkmvc/Portfile

Last change on this file was 150724, checked in by petr@…, 14 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-gtkmvc
7version             1.99.1
8revision            2
9categories-append   x11
10platforms           darwin
11maintainers         nomaintainer
12
13description         Model-View-Controller for PyGTK2
14long_description    This is an implementation of the Model-View-Controller and Observer \
15                    patterns for the Pygtk2 toolkit.  MVC is a pattern that can be \
16                    successfully used to design and develop well structured GUI applications. \
17                    The MVC pattern basically helps in separating sematics and data of the \
18                    application, from their representation. The Observer pattern is also \
19                    embedded here. This pattern allows making separated parts independent, \
20                    but still connected each other.
21
22homepage            http://pygtkmvc.sourceforge.net/
23master_sites        sourceforge:pygtkmvc
24distname            python-gtkmvc-${version}
25
26checksums           rmd160  9fe09b6146490afef9c079dae7518896ee2a7f21 \
27                    sha256  a8a74fb0a21d9e229950927a906f5f83ee19e459547138b360a6c60418667ab7
28
29python.versions     27
30
31if {${name} ne ${subport}} {
32    depends_lib-append  port:py${python.version}-pygtk
33
34    post-destroot {
35        # Remove preinstalled examples dir, it's empty!
36        file delete ${destroot}${prefix}/share/doc/${subport}/examples
37        copy ${worksrcpath}/docs ${worksrcpath}/examples \
38            ${worksrcpath}/README ${destroot}${prefix}/share/doc/${subport}
39    }
40}
Note: See TracBrowser for help on using the repository browser.