# $Id: Portfile 45857 2009-01-23 17:40:50Z mww@macports.org $

PortSystem 1.0

name		cheetah
version		1.8
revision	1
categories	www
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://www.neuro-tech.net/archives/000044.html
master_sites	http://www.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}
}
