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

Last change on this file was 127349, checked in by larryv@…, 3 years ago

py{24,25,26}-xlib: Replace with py27-xlib

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
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 127349 2014-10-26 01:14:10Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-xlib
8version             0.15rc1
9categories-append   x11
10license             GPL-2+
11platforms           darwin
12maintainers         nomaintainer
13supported_archs     noarch
14
15description         python module for the X protocol
16long_description    The Python X Library is intended to be a fully \
17                    functional X client library for Python programs. It is \
18                    written entirely in Python. This is possible to do \
19                    since X client programs communicate with the X server \
20                    via the X protocol. The communication takes place over \
21                    TCP/IP, Unix sockets, DECnet or any other suitable \
22                    streaming network protocol.
23
24homepage            http://python-xlib.sourceforge.net/
25master_sites        sourceforge:project/python-xlib/python-xlib/${version}
26use_bzip2           yes
27distname            python-xlib-${version}
28
29checksums           rmd160  31ba07ccc6d793962d444205907a89df0c56b961 \
30                    sha256  15f8e93e9d4c04eb11d567e59ed49799e44a1f26df70711d3df2f75b80f97f57
31
32python.versions     27
33
34
35post-destroot {
36    if {${name} ne ${subport}} {
37        xinstall -m 644 -W ${worksrcpath} \
38            COPYING NEWS README TODO \
39            ${destroot}${prefix}/share/doc/${subport}
40        eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
41           ${destroot}${prefix}/share/doc/${subport}/examples
42    }
43}
Note: See TracBrowser for help on using the repository browser.