1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name lighttpd |
---|
5 | version 1.4.8 |
---|
6 | categories www |
---|
7 | maintainers jstetser@icongarden.com |
---|
8 | description A secure, fast, compliant and flexible web-server |
---|
9 | long_description lighttpd is a secure, fast, compliant and very flexible\ |
---|
10 | web-server which has been optimized for high-performance\ |
---|
11 | environments. It has a very low memory footprint\ |
---|
12 | compared to other webservers and takes care of cpu-load. |
---|
13 | homepage http://www.lighttpd.net/ |
---|
14 | master_sites ${homepage}/download/ |
---|
15 | checksums ${distname}.tar.gz md5 7d7790ef95ff5755f73bfcda4f13696d |
---|
16 | depends_lib lib:libpcre:pcre \ |
---|
17 | lib:libz.1:zlib |
---|
18 | |
---|
19 | configure.args --mandir=${prefix}/share/man |
---|
20 | |
---|
21 | post-destroot { |
---|
22 | file mkdir "${destroot}${prefix}/etc/${name}/" |
---|
23 | xinstall -m 644 -v "${worksrcpath}/doc/lighttpd.conf" \ |
---|
24 | "${destroot}${prefix}/etc/${name}/lighttpd.conf.default" |
---|
25 | } |
---|
26 | |
---|
27 | variant mysql { |
---|
28 | depends_lib-append lib:libmysqlclient:mysql4 |
---|
29 | configure.args-append --with-mysql=${prefix}/bin/mysql_config |
---|
30 | |
---|
31 | post-configure { |
---|
32 | reinplace "s|<mysql/mysql.h>|\"${prefix}/include/mysql/mysql.h\"|g" \ |
---|
33 | "${worksrcpath}/src/mod_mysql_vhost.c" |
---|
34 | } |
---|
35 | |
---|
36 | } |
---|
37 | |
---|
38 | variant ssl { |
---|
39 | depends_lib-append bin:openssl:openssl |
---|
40 | configure.args-append --with-openssl=${prefix}/include/openssl |
---|
41 | } |
---|
42 | |
---|
43 | variant cml { |
---|
44 | depends_lib-append lib:liblua:lua \ |
---|
45 | bin:memcached:memcached \ |
---|
46 | bin:pkgconfig:pkgconfig |
---|
47 | |
---|
48 | configure.args-append --with-lua \ |
---|
49 | --with-memcache |
---|
50 | } |
---|
51 | |
---|