diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2007-10-21 10:51:13 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2007-10-21 10:51:13 +0000 |
commit | 365b7a4e66164cce884a1c5d93c878973171e3dc (patch) | |
tree | e9ee4a35a0e5e3fb19b7f010a516272cd6ede69f /www/tinyproxy | |
parent | a62bccf85afdbe1164740cf4bcde29c964cdf2f2 (diff) |
Add OPTION to enable reverse proxy support.
PR: ports/116621
Submitted by: thompsa@
Approved by: Wesley Shields (maintainer)
Notes
Notes:
svn path=/head/; revision=201715
Diffstat (limited to 'www/tinyproxy')
-rw-r--r-- | www/tinyproxy/Makefile | 10 |
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> |