# $Id: Portfile 111586 2013-09-26 14:03:51Z jmr@macports.org $ PortSystem 1.0 name libhttpd version 1.3 categories devel www license GPL-2 maintainers nomaintainer platforms darwin freebsd description provides basic web server capabilities long_description libhttpd can be used to add basic web server \ capabilities to an application or embedded device. The \ library handles both static and dynamically generated \ content, has very low overheads, and provides many \ features to simplify the creation of web based \ application interfaces. homepage http://www.hughes.com.au/products/libhttpd/ master_sites ${homepage} checksums md5 ea0fb523fdb467702d34185be55e940c patch { reinplace "s|/usr/local|${destroot}${prefix}|g" \ ${worksrcpath}/src/Makefile.tmpl } post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/HISTORY ${worksrcpath}/License \ ${worksrcpath}/README ${worksrcpath}/doc/FAQ.txt \ ${worksrcpath}/doc/libhttpd.pdf \ ${destroot}${prefix}/share/doc/${name} }