aboutsummaryrefslogtreecommitdiff
path: root/www/httptunnel/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2009-01-30 10:24:07 +0000
committerRong-En Fan <rafan@FreeBSD.org>2009-01-30 10:24:07 +0000
commitcebdb0c2fc6db7bb149f42f84bf0baaeec1c6f8a (patch)
treeb4eb8b5a1a8d362cc0147501e65aad7ed28a1573 /www/httptunnel/Makefile
parentc8bb0fd24d5983f1a853122c5db34e8d3110cb0e (diff)
downloadports-cebdb0c2fc6db7bb149f42f84bf0baaeec1c6f8a.tar.gz
ports-cebdb0c2fc6db7bb149f42f84bf0baaeec1c6f8a.zip
Notes
Diffstat (limited to 'www/httptunnel/Makefile')
-rw-r--r--www/httptunnel/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/www/httptunnel/Makefile b/www/httptunnel/Makefile
index f1e198ff1167..0e55ab66a180 100644
--- a/www/httptunnel/Makefile
+++ b/www/httptunnel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= httptunnel
PORTVERSION= 3.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.Awfulhak.org/httptunnel/ \
ftp://ftp.nocrew.org/pub/nocrew/unix/ \
@@ -16,16 +16,18 @@ MASTER_SITES= http://www.Awfulhak.org/httptunnel/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Tunnel a tcp/ip connection through a http/tcp/ip connection
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
.if defined(ENABLE_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif
MAN1= hts.1 htc.1
+USE_RC_SUBR= hts htc
+
+PLIST_FILES= bin/hts bin/htc
+
post-install:
- ${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${FILESDIR}/httptunnel.sh \
- >${PREFIX}/etc/rc.d/httptunnel.sh
- ${CHMOD} 755 ${PREFIX}/etc/rc.d/httptunnel.sh
+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>