diff options
author | Lars Engels <lme@FreeBSD.org> | 2019-05-17 12:49:49 +0000 |
---|---|---|
committer | Lars Engels <lme@FreeBSD.org> | 2019-05-17 12:49:49 +0000 |
commit | 88ba50c2e2061ca593cb1e1d3b537de5d64c424d (patch) | |
tree | b6825e1420b7348e4944ce581b06069717409eaf /net-mgmt | |
parent | 18b4a45381cb07ca5f7d893606364b7a839e1cd7 (diff) | |
download | ports-88ba50c2e2061ca593cb1e1d3b537de5d64c424d.tar.gz ports-88ba50c2e2061ca593cb1e1d3b537de5d64c424d.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/icingaweb2-module-pdfexport/Makefile | 35 | ||||
-rw-r--r-- | net-mgmt/icingaweb2-module-pdfexport/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/icingaweb2-module-pdfexport/pkg-descr | 4 | ||||
-rw-r--r-- | net-mgmt/icingaweb2-module-pdfexport/pkg-plist | 10 |
5 files changed, 53 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index fa4faa3b1447..8073d64a531f 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -96,6 +96,7 @@ SUBDIR += icingaweb2-module-graphite SUBDIR += icingaweb2-module-ipl SUBDIR += icingaweb2-module-map + SUBDIR += icingaweb2-module-pdfexport SUBDIR += icingaweb2-module-reactbundle SUBDIR += icingaweb2-module-reporting SUBDIR += icingaweb2-module-vsphere diff --git a/net-mgmt/icingaweb2-module-pdfexport/Makefile b/net-mgmt/icingaweb2-module-pdfexport/Makefile new file mode 100644 index 000000000000..7da9326da9e4 --- /dev/null +++ b/net-mgmt/icingaweb2-module-pdfexport/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= icingaweb2-module-pdfexport +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.0 +CATEGORIES= net-mgmt www + +MAINTAINER= lme@FreeBSD.org +COMMENT= Icinga PDF Export + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +#RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2 \ +# chromium>0:www/chromium +RUN_DEPENDS= icingaweb2>=2.4.1:net-mgmt/icingaweb2 +# chromium>0:www/chromium + +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> diff --git a/net-mgmt/icingaweb2-module-pdfexport/distinfo b/net-mgmt/icingaweb2-module-pdfexport/distinfo new file mode 100644 index 000000000000..7d83af0e9a24 --- /dev/null +++ b/net-mgmt/icingaweb2-module-pdfexport/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1557828071 +SHA256 (icinga-icingaweb2-module-pdfexport-v0.9.0_GH0.tar.gz) = 1dd71dc5d2fb517e7e4984c96eeeb45ede79b9c49962f720af35c917c630bda3 +SIZE (icinga-icingaweb2-module-pdfexport-v0.9.0_GH0.tar.gz) = 11280 diff --git a/net-mgmt/icingaweb2-module-pdfexport/pkg-descr b/net-mgmt/icingaweb2-module-pdfexport/pkg-descr new file mode 100644 index 000000000000..2db9a19c7b3d --- /dev/null +++ b/net-mgmt/icingaweb2-module-pdfexport/pkg-descr @@ -0,0 +1,4 @@ +PDF export functionality for Icinga Web 2 using Google Chrome/Chromium for +rendering. + +WWW: https://github.com/Icinga/icingaweb2-module-pdfexport diff --git a/net-mgmt/icingaweb2-module-pdfexport/pkg-plist b/net-mgmt/icingaweb2-module-pdfexport/pkg-plist new file mode 100644 index 000000000000..2b67b6af7e6e --- /dev/null +++ b/net-mgmt/icingaweb2-module-pdfexport/pkg-plist @@ -0,0 +1,10 @@ +%%WWWDIR%%/.github/ISSUE_TEMPLATE.md +%%WWWDIR%%/.gitignore +%%WWWDIR%%/LICENSE +%%WWWDIR%%/README.md +%%WWWDIR%%/doc/02-Installation.md +%%WWWDIR%%/library/Pdfexport/HeadlessChrome.php +%%WWWDIR%%/library/Pdfexport/ProvidedHook/Pdfexport.php +%%WWWDIR%%/library/Pdfexport/ShellCommand.php +%%WWWDIR%%/module.info +%%WWWDIR%%/run.php |