Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= lighttpd |
8 |
PORTNAME= lighttpd |
9 |
PORTVERSION= 1.4.12 |
9 |
PORTVERSION= 1.4.13 |
10 |
CATEGORIES= www |
10 |
CATEGORIES= www |
11 |
MASTER_SITES= http://www.lighttpd.net/download/ \ |
11 |
MASTER_SITES= http://www.lighttpd.net/download/ \ |
12 |
http://mirrors.cat.pdx.edu/lighttpd/ |
12 |
http://mirrors.cat.pdx.edu/lighttpd/ |
Lines 29-39
Link Here
|
29 |
|
29 |
|
30 |
MAN1= lighttpd.1 spawn-fcgi.1 |
30 |
MAN1= lighttpd.1 spawn-fcgi.1 |
31 |
|
31 |
|
32 |
OPTIONS= OPENSSL "Enable SSL support" on \ |
32 |
OPTIONS= BZIP2 "Enable Bzip2 support" off \ |
33 |
OPENLDAP "Enable LDAP support" off \ |
33 |
CML "Enable Cache Meta Language support" off \ |
34 |
MYSQL "Enable MYSQL support" off \ |
34 |
FAM "Enable fam/gamin support" off \ |
35 |
IPV6 "Enable IPV6 support" on \ |
35 |
GDBM "Enable gdbm storage support" off \ |
36 |
CML "Enable Cache Meta Language support" off |
36 |
IPV6 "Enable IPV6 support" on \ |
|
|
37 |
MEMCACHE "Enable memcached storage support" off \ |
38 |
MYSQL "Enable MYSQL support" off \ |
39 |
OPENLDAP "Enable LDAP support" off \ |
40 |
OPENSSL "Enable SSL support" on \ |
41 |
VALGRIND "Enable valgrind support" off |
37 |
|
42 |
|
38 |
.include <bsd.port.pre.mk> |
43 |
.include <bsd.port.pre.mk> |
39 |
|
44 |
|
Lines 47-72
Link Here
|
47 |
--with-openssl-libs=${OPENSSLLIB} |
52 |
--with-openssl-libs=${OPENSSLLIB} |
48 |
.endif |
53 |
.endif |
49 |
|
54 |
|
50 |
.if defined(WITH_OPENLDAP) |
55 |
.if defined(WITH_BZIP2) |
51 |
USE_OPENLDAP= yes |
56 |
LIB_DEPENDS+= bz2:${PORTSDIR}/archivers/bzip2 |
52 |
CONFIGURE_ARGS+= --with-ldap |
57 |
CONFIGURE_ARGS+= --with-bzip2 |
53 |
_REQUIRE+= slapd |
58 |
.endif |
|
|
59 |
|
60 |
.if defined(WITH_CML) |
61 |
USE_LUA= yes |
62 |
CONFIGURE_ARGS+= --with-lua |
63 |
CONFIGURE_ENV+= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR}" |
64 |
.endif |
65 |
|
66 |
.if defined(WITH_FAM) |
67 |
LIB_DEPENDS+= fam:${PORTSDIR}/devel/fam |
68 |
CONFIGURE_ARGS+= --with-fam |
69 |
CONFIGURE_ENV+= FAM_CFLAGS="-I${LOCALBASE}/include" FAM_LIBS="-L${LOCALBASE}/lib" |
70 |
.endif |
71 |
|
72 |
.if defined(WITH_GDBM) |
73 |
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm |
74 |
CONFIGURE_ARGS+= --with-gdbm |
75 |
.endif |
76 |
|
77 |
.if defined(WITHOUT_IPV6) |
78 |
CONFIGURE_ARGS+= --disable-ipv6 |
79 |
.endif |
80 |
|
81 |
.if defined(WITH_MEMCACHE) |
82 |
CONFIGURE_ARGS+= --with-memcache |
54 |
.endif |
83 |
.endif |
55 |
|
84 |
|
56 |
.if defined(WITH_MYSQL) |
85 |
.if defined(WITH_MYSQL) |
57 |
USE_MYSQL= yes |
86 |
USE_MYSQL= yes |
58 |
CONFIGURE_ARGS+= --with-mysql |
87 |
CONFIGURE_ARGS+= --with-mysql |
59 |
_REQUIRE+= mysql |
88 |
_REQUIRE+= mysql |
60 |
.endif |
89 |
.endif |
61 |
|
90 |
|
62 |
.if defined(WITHOUT_IPV6) |
91 |
.if defined(WITH_OPENLDAP) |
63 |
CONFIGURE_ARGS+= --disable-ipv6 |
92 |
USE_OPENLDAP= yes |
|
|
93 |
CONFIGURE_ARGS+= --with-ldap |
94 |
_REQUIRE+= slapd |
64 |
.endif |
95 |
.endif |
65 |
|
96 |
|
66 |
.if defined(WITH_CML) |
97 |
.if defined(WITH_VALGRIND) |
67 |
USE_LUA= 5.0 |
98 |
BUILD_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind |
68 |
CONFIGURE_ARGS+= --with-lua |
99 |
RUN_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind |
69 |
CONFIGURE_ENV+= CPPFLAGS="-I${LUA_INCDIR}" LDFLAGS="-L${LUA_LIBDIR}" |
100 |
CONFIGURE_ARGS+= --with-valgrind |
70 |
.endif |
101 |
.endif |
71 |
|
102 |
|
72 |
SUB_LIST+= REQUIRE="${_REQUIRE}" |
103 |
SUB_LIST+= REQUIRE="${_REQUIRE}" |