Ticket #4541: Portfile

File Portfile, 1.3 KB (added by jstetser@…, 19 years ago)

Portfile for Lighttpd 1.4.0

Line 
1# $Id: $
2
3PortSystem 1.0
4name              lighttpd
5version           1.4.0
6categories        www
7maintainers       jstetser@icongarden.com
8description       A secure, fast, compliant and flexible web-server
9long_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.
13homepage          http://www.lighttpd.net/
14master_sites      ${homepage}/download/
15patch_sites       http://icongarden.com/patches/
16checksums         ${distname}.tar.gz md5 926a3603615c9edf5859977f1b8b6033 \
17                  lighttpd.conf.diff md5 5c11f8f6c31aa436cf90b36a8cefbacf
18depends_lib       lib:libpcre:pcre \
19                  lib:libz.1:zlib
20
21configure.args    --mandir=${prefix}/share/man
22
23variant 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
34variant ssl {
35   depends_lib-append   bin:openssl:openssl
36   configure.args-append --with-openssl=${prefix}/include/openssl
37}