Update port to version 0.85.

* Support symlinks in automatic plist generation
* Support for empty WEBMIN_MODULES variable (no patches yet)
This commit is contained in:
Jimmy Olgeni 2001-03-28 09:29:20 +00:00
parent 31bd66f65d
commit 96906f5359
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40466
2 changed files with 9 additions and 13 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= webmin
PORTVERSION= 0.84
PORTREVISION= 4
PORTVERSION= 0.85
CATEGORIES= sysutils
MASTER_SITES= http://webadmin.sourceforge.net/webmin/updates/ \
http://webadmin.sourceforge.net/webmin/download/
@ -23,15 +22,16 @@ USE_PERL5= yes
SCRIPTS_ENV+= WRKDIR="${WRKDIR}"
.if defined(WITH_UPDATES)
WEBMIN_MODULES= apache.wbm.gz mysql.wbm.gz status.wbm.gz \
file.wbm.gz dfsadmin-file.wbm.gz
WEBMIN_MODULES=
.endif
post-extract:
.if defined(WITH_UPDATES)
@for webmin_module in ${WEBMIN_MODULES}; do \
${TAR} xfz ${DISTDIR}/$${webmin_module} -C ${WRKSRC}; \
done
if [ "${WEBMIN_MODULES}" != "" ]; then \
for webmin_module in "${WEBMIN_MODULES}"; do \
${TAR} xfz ${DISTDIR}/$${webmin_module} -C ${WRKSRC}; \
done; \
fi
.endif
@find ${WRKSRC} -name "*.bak" | xargs ${RM}
@ -78,6 +78,7 @@ do-install:
post-install:
@${CP} ${PLIST} ${TMPPLIST}
@find ${PREFIX}/lib/webmin -type f | ${SED} -e "s@${PREFIX}/@@" | sort >> ${TMPPLIST}
@find ${PREFIX}/lib/webmin -type l | ${SED} -e "s@${PREFIX}/@@" | sort >> ${TMPPLIST}
@find ${PREFIX}/lib/webmin -type d | ${SED} -e "s@${PREFIX}/@@" | ${PERL} -e 'print (join ("\n", reverse map ("\@dirrm " . substr ($$_, 0, -1), <STDIN>)) . "\n");' >> ${TMPPLIST}
@${CAT} ${PKGMESSAGE}

View file

@ -1,6 +1 @@
MD5 (webmin-0.84.tar.gz) = 93ed89a7d98e7586cacf44e4e053e6cd
MD5 (apache.wbm.gz) = a63f2b27b6531131acc8056aaefd00eb
MD5 (mysql.wbm.gz) = 94322dc8a89d32346b51d2524b7525dc
MD5 (status.wbm.gz) = 8f58432e5fc0e992505a411888f837a2
MD5 (file.wbm.gz) = 6ca6839850e552b044045ffd0e6349ad
MD5 (dfsadmin-file.wbm.gz) = 39df28560419757123f2f29fa88f5114
MD5 (webmin-0.85.tar.gz) = 33f6029493a142650c4941ba4b967a90