# $Id: Portfile,v 1.2 2004/12/31 18:28:23 mww Exp $

PortSystem 1.0

PortGroup		python24 1.0
name			py-serial
version			2.1
revision		1
categories		python comms
platforms		darwin
maintainers		opendarwin.nospam@vercruesse.de
description		Python Serial Port Extension
long_description	This module incapsulates the access for the serial port. \
				It provides backends for standard Python running on Windows, \
				Linux, BSD (possibly any POSIX compliant system) and Jython. \
				The module named "serial" automatically selects the appropriate \
				backend.
homepage		http://pyserial.sourceforge.net/
master_sites	sourceforge:pyserial
distname		pyserial-${version}
use_zip			yes
checksums		md5 b2e11ffa387801f5f24b4aea0fa7d742

post-destroot {
	xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples enhancedserial.py miniterm.py \
		scan.py tcp_serial_redirect.py test.py test_advanced.py \
		wxSerialConfigDialog.py wxSerialConfigDialog.wxg \
		wxTerminal.py wxTerminal.wxg \
		${destroot}${prefix}/share/doc/${name}/examples
}
