# $Id$

PortSystem 1.0

name		cheetah
version		1.8
revision	1
categories	www
license		GPL-2+
platforms	darwin
maintainers	nomaintainer
description	very minimal web server
long_description	cheetah is a very minimal web server for testing small \
			local sites, or to continue to serve some content \
			while configuring your primary web server. It has very \
			few features (and is single-threaded with optional \
			fork support), except that it will serve files in a \
			directory under a user-specified port, does not \
			require root access and can serve Last Modified \
			information to aid caching.

homepage	http://neuro-tech.net/category/software/
master_sites	http://neuro-tech.net/files/

checksums	md5 2ae0b72ab52168929993b4d7c30058b4 \
		sha1 5aac9aa16c152856e804ea16d71766dcdc166bbd \
		rmd160 b46540dc17d8423a239bd5a0fa9f3382b493decf

configure.args	--mandir=${prefix}/share/man

post-destroot	{
	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} \
		${destroot}${prefix}/share/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
		NEWS README TODO ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/cheetah.c \
		${destroot}${prefix}/share/${name}
}

livecheck.type	regex
livecheck.url	[lindex ${master_sites} 0]
livecheck.regex	${name}-(\[0-9.\]+)\\.tar