aboutsummaryrefslogtreecommitdiff
path: root/sysutils/usermin
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/usermin
parentfccd59adfb0dcfed727bc68597cdff8afd74d187 (diff)
Notes
Diffstat (limited to 'sysutils/usermin')
-rw-r--r--sysutils/usermin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/usermin/Makefile b/sysutils/usermin/Makefile
index 27b9f8594eae..da5f35898fd1 100644
--- a/sysutils/usermin/Makefile
+++ b/sysutils/usermin/Makefile
@@ -2,6 +2,7 @@
PORTNAME= usermin
PORTVERSION= 1.670
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/uupdates/:up \
SF/webadmin/${PORTNAME}/${PORTVERSION}:sf \
@@ -43,7 +44,7 @@ post-patch:
@${REINPLACE_CMD} -i '' -e 's|=/etc/webmin|=${PREFIX}/etc/webmin|' ${WRKSRC}/${file}
.endfor
- @${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" {} \;