aboutsummaryrefslogtreecommitdiff
path: root/www/tinyproxy
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-10-21 10:51:13 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-10-21 10:51:13 +0000
commit365b7a4e66164cce884a1c5d93c878973171e3dc (patch)
treee9ee4a35a0e5e3fb19b7f010a516272cd6ede69f /www/tinyproxy
parenta62bccf85afdbe1164740cf4bcde29c964cdf2f2 (diff)
downloadports-365b7a4e66164cce884a1c5d93c878973171e3dc.tar.gz
ports-365b7a4e66164cce884a1c5d93c878973171e3dc.zip
Notes
Diffstat (limited to 'www/tinyproxy')
-rw-r--r--www/tinyproxy/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile
index 592593907ee4..5600c2d2ed24 100644
--- a/www/tinyproxy/Makefile
+++ b/www/tinyproxy/Makefile
@@ -24,6 +24,14 @@ CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \
MAN8= tinyproxy.8
+OPTIONS= REVERSE "Enable reverse proxy support" Off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_REVERSE)
+CONFIGURE_ARGS+= --enable-reverse
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/etc/tinyproxy/tinyproxy.conf|${PREFIX}/etc/tinyproxy.conf|' \
@@ -35,4 +43,4 @@ post-install:
${PREFIX}/etc/tinyproxy.conf ; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>