diff options
Diffstat (limited to 'www/httptunnel/Makefile')
-rw-r--r-- | www/httptunnel/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/www/httptunnel/Makefile b/www/httptunnel/Makefile index b1138e45529..08c20859b01 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> |