MFH: r500393

net-mgmt/icingaweb2:

- Fix plist by installing icingacli's bash completion to ${PREFIX}/etc/bash_completion.d/
- Bump PORTREVISION

PR:		237596
Submitted by:	Fredrik Eriksson <freebsd@wb9.se>

Approved by:	portmgr (antoine)
This commit is contained in:
Lars Engels 2019-04-30 16:45:01 +00:00
parent 7f5dd6fb9f
commit a5716684c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=500507

View File

@ -3,6 +3,7 @@
PORTNAME= icingaweb2
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.3
PORTREVISION= 1
CATEGORIES= net-mgmt www
MAINTAINER= lme@FreeBSD.org
@ -48,9 +49,9 @@ post-patch:
${REINPLACE_CMD} 's%readlink[^)]*)%"${PREFIX}/bin/php"%g' \
${WRKSRC}/application/clicommands/WebCommand.php
do-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/bash_completion.d/
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
${INSTALL_DATA} ${WRKSRC}/etc/bash_completion.d/icingacli \
${STAGEDIR}${EXAMPLESDIR}/bash_completion.d
${STAGEDIR}${PREFIX}/etc/bash_completion.d
(cd ${WRKSRC} && ${RM} -r .mailmap changelog.py icingaweb2.spec \
bin/license_writer.py packages test)
(${FIND} ${WRKSRC} -name "*.bak" -delete)
@ -60,6 +61,7 @@ do-install:
${CHMOD} 755 ${STAGEDIR}${WWWDIR}/bin/icingacli
${RLN} ${STAGEDIR}${WWWDIR}/bin/icingacli ${STAGEDIR}${PREFIX}/bin/icingacli
${MKDIR} ${STAGEDIR}${ETCDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
.for webserver in apache nginx
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${webserver}
# ICINGAWEB_CONFIGDIR is set to /nonexistent to allow staging as user.