svn commit: r501868 - in head/net-mgmt: . icingaweb2-module-pdfexport
Lars Engels
lme at FreeBSD.org
Fri May 17 12:49:52 UTC 2019
Author: lme
Date: Fri May 17 12:49:49 2019
New Revision: 501868
URL: https://svnweb.freebsd.org/changeset/ports/501868
Log:
Add net-mgmt/icingaweb2-module-pdfexport:
PDF export functionality for Icinga Web 2 using Google Chrome/Chromium for
rendering.
WWW: https://github.com/Icinga/icingaweb2-module-pdfexport
Added:
head/net-mgmt/icingaweb2-module-pdfexport/
head/net-mgmt/icingaweb2-module-pdfexport/Makefile (contents, props changed)
head/net-mgmt/icingaweb2-module-pdfexport/distinfo (contents, props changed)
head/net-mgmt/icingaweb2-module-pdfexport/pkg-descr (contents, props changed)
head/net-mgmt/icingaweb2-module-pdfexport/pkg-plist (contents, props changed)
Modified:
head/net-mgmt/Makefile
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Fri May 17 12:48:36 2019 (r501867)
+++ head/net-mgmt/Makefile Fri May 17 12:49:49 2019 (r501868)
@@ -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
Added: head/net-mgmt/icingaweb2-module-pdfexport/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/icingaweb2-module-pdfexport/Makefile Fri May 17 12:49:49 2019 (r501868)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= icingaweb2-module-pdfexport
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.9.0
+CATEGORIES= net-mgmt www
+
+MAINTAINER= lme at 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>
Added: head/net-mgmt/icingaweb2-module-pdfexport/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/icingaweb2-module-pdfexport/distinfo Fri May 17 12:49:49 2019 (r501868)
@@ -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
Added: head/net-mgmt/icingaweb2-module-pdfexport/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/icingaweb2-module-pdfexport/pkg-descr Fri May 17 12:49:49 2019 (r501868)
@@ -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
Added: head/net-mgmt/icingaweb2-module-pdfexport/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/icingaweb2-module-pdfexport/pkg-plist Fri May 17 12:49:49 2019 (r501868)
@@ -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
More information about the svn-ports-all
mailing list