summaryrefslogtreecommitdiff
path: root/www/lighttpd/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-08 19:05:32 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-08 19:05:32 +0000
commit445e3c26753d95977e97d62b3ad68a9c18cf63d0 (patch)
treed5be55250e143f57da4c4031a2e0dcac664cfe4d /www/lighttpd/Makefile
parentFix libmpeg2 detection on 4.x branch (diff)
- add mirror sites managed by myself
- server.pid-file config file entry needed by init script - WITHOUT_OPENSSL tunable to disable SSL support (enabled by default) PR: ports/74812 Submitted by: Hendrik Scholz <hendrik@scholz.net> (maintainer)
Notes
Notes: svn path=/head/; revision=123478
Diffstat (limited to 'www/lighttpd/Makefile')
-rw-r--r--www/lighttpd/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index 18c79d1739f7..d4eec11202c5 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -7,8 +7,11 @@
PORTNAME= lighttpd
PORTVERSION= 1.3.6
+PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= http://jan.kneschke.de/projects/lighttpd/download/
+MASTER_SITES= http://jan.kneschke.de/projects/lighttpd/download/ \
+ http://dl.fkb.wormulon.net/lighttpd/ \
+ http://dl.kel.wormulon.net/lighttpd/
MAINTAINER= hendrik@scholz.net
COMMENT= A secure, fast, compliant, and very flexible Web Server
@@ -25,8 +28,19 @@ CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib
STARTUP_FILE= ${PREFIX}/etc/rc.d/lighttpd.sh
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+.if !defined(WITHOUT_OPENSSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS+= --with-openssl
+.endif
+
MAN1= lighttpd.1
+pre-everything::
+.if !defined(WITHOUT_OPENSSL)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can disable SSL support by defining WITHOUT_OPENSSL"
+.endif
+
post-install:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/lighttpd.sh.tmpl > ${STARTUP_FILE}