5b61678705
Generic TTS implements Icinga Web 2's ticket hook for replacing ticket patterns with links to your trouble ticket system (TTS). Icinga Web 2's core module monitoring for example uses the ticket hook for acknowledgements, downtimes and comments. Other modules may use the ticket hook for all kinds of text too. WWW: https://github.com/Icinga/icingaweb2-module-generictts
29 lines
568 B
Makefile
29 lines
568 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= icingaweb2-module-generictts
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.0.0
|
|
CATEGORIES= net-mgmt www
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Generic ticket system integration into Icinga web 2
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= icinga
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
|
|
|
|
.include <bsd.port.mk>
|