aboutsummaryrefslogtreecommitdiff
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2015-10-09 12:12:45 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2015-10-09 12:12:45 +0000
commit0dcbc7e0ddd40f34f0366bb24c12796d48c1df5d (patch)
tree04b6994a12698c8403e984d320e3ac5d6d61ab79 /sysutils/webmin
parentfccd59adfb0dcfed727bc68597cdff8afd74d187 (diff)
downloadports-0dcbc7e0ddd40f34f0366bb24c12796d48c1df5d.tar.gz
ports-0dcbc7e0ddd40f34f0366bb24c12796d48c1df5d.zip
Make sure to patch all config files for %%PREFIX%%.
Notes
Notes: svn path=/head/; revision=398908
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index cbcd57d9a54f..dec5542551d2 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -3,6 +3,7 @@
PORTNAME= webmin
PORTVERSION= 1.760
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.webmin.com/updates/:up \
SF/webadmin/${PORTNAME}/${PORTVERSION}:sf
@@ -37,7 +38,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/setup.sh
- @${FIND} ${WRKSRC} -name config-freebsd\* \
+ @${FIND} ${WRKSRC} \( -name config-freebsd\* -or -name config \) \
-exec ${REINPLACE_CMD} -e "s@/usr/local@${PREFIX}@g" {} \; \
-exec ${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" {} \;