# $Id: Portfile,v 1.1 2005/03/05 05:14:40 waqar Exp $

PortSystem 1.0
name		Chmox
version		0.3
categories	aqua textproc
maintainers	waqar@opendarwin.org
description	Read CHM documents on your Mac
long_description	\
	A viewer for Microsoft Help "CHM" (aka Compiled HTML) files 	\
	on Mac OS X 10.3 using Cocoa, WebKit and chmlib.
homepage	http://chmox.sourceforge.net
platforms	macosx

fetch.type	cvs
cvs.root	:pserver:anonymous@cvs.sourceforge.net:/cvsroot/chmox
cvs.module	Sources

worksrcdir	Sources
use_configure	no

build.type 	pbx
build.target	-target ${name}
build.args	build

destroot	{
	cd ${worksrcpath}
	system "${build.cmd} install ${build.target}			\
		INSTALL_PATH=/Applications/DarwinPorts			\
		INSTALL_MODE_FLAG=go-w,a+rX DSTROOT=${destroot}"
}
