# $Id: Portfile 32256 2007-12-23 09:18:47Z ryandesign@macports.org $

PortSystem			1.0
PortGroup			python24 1.0
name				py-atox
version				0.5
revision			1
categories-append	textproc
maintainers			nomaintainer
description			python-based framework for automated markup
long_description \
	Atox is a framework for automated markup. With it one can quite easily \
	write custom scripts for converting plain text into XML in any way one \
	wishes. Atox is normally used as a command-line script, using a simple \
	XML language to specify the desired transformation from text to markup, \
	but it is also possible to build custom parsers using the Atox library.  \
	The name (short for ASCII-to-XML) is inspired by such UNIX tools and \
	system functions as atops and atoi.

platforms			darwin

homepage			http://atox.sf.net/
master_sites		sourceforge:atox
distname			atox-${version}

checksums			md5 69859a646934fc555078e8c70007ed80

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} README.txt \
		${destroot}${prefix}/share/doc/${name}
	eval file copy [glob ${worksrcpath}/doc/*] \
		${destroot}${prefix}/share/doc/${name}
}

