aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/icingaweb2
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2019-04-29 07:48:20 +0000
committerLars Engels <lme@FreeBSD.org>2019-04-29 07:48:20 +0000
commitdd21275041362dfb95374c6b06fa5820c84abb9c (patch)
tree5823c70b7e6b7bc949c036288638a8f3974ecba9 /net-mgmt/icingaweb2
parent3812f2a836ed2d34d657a022a534420ea009fc18 (diff)
downloadports-dd21275041362dfb95374c6b06fa5820c84abb9c.tar.gz
ports-dd21275041362dfb95374c6b06fa5820c84abb9c.zip
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> MFH: 2019Q2
Notes
Notes: svn path=/head/; revision=500393
Diffstat (limited to 'net-mgmt/icingaweb2')
-rw-r--r--net-mgmt/icingaweb2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile
index 0dbfde28d6c2..1dc46be5ca50 100644
--- a/net-mgmt/icingaweb2/Makefile
+++ b/net-mgmt/icingaweb2/Makefile
@@ -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.