# $Id: Portfile 124630 2014-08-27 06:06:34Z aronnax@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-smisk version 1.1.6 categories python www license MIT BSD platforms darwin maintainers rasmus description High performance web service framework long_description A modern high performance web service framework, written \ in C but controlled by Python. homepage http://python-smisk.org/ master_sites http://python-smisk.org/dist/ \ http://distfiles.macports.org/python/ distname smisk-${version} checksums sha1 e0b1f278816c03967f178b63659f20cf40ec17b4 python.versions 26 if {${name} ne ${subport}} { depends_lib-append port:fcgi \ port:py${python.version}-cjson \ port:py${python.version}-setuptools \ port:py${python.version}-elixir \ port:py${python.version}-mako \ port:py${python.version}-readline \ port:py${python.version}-yaml variant minimal description {Minimize number of dependencies} { # Smisk will tell the user when she is trying to use a part of Smisk which # requires a certain module which is not available, thus no extra # configuration is required. depends_lib-delete port:py${python.version}-cjson \ port:py${python.version}-elixir \ port:py${python.version}-mako \ port:py${python.version}-readline \ port:py${python.version}-yaml } build.env-append SMISK_BUILD_ID_SUFFIX=:macports:${revision} build.args-append -f post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} LICENSE README.rst CHANGELOG.rst ${destroot}${prefix}/share/doc/${subport} copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}/examples } }