# $Id: Portfile 61840 2009-12-21 23:23:21Z ecronin@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                py26-pyusb-devel
conflicts           py26-pyusb
version             1.0.0svn39
categories          python devel
maintainers         ecronin openmaintainer
description         Python library to provide easy USB device access
long_description    ${description}

platforms           darwin

homepage            http://pyusb.berlios.de/
fetch.type          svn
svn.url             https://pyusb.svn.sourceforge.net/svnroot/pyusb/trunk
svn.revision        39
worksrcdir          trunk

depends_lib-append  port:libusb

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath}/docs tutorial.txt \
      ${destroot}${prefix}/share/doc/${name}
}

