Ticket #3569: Portfile.2

File Portfile.2, 1.2 KB (added by jstetser@…, 19 years ago)

Full Portfile

Line 
1# $Id: $
2
3PortSystem 1.0
4name              lighttpd
5version           1.3.14
6categories        www
7maintainers       jstetser@icongarden.com
8revision          1.1
9description       A secure, fast, compliant and flexible web-server
10long_description  lighttpd is a secure, fast, compliant and very flexible\
11                  web-server which has been optimized for high-performance\
12                  environments. It has a very low memory footprint\
13                  compared to other webservers and takes care of cpu-load.
14homepage          http://www.lighttpd.net/
15master_sites      ${homepage}/download/
16checksums         md5 16d9f8c40bcb5638ee452fa23b21e346
17depends_lib       lib:libpcre:pcre \
18                  lib:libz.1:zlib
19
20configure.args    --mandir=${prefix}/share/man
21
22variant mysql {
23   depends_lib-append    lib:libmysqlclient:mysql4
24   configure.args-append --with-mysql=${prefix}/bin/mysql_config
25
26   post-configure {
27       reinplace "s|<mysql/mysql.h>|\"${prefix}/include/mysql/mysql.h\"|g" \
28                 "${worksrcpath}/src/mod_mysql_vhost.c"
29   }
30
31}
32
33variant ssl {
34   depends_lib-append   bin:openssl:openssl
35   configure.args-append --with-openssl=${prefix}/include/openssl
36}