# $Id$ PortSystem 1.0 PortGroup python24 1.0 name py-tconfpy version 1.185 revision 1 categories-append devel maintainers nomaintainer description Configuration file parser/validator long_description \ tconfpy is an advanced configuration file parser and validator for \ Python programs. By using tconfpy, Python programmers can provide their \ users with an external configuration file for setting program options, \ defining defaults, and so on. platforms darwin homepage http://www.tundraware.com/Software/tconfpy/ master_sites ${homepage} checksums md5 7223e2b460b2cac31f81a0caaa32b6ff post-patch { reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python|" \ ${worksrcpath}/test-tc.py } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 755 -W ${worksrcpath} test-tc.py ${destroot}${prefix}/bin xinstall -m 644 -W ${worksrcpath} tconfpy.3.gz \ ${destroot}${prefix}/share/man/man3 xinstall -m 644 -W ${worksrcpath} test-tc.1.gz \ ${destroot}${prefix}/share/man/man1 xinstall -m 644 -W ${worksrcpath} CHANGELOG.txt READ-1ST.txt WHATSNEW.txt \ tconfpy-license.txt tconfpy.html tconfpy.pdf tconfpy.ps tconfpy.py.ps \ tconfpy.txt test-tc.html test-tc.pdf test-tc.ps test-tc.py.ps \ test-tc.txt ${destroot}${prefix}/share/doc/${name} }