aboutsummaryrefslogtreecommitdiff
path: root/sysutils/usermin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/usermin/Makefile')
-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" {} \;