diff options
author | glarkin <glarkin@FreeBSD.org> | 2010-09-16 08:23:07 +0800 |
---|---|---|
committer | glarkin <glarkin@FreeBSD.org> | 2010-09-16 08:23:07 +0800 |
commit | 458d7106f0797cb9a37fdbadc1ca4da87f458b02 (patch) | |
tree | be3d3026eb33d649eab773c88f4e78ead4e0d22a | |
parent | 2fef4fe345d5de466e3c4c7ad607ee9feb387937 (diff) | |
download | freebsd-ports-gnome-458d7106f0797cb9a37fdbadc1ca4da87f458b02.tar.gz freebsd-ports-gnome-458d7106f0797cb9a37fdbadc1ca4da87f458b02.tar.zst freebsd-ports-gnome-458d7106f0797cb9a37fdbadc1ca4da87f458b02.zip |
- 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)
-rw-r--r-- | www/hiawatha/Makefile | 34 | ||||
-rw-r--r-- | www/hiawatha/files/pkg-message.in | 4 |
2 files changed, 28 insertions, 10 deletions
diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile index 1f8547ae2d4f..9119aa2bd4c4 100644 --- a/www/hiawatha/Makefile +++ b/www/hiawatha/Makefile @@ -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 +.if !defined(WITH_IPV6) +CONFIGURE_ARGS+= --disable-ipv6 .endif -.if defined(WITH_COMMAND) -CONFIGURE_ARGS+= --enable-command +.if !defined(WITH_LARGEFILE) +CONFIGURE_ARGS+= --disable-largefile .endif -.if !defined(WITH_IPV6) -CONFIGURE_ARGS+= --disable-ipv6 +.if !defined(WITH_SSL) +CONFIGURE_ARGS+= --disable-ssl .endif -.if !defined(WITH_MONITOR) -CONFIGURE_ARGS+= --disable-monitor +.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} diff --git a/www/hiawatha/files/pkg-message.in b/www/hiawatha/files/pkg-message.in index e6d1904ea27f..8910cecef72b 100644 --- a/www/hiawatha/files/pkg-message.in +++ b/www/hiawatha/files/pkg-message.in @@ -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 + =============================================================================== |