2013-09-21 00:10:23 +02:00
|
|
|
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
2003-07-02 14:31:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= prtunnel
|
2006-03-16 15:57:27 +01:00
|
|
|
PORTVERSION= 0.2.7
|
2003-07-02 14:31:30 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://joshbeam.com/files/
|
|
|
|
|
2006-01-20 07:12:05 +01:00
|
|
|
MAINTAINER= vd@FreeBSD.org
|
2003-07-02 14:31:30 +02:00
|
|
|
COMMENT= Tunnel for TCP connections using an HTTP or SOCKS5 proxy
|
|
|
|
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
|
2006-01-10 10:35:23 +01:00
|
|
|
PORTDOCS= ChangeLog README
|
2014-06-23 16:29:07 +02:00
|
|
|
PLIST_FILES= bin/prtunnel man/man1/prtunnel.1.gz
|
2004-03-20 19:17:28 +01:00
|
|
|
|
2014-07-04 23:44:04 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2003-07-02 14:31:30 +02:00
|
|
|
post-patch:
|
2006-01-10 10:35:23 +01:00
|
|
|
@${REINPLACE_CMD} -E '/^(CC|CFLAGS|PREFIX)/d' \
|
|
|
|
${WRKSRC}/Makefile
|
2003-07-02 14:31:30 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-06-23 16:29:07 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2006-01-10 10:35:23 +01:00
|
|
|
.for f in ${PORTDOCS}
|
2014-06-23 16:29:07 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2003-07-02 14:31:30 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|