aboutsummaryrefslogtreecommitdiff
path: root/www/hiawatha
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-12-27 10:06:14 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-12-27 10:06:14 +0000
commit9f318fda77c3c612fee0123e350fee69de469729 (patch)
tree7c8907a11c46e00eda11dd3d4654f5363c19ef0e /www/hiawatha
parent48838823a8c0f246484f0fb56eae02fcbf3d295b (diff)
Notes
Diffstat (limited to 'www/hiawatha')
-rw-r--r--www/hiawatha/Makefile14
-rw-r--r--www/hiawatha/distinfo6
-rw-r--r--www/hiawatha/pkg-plist2
3 files changed, 13 insertions, 9 deletions
diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile
index c5a7f2ab36b1..7368b54d9344 100644
--- a/www/hiawatha/Makefile
+++ b/www/hiawatha/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hiawatha
-PORTVERSION= 5.2
+PORTVERSION= 5.3
CATEGORIES= www
MASTER_SITES= http://hiawatha.leisink.org/files/
@@ -20,17 +20,17 @@ USE_RC_SUBR= hiawatha
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var --enable-cache webrootdir=${PREFIX}/www/hiawatha
+CONFIGURE_ARGS= --localstatedir=/var webrootdir=${PREFIX}/www/hiawatha
-OPTIONS= SSL "Compile with SSL support?" On \
- PHP "Include the CGI version of PHP?" On
+OPTIONS= SSL "Compile with SSL support?" On
+OPTIONS+= PHP "Include the CGI version of PHP?" On
CONFIG_FILES= httpd.conf mimetype.conf throttle.conf cgi_wrapper.conf
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_SSL)
-CONFIGURE_ARGS+=--enable-ssl
+.if defined(WITHOUT_SSL)
+CONFIGURE_ARGS+=--disable-ssl
.endif
.if !defined(WITHOUT_PHP)
@@ -38,6 +38,8 @@ WANT_PHP_CGI= yes
.endif
post-install:
+ ${CP} -f ${WRKSRC}/extra/fcgi-server ${PREFIX}/sbin
+ ${CP} -f ${WRKSRC}/extra/newroot ${PREFIX}/sbin
@for _file in ${CONFIG_FILES} ; do \
${CP} -f ${WRKSRC}/etc/hiawatha/$${_file} ${PREFIX}/etc/hiawatha/$${_file}.sample ; \
done
diff --git a/www/hiawatha/distinfo b/www/hiawatha/distinfo
index 7b67d351551c..17c8e434da24 100644
--- a/www/hiawatha/distinfo
+++ b/www/hiawatha/distinfo
@@ -1,3 +1,3 @@
-MD5 (hiawatha-5.2.tar.gz) = 48dc41d30c0c8fa04385705cc18422c5
-SHA256 (hiawatha-5.2.tar.gz) = 3a2620b3c6a0a106a8a39f91d055f98d24e2c6c21037052947ecd8b80194d8a9
-SIZE (hiawatha-5.2.tar.gz) = 182128
+MD5 (hiawatha-5.3.tar.gz) = 16a3d7e720fb4b1a7dd66f77c60b7dc5
+SHA256 (hiawatha-5.3.tar.gz) = 168dc7fec581a905600a4a1d50dd35e3e635a8601e5b6a023a326ce15654ae37
+SIZE (hiawatha-5.3.tar.gz) = 184446
diff --git a/www/hiawatha/pkg-plist b/www/hiawatha/pkg-plist
index f6fb1b1e0934..2cde753fd23b 100644
--- a/www/hiawatha/pkg-plist
+++ b/www/hiawatha/pkg-plist
@@ -1,6 +1,8 @@
sbin/hiawatha
sbin/cgi_wrapper
sbin/wigwam
+sbin/fcgi-server
+sbin/newroot
@unexec if cmp -s %D/etc/hiawatha/httpd.conf %D/etc/hiawatha/httpd.conf.sample; then rm -f %D/etc/hiawatha/httpd.conf; fi
@unexec if cmp -s %D/etc/hiawatha/mimetype.conf %D/etc/hiawatha/mimetype.conf.sample; then rm -f %D/etc/hiawatha/mimetype.conf; fi
@unexec if cmp -s %D/etc/hiawatha/throttle.conf %D/etc/hiawatha/throttle.conf.sample; then rm -f %D/etc/hiawatha/throttle.conf; fi