|
|
@@ -2,9 +2,11 @@ |
|
|
|
|
|
PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
PortGroup github 1.0 |
|
|
|
|
|
github.setup python-xlib python-xlib 0.25 |
|
|
revision 0 |
|
|
name py-xlib |
|
|
version 0.15rc1 |
|
|
categories-append x11 |
|
|
license GPL-2+ |
|
|
platforms darwin |
|
|
@@ -20,23 +22,26 @@ long_description The Python X Library is intended to be a fully \ |
|
|
TCP/IP, Unix sockets, DECnet or any other suitable \ |
|
|
streaming network protocol. |
|
|
|
|
|
homepage http://python-xlib.sourceforge.net/ |
|
|
master_sites sourceforge:project/python-xlib/python-xlib/${version} |
|
|
use_bzip2 yes |
|
|
distname python-xlib-${version} |
|
|
checksums rmd160 488454d74382ff51fb6e4195b459026d9edb40d7 \ |
|
|
sha256 dd163cc3d40aa466feeb5861e626fad5b2d5889b0f8cbd5f2e7aad2a32dd74e6 \ |
|
|
size 258891 |
|
|
|
|
|
checksums rmd160 31ba07ccc6d793962d444205907a89df0c56b961 \ |
|
|
sha256 15f8e93e9d4c04eb11d567e59ed49799e44a1f26df70711d3df2f75b80f97f57 |
|
|
python.versions 27 37 |
|
|
|
|
|
python.versions 27 |
|
|
if {${name} ne ${subport}} { |
|
|
depends_build-append \ |
|
|
port:py${python.version}-setuptools_scm |
|
|
|
|
|
depends_lib-append \ |
|
|
port:py${python.version}-six |
|
|
|
|
|
post-destroot { |
|
|
if {${name} ne ${subport}} { |
|
|
xinstall -m 644 -W ${worksrcpath} \ |
|
|
COPYING NEWS README TODO \ |
|
|
${destroot}${prefix}/share/doc/${subport} |
|
|
xinstall -m 644 {*}[glob ${worksrcpath}/examples/*] \ |
|
|
${destroot}${prefix}/share/doc/${subport}/examples |
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \ |
|
|
CHANGELOG.md TODO ${destroot}${docdir} |
|
|
xinstall -m 0644 {*}[glob ${worksrcpath}/examples/*] \ |
|
|
${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} |