Ticket #14449: Portfile

File Portfile, 1.2 KB (added by opendarwin.nospam@…, 16 years ago)
Line 
1# $Id: Portfile 20387 2006-11-03 00:16:46Z blair@macports.org $
2
3PortSystem 1.0
4
5PortGroup               python25 1.0
6name                    py25-serial
7version                 2.2
8categories-append       comms
9platforms               darwin
10maintainers             opendarwin.nospam@vercruesse.de
11description             Python Serial Port Extension
12long_description        This module incapsulates the access for the serial port. \
13                                It provides backends for standard Python running on Windows, \
14                                Linux, BSD (possibly any POSIX compliant system) and Jython. \
15                                The module named "serial" automatically selects the appropriate \
16                                backend.
17homepage                http://pyserial.sourceforge.net/
18master_sites            sourceforge:pyserial
19distname                pyserial-${version}
20use_zip                 yes
21checksums               md5 14e774b7b6e5aa52820f0590d3b8c4d9 \
22                        sha1 e2fdf7f22ec930497d96b2177c057dacfdcce887 \
23                        rmd160 5c743d5c0c5bd2b86738897efaf46404fef4f3a1
24
25post-destroot {
26        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
27                ${destroot}${prefix}/share/doc/${name}
28        xinstall -m 644 -W ${worksrcpath}/examples enhancedserial.py miniterm.py \
29                scan.py tcp_serial_redirect.py test.py test_advanced.py \
30                wxSerialConfigDialog.py wxSerialConfigDialog.wxg \
31                wxTerminal.py wxTerminal.wxg \
32                ${destroot}${prefix}/share/doc/${name}/examples
33}