svn commit: r500393 - head/net-mgmt/icingaweb2

Lars Engels lme at FreeBSD.org
Mon Apr 29 07:48:21 UTC 2019


Author: lme
Date: Mon Apr 29 07:48:20 2019
New Revision: 500393
URL: https://svnweb.freebsd.org/changeset/ports/500393

Log:
  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 at wb9.se>
  MFH:		2019Q2

Modified:
  head/net-mgmt/icingaweb2/Makefile

Modified: head/net-mgmt/icingaweb2/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2/Makefile	Mon Apr 29 07:48:18 2019	(r500392)
+++ head/net-mgmt/icingaweb2/Makefile	Mon Apr 29 07:48:20 2019	(r500393)
@@ -3,6 +3,7 @@
 PORTNAME=	icingaweb2
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.6.3
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
 
 MAINTAINER=	lme at 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.


More information about the svn-ports-all mailing list