# $Id: Portfile,v 1.1 2004/10/26 20:56:52 mww Exp $

PortSystem 1.0

name			c2html
version			1.0.0
categories		textproc
platforms		darwin
maintainers		mww@opendarwin.org
description		c2html converts C source files to highlighted html
long_description	c2html is a program which converts C source files to \
				highlighted html files. The produced file can be used for \
				creating technical manuals. A highlighted source code listing \
				is usually much easier to read.

homepage		http://c2html.sourceforge.net/
master_sites	sourceforge
distname		${name}_${version}
checksums		md5 b6348896e0272e6cd41b883efa5f9574

worksrcdir		${name}

use_configure	no

destroot	{
	xinstall -m 755 ${worksrcpath}/c2html ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} INSTALL Installation\ guide.pdf LICENSE \
		User\ manual.pdf ${destroot}${prefix}/share/doc/${name}
}
