Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name py-bitdecoder
version 0.5.1
revision 1
categories python devel
platforms darwin
maintainers nomaintainer@macports.org
description python module and program to decode bits to human readable text
long_description BitDecoder is a simple program to decode bits to some \
human readable text. It is also available as a python \
module.

homepage http://baruch.ev-en.org/proj/bitdecoder.html
master_sites http://baruch.ev-en.org/proj/
distname BitDecoder-${version}
checksums md5 0d7b66cd59ef115388998da3ca8d672b

post-build {
reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/bitdecoder
}

post-destroot {
xinstall -m 755 ${worksrcpath}/bitdecoder ${destroot}${prefix}/bin
xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README TODO \
${destroot}${prefix}/share/doc/${name}
}