# $Id: Portfile,v 1.5 2005/12/14 02:33:25 matt Exp $ PortSystem 1.0 name lighttpd version 1.4.8 categories www maintainers jstetser@icongarden.com description A secure, fast, compliant and flexible web-server long_description lighttpd is a secure, fast, compliant and very flexible\ web-server which has been optimized for high-performance\ environments. It has a very low memory footprint\ compared to other webservers and takes care of cpu-load. homepage http://www.lighttpd.net/ master_sites ${homepage}/download/ checksums ${distname}.tar.gz md5 7d7790ef95ff5755f73bfcda4f13696d \ lighttpd.conf md5 5c11f8f6c31aa436cf90b36a8cefbacf depends_lib lib:libpcre:pcre \ lib:libz.1:zlib configure.args --mandir=${prefix}/share/man variant mysql { depends_lib-append lib:libmysqlclient:mysql4 configure.args-append --with-mysql=${prefix}/bin/mysql_config post-configure { reinplace "s||\"${prefix}/include/mysql/mysql.h\"|g" \ "${worksrcpath}/src/mod_mysql_vhost.c" } } post-destroot { file mkdir "${destroot}${prefix}/etc/${name}/" xinstall -m 644 -v "${worksrcpath}/doc/lighttpd.conf" \ "${destroot}${prefix}/etc/${name}/lighttpd.conf.default" } variant ssl { depends_lib-append bin:openssl:openssl configure.args-append --with-openssl=${prefix}/include/openssl } variant cml { depends_lib-append lib:liblua:lua \ bin:memcached:memcached \ bin:pkgconfig:pkgconfig configure.args-append --with-lua \ --with-memcache }