summaryrefslogtreecommitdiff
path: root/www/tinyproxy/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-12-02 17:06:03 +0000
committerwiz <wiz@pkgsrc.org>2005-12-02 17:06:03 +0000
commitcf2bdd45787554652535ceba77d78fe2ca147c1d (patch)
tree6a6ce528df7a0f0811fdcbe62cf183e74fcac8e8 /www/tinyproxy/Makefile
parentf6210738c358902d2b36080d263168fe6fbe2974 (diff)
downloadpkgsrc-cf2bdd45787554652535ceba77d78fe2ca147c1d.tar.gz
Convert to options framework.
Fix socks option (USE_SOCKS previously could not have worked for various reasons). Fix a few pkglint quoting warnings.
Diffstat (limited to 'www/tinyproxy/Makefile')
-rw-r--r--www/tinyproxy/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile
index 89caa6c469c..69dc31c8b37 100644
--- a/www/tinyproxy/Makefile
+++ b/www/tinyproxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/08/23 11:48:52 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2005/12/02 17:06:03 wiz Exp $
#
DISTNAME= tinyproxy-1.6.2
@@ -20,19 +20,16 @@ TINYPROXY_USER?= tinyproxy
TINYPROXY_GROUP?= tinyproxy
PKG_GROUPS= ${TINYPROXY_GROUP}
PKG_USERS= ${TINYPROXY_USER}:${TINYPROXY_GROUP}::Tinyproxy\ user
-FILES_SUBST+= TINYPROXY_USER="${TINYPROXY_USER}"
-FILES_SUBST+= TINYPROXY_GROUP="${TINYPROXY_GROUP}"
+FILES_SUBST+= TINYPROXY_USER=${TINYPROXY_USER:Q}
+FILES_SUBST+= TINYPROXY_GROUP=${TINYPROXY_GROUP:Q}
CONFIGURE_ARGS+= --with-config=${PKG_SYSCONFDIR}/tinyproxy.conf
CONFIGURE_ARGS+= --enable-transparent-proxy
# Avoid an ICE in gcc2 on sparc64
-CONFIGURE_ENV+= F77=${FALSE}
+CONFIGURE_ENV+= F77=${FALSE:Q}
-# Socks support
-.if defined(USE_SOCKS) && ${USE_SOCKS} == YES
-CONFIGURE_ARGS+= --enable-socks
-.endif
+.include "options.mk"
EGDIR= ${PREFIX}/share/examples/tinyproxy