Ticket #3569: Portfile

File Portfile, 1.0 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
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
19configure.args    --mandir=${prefix}/share/man
20
21variant mysql {
22   depends_lib-append    lib:libmysqlclient:mysql4
23   configure.args-append --with-mysql=${prefix}/bin/mysql_config
24
25   post-configure {
26       reinplace "s|<mysql/mysql.h>|\"${prefix}/include/mysql/mysql.h\"|g" \
27                 "${worksrcpath}/src/mod_mysql_vhost.c"
28   }
29
30}