# $Id: Portfile,v 1.2 2005/01/06 07:30:26 toby Exp $

PortSystem 1.0
name		chmdump
version		20030521
categories	textproc
maintainers	digdog@opendarwin.org
description     a Microsoft HTML Help (.CHM) file dumper.
long_description \
	A tool that dumps out all the files in a \
	Microsoft HTML Help (.CHM) file.
homepage	http://www.speakeasy.org/~russotto/chm/
platforms	darwin

master_sites	${homepage}
distname	chmtools
checksums	md5 614b91758ddbeb0ab1c4186fdd13d78a

patchfiles	patch-chmlib.h

configure	{}

build.target
build.args	CFLAGS=-D_POSIX_SOURCE

destroot {
	xinstall -m 555 ${worksrcpath}/${portname} ${destroot}/${prefix}/bin
}
