symlink icingacli from /var/www/icinga2-web/bin to /usr/local/bin

This commit is contained in:
sthen 2016-06-22 21:33:55 +00:00
parent 54a3def57b
commit 745674edac
2 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2016/04/29 09:14:46 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2016/06/22 21:33:55 sthen Exp $
COMMENT = next-generation web UI for icinga
V = 2.3.2
REVISION = 0
DISTNAME = icinga-web2-$V
DISTFILES = ${DISTNAME}{v$V}.tar.gz
WRKDIST = ${WRKDIR}/icingaweb2-$V
@ -28,5 +29,7 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/icinga-web2
cd ${WRKSRC}; pax -rw ./ ${PREFIX}/icinga-web2/
find ${PREFIX}/icinga-web2 -name '*.orig' | xargs rm
ln -s ${TRUEPREFIX}/icinga-web2/bin/icingacli \
${WRKINST}/usr/local/bin/
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2016/04/18 09:48:09 sthen Exp $
@comment $OpenBSD: PLIST,v 1.6 2016/06/22 21:33:55 sthen Exp $
@newgroup _icingaweb2:762
@newuser _icingaweb2:762:_icingaweb2:daemon:Icinga-web2 user:/var/www/icinga-web2:/sbin/nologin
@extraunexec rm -rf %D/etc/icingaweb2/*
@ -3926,5 +3926,6 @@ icinga-web2/tmp/
@mode
@owner
@group
@cwd /usr/local/share/doc/pkg-readmes
${FULLPKGNAME}
@cwd /usr/local
share/doc/pkg-readmes/${FULLPKGNAME}
bin/icingacli