- Added the "largefile" option to be passed to the configure script

- Makefile cleanups and option sorting
- Bumped PORTREVISION

PR:		ports/150242
Submitted by:	C-S <c-s at c-s dot li> (maintainer)
This commit is contained in:
Greg Larkin 2010-09-16 00:23:07 +00:00
parent 57d96b2a66
commit eac331a05b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261245
2 changed files with 30 additions and 12 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= hiawatha
PORTVERSION= 7.3
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.hiawatha-webserver.org/files/ \
http://www.c-s.li/ports/
@ -14,6 +15,8 @@ MASTER_SITES= http://www.hiawatha-webserver.org/files/ \
MAINTAINER= c-s@c-s.li
COMMENT= An advanced and secure webserver for Unix
LICENSE= GPLv2
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL
PORTEXAMPLES= hiawatha mkcert newroot php-fcgi
CONFIG_FILES= hiawatha.conf mimetype.conf cgi-wrapper.conf php-fcgi.conf
@ -33,6 +36,7 @@ LDFLAGS= -L${LOCALBASE}/lib
OPTIONS= COMMAND "Enable the Hiawatha CommandChannel" Off \
CACHE "Internal file caching support" On \
IPV6 "Enable IPv6 Support" On \
LARGEFILE "Support for large files" On \
MONITOR "Enable Hiawatha Monitor" On \
SSL "Support for Secure Sockets Layer (SSL)" On \
TOOLKIT "Enable URL Toolkit" On \
@ -40,28 +44,30 @@ OPTIONS= COMMAND "Enable the Hiawatha CommandChannel" Off \
.include <bsd.port.pre.mk>
.if !defined(WITH_SSL)
CONFIGURE_ARGS+= --disable-ssl
.if defined(WITH_COMMAND)
CONFIGURE_ARGS+= --enable-command
.else
CONFIGURE_ARGS+= --disable-command
.endif
.if !defined(WITH_CACHE)
CONFIGURE_ARGS+= --disable-cache
.endif
.if !defined(WITH_TOOLKIT)
CONFIGURE_ARGS+= --disable-toolkit
.endif
.if defined(WITH_COMMAND)
CONFIGURE_ARGS+= --enable-command
.endif
.if !defined(WITH_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !defined(WITH_MONITOR)
CONFIGURE_ARGS+= --disable-monitor
.if !defined(WITH_LARGEFILE)
CONFIGURE_ARGS+= --disable-largefile
.endif
.if !defined(WITH_SSL)
CONFIGURE_ARGS+= --disable-ssl
.endif
.if !defined(WITH_TOOLKIT)
CONFIGURE_ARGS+= --disable-toolkit
.endif
.if !defined(WITH_XSLT)
@ -71,6 +77,14 @@ USE_GNOME+= libxslt
CPPFLAGS+= -I${LOCALBASE}/include/libxml2
.endif
.if !defined(WITH_MONITOR)
CONFIGURE_ARGS+= --disable-monitor
.else
CONFIGURE_ARGS+= --enable-xslt
USE_GNOME+= libxslt
CPPFLAGS+= -I${LOCALBASE}/include/libxml2
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}

View file

@ -7,4 +7,8 @@ Edit the configuration files in %%ETCDIR%% to suit your needs.
Add hiawatha_enable="YES" to rc.conf and start Hiawatha by running:
%%PREFIX%%/etc/rc.d/hiawatha start
If you configured Hiawatha with Monitor, download and install the respective
files needed to monitor your webserver:
http://www.hiawatha-webserver.org/monitor
===============================================================================