PortSystem 1.0

name			cmunge
version			1.0
categories		devel
license			none
platforms		darwin
maintainers		nomaintainer
description		tool for encrypting and compacting C source code
long_description	cmunge is a simple tool for encrypting and compacting C \
			source code, while leaving it syntactically and semantically \
			unchanged.

homepage		http://www.vcpc.univie.ac.at/~jhm/cmunge/
master_sites	ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/
distname		cmunge
checksums		md5 1ba149c619cacdfbbaf7ec59281b8cc2

worksrcdir		cmunger

patchfiles		returntypes.patch

use_configure	no

destroot {
	xinstall -m 755 -W ${worksrcpath} cmunge bin/ctran bin/proc-incl \
		${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}

livecheck.type	regex
livecheck.regex	{version ([0-9.]+)}