diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile index 5600c2d2ed24..7987fed7ab13 100644 --- a/www/tinyproxy/Makefile +++ b/www/tinyproxy/Makefile @@ -1,46 +1,48 @@ # New ports collection makefile for: tinyproxy # Date created: 01 Jul 1999 # Whom: Mitsuru Yoshida # # $FreeBSD$ # PORTNAME= tinyproxy PORTVERSION= 1.7.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= wxs@atarininja.org COMMENT= A small, efficient HTTP proxy server USE_RC_SUBR= tinyproxy.sh GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \ --with-config=${PREFIX}/etc/tinyproxy.conf \ --program-transform-name="" MAN8= tinyproxy.8 OPTIONS= REVERSE "Enable reverse proxy support" Off .include .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|' \ ${WRKSRC}/doc/tinyproxy.8 + @${REINPLACE_CMD} -e 's|/usr/share/tinyproxy|${DATADIR}|' \ + ${WRKSRC}/doc/tinyproxy.conf post-install: @if [ ! -f ${PREFIX}/etc/tinyproxy.conf ]; then \ ${CP} -p ${PREFIX}/etc/tinyproxy.conf-dist \ ${PREFIX}/etc/tinyproxy.conf ; \ fi .include