aboutsummaryrefslogtreecommitdiff
path: root/sysutils/webmin
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/Makefile11
-rw-r--r--sysutils/webmin/distinfo2
2 files changed, 8 insertions, 5 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index a0db77467ea2..a11be16fa738 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= webmin
PORTVERSION= 1.180
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/updates/ \
${MASTER_SITE_SOURCEFORGE}
@@ -25,7 +26,8 @@ USE_PERL5= yes
USE_RC_SUBR= yes
USE_REINPLACE= yes
-WEBMIN_MODULES= sendmail-1.180-1.wbm.gz
+WEBMIN_MODULES= ldap-useradmin-1.180-1.wbm.gz \
+ sendmail-1.180-1.wbm.gz
WEBMIN_THEMES=
post-extract:
@@ -58,10 +60,6 @@ post-patch:
| ${XARGS} ${REINPLACE_CMD} -e "s@#!/usr/local/bin/perl@#!${PERL}@"
@${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
@${FIND} ${WRKSRC} -name "*.bak" -print | ${XARGS} ${RM}
-# we may have 2 levels of empty directories which cause the plist generation
-# system to fail
- @${FIND} ${WRKSRC} -type d -empty -print | ${XARGS} ${RMDIR}
- @${FIND} ${WRKSRC} -type d -empty -print | ${XARGS} ${RMDIR}
do-install:
@${MKDIR} ${PREFIX}/lib/webmin
@@ -75,6 +73,9 @@ do-install:
post-install:
@cd ${WRKSRC} ; ${FIND} * -type f -o -type l | ${SORT} | ${AWK} \
'{ print "lib/webmin/" $$1 }' > ${WRKDIR}/PLIST.lib-webmin
+ @cd ${WRKSRC} ; ${FIND} * -type d -empty | ${SORT} -r | ${AWK} \
+ '{ print "lib/webmin/" $$1 }' | ${SED} -e 's#^#@exec mkdir -p %D/#g' \
+ >> ${WRKDIR}/PLIST.lib-webmin
@cd ${WRKSRC} ; ${FIND} * -type d | ${SORT} -r | ${AWK} \
'{ print "lib/webmin/" $$1 }' | ${SED} -e 's/^/@dirrm /g' \
>> ${WRKDIR}/PLIST.lib-webmin
diff --git a/sysutils/webmin/distinfo b/sysutils/webmin/distinfo
index 0a367b7f5341..3ecfd29f11d3 100644
--- a/sysutils/webmin/distinfo
+++ b/sysutils/webmin/distinfo
@@ -1,4 +1,6 @@
MD5 (webmin-1.180.tar.gz) = bce184bd1f22841c69e1773b18a72b3b
SIZE (webmin-1.180.tar.gz) = 7461621
+MD5 (ldap-useradmin-1.180-1.wbm.gz) = 073e885fff513da6eca28b6fb4f6f270
+SIZE (ldap-useradmin-1.180-1.wbm.gz) = 34041
MD5 (sendmail-1.180-1.wbm.gz) = a02e08a2ae7cc5999685b8088d1fa54b
SIZE (sendmail-1.180-1.wbm.gz) = 272496