# $Id: Portfile 81905 2011-08-06 13:44:07Z jmr@macports.org $

PortSystem 1.0

name			elhttp
version			0.22
categories		net
platforms		darwin
maintainers		nomaintainer
description		the extra-light http proxy server
long_description	${description}

homepage		http://www.cr0.net:8040/code/network/
master_sites	${homepage} http://downloads.openwrt.org/sources/
extract.suffix	.tgz
checksums		md5 b52f68c47f709e9fc9429250eb8f954c
patchfiles		patch-elhttp.c

use_configure	no

build.target	linux

destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
	xinstall -m 755 -s ${worksrcpath}/elhttp ${destroot}${prefix}/sbin
	xinstall -m 644 ${worksrcpath}/README ChangeLog \
		${destroot}${prefix}/share/doc/${name}/
}
