PortSystem 1.0
PortGroup python 1.0

name			pylize
version			1.3b
revision		2
categories		textproc python
license			GPL-2+
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		pylize is a presentation generation tool
long_description	pylize is a Python script that makes the creation of \
				on-screen presentations a matter of a few minutes. It \
				generates a template master document, which you can edit with \
				your favourite text or HTML editor. The master document is \
				then processed by pylize to generate HTML files for every \
				slide plus a file for the table of contents. You can view the \
				presentation with any CSS-capable webbrowser.

homepage		http://www.chrisarndt.de/en/software/pylize/
master_sites	${homepage}/download/
distname		pylize-${version}
checksums		md5 ab88ef521602c826390fe919b6bc572e
use_bzip2		yes

python.default_version 27

depends_run		port:py${python.version}-htmlgen port:py${python.version}-empy

use_configure	yes
configure.cmd	${python.bin}
configure.pre_args	configure.py
configure.args	${prefix}

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} COPYING Changelog README TODO \
		doc/all.html ${destroot}${prefix}/share/doc/${name}
	foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
		ln -s ${python.prefix}/bin/${binfile} \
			${destroot}${prefix}/bin/${binfile}
	}
}