aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-02-01 21:48:33 +0800
committerwxs <wxs@FreeBSD.org>2008-02-01 21:48:33 +0800
commit11a0a228df3e885969345540d92ffe9df2f9b4d5 (patch)
tree7903355715d9a63aca5204983fe55b80906d7631
parenta014ba6119a342625d1dcf1cb7b6da50b4e351ff (diff)
downloadfreebsd-ports-gnome-11a0a228df3e885969345540d92ffe9df2f9b4d5.tar.gz
freebsd-ports-gnome-11a0a228df3e885969345540d92ffe9df2f9b4d5.tar.zst
freebsd-ports-gnome-11a0a228df3e885969345540d92ffe9df2f9b4d5.zip
Fix paths in the configuration file.
PR: ports/119955 Submitted by: Hark <cab902@yahoo.com> Approved by: garga (mentor)
-rw-r--r--www/tinyproxy/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/tinyproxy/Makefile b/www/tinyproxy/Makefile
index 5600c2d2ed24..7987fed7ab13 100644
--- a/www/tinyproxy/Makefile
+++ b/www/tinyproxy/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tinyproxy
PORTVERSION= 1.7.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -36,6 +36,8 @@ 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 \