1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net-mgmt/icingaweb2-module-pdfexport/Makefile
Lars Engels 4fc808df0c Fix dependency syntax
PR:		210021
Submitted by:	fluffy@
Reported by:	mat@
2019-12-18 10:10:45 +00:00

38 lines
812 B
Makefile

# $FreeBSD$
PORTNAME= icingaweb2-module-pdfexport
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
PORTREVISION= 2
CATEGORIES= net-mgmt www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= lme@FreeBSD.org
COMMENT= Icinga PDF Export
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \
chromium>0:www/chromium
USES= php:web,flavors
USE_GITHUB= yes
GH_ACCOUNT= icinga
NO_BUILD= yes
NO_ARCH= yes
WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
post-patch:
@${REINPLACE_CMD} -e "s|/bin/google-chrome|${LOCALBASE}/bin/chrome|" \
${WRKSRC}/library/Pdfexport/ProvidedHook/Pdfexport.php
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>