summaryrefslogtreecommitdiff
path: root/www/httptunnel/Makefile
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-08-31 20:30:55 +0000
committerBrian Somers <brian@FreeBSD.org>2000-08-31 20:30:55 +0000
commite697ee667e5e02fc1ab5a45eebce16356b407cf6 (patch)
tree71afa753659629694da067386dc336f4f8e7c239 /www/httptunnel/Makefile
parentAdd ruby-snmp, Ruby interface to UCD-SNMP library. (diff)
Upgrade to 3.2 (no functional changes)
Set $HTS and $HTC in etc/rc.d/httptunnel.sh Allow HTCPROXYAUTH to specify a file name
Diffstat (limited to 'www/httptunnel/Makefile')
-rw-r--r--www/httptunnel/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/httptunnel/Makefile b/www/httptunnel/Makefile
index b1138e45529a..08c20859b01d 100644
--- a/www/httptunnel/Makefile
+++ b/www/httptunnel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= httptunnel
-PORTVERSION= 3.1
+PORTVERSION= 3.2
CATEGORIES= www
MASTER_SITES= http://www.Awfulhak.org/httptunnel/ \
ftp://ftp.nocrew.org/pub/nocrew/unix/ \
@@ -22,7 +22,8 @@ CONFIGURE_ARGS+=--enable-debug
MAN1= hts.1 htc.1
post-install:
- [ -f ${PREFIX}/etc/rc.d/httptunnel.sh ] || \
- ${INSTALL_SCRIPT} ${FILESDIR}/httptunnel.sh ${PREFIX}/etc/rc.d/.
+ ${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${FILESDIR}/httptunnel.sh \
+ >${PREFIX}/etc/rc.d/httptunnel.sh
+ ${CHMOD} 755 ${PREFIX}/etc/rc.d/httptunnel.sh
.include <bsd.port.mk>