1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name lighttpd |
---|
5 | version 1.4.0 |
---|
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 | patch_sites http://icongarden.com/patches/ |
---|
16 | checksums ${distname}.tar.gz md5 926a3603615c9edf5859977f1b8b6033 \ |
---|
17 | lighttpd.conf.diff md5 5c11f8f6c31aa436cf90b36a8cefbacf |
---|
18 | depends_lib lib:libpcre:pcre \ |
---|
19 | lib:libz.1:zlib |
---|
20 | |
---|
21 | configure.args --mandir=${prefix}/share/man |
---|
22 | |
---|
23 | variant mysql { |
---|
24 | depends_lib-append lib:libmysqlclient:mysql4 |
---|
25 | configure.args-append --with-mysql=${prefix}/bin/mysql_config |
---|
26 | |
---|
27 | post-configure { |
---|
28 | reinplace "s|<mysql/mysql.h>|\"${prefix}/include/mysql/mysql.h\"|g" \ |
---|
29 | "${worksrcpath}/src/mod_mysql_vhost.c" |
---|
30 | } |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | variant ssl { |
---|
35 | depends_lib-append bin:openssl:openssl |
---|
36 | configure.args-append --with-openssl=${prefix}/include/openssl |
---|
37 | } |
---|