Skip to content

Commit

Permalink
net-mgmt/icinga-ipl-i18n: add new Port
Browse files Browse the repository at this point in the history
ipl-i18n provides a translation suite using PHP's native gettext extension for Icinga.

Sponsored by:	Netzkommune GmbH
  • Loading branch information
joneum committed Dec 14, 2022
1 parent 26c717c commit b152692
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-mgmt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
SUBDIR += gsnmp
SUBDIR += guifi-snpservices
SUBDIR += hastmon
SUBDIR += icinga-ipl-i18n
SUBDIR += icinga-php-library
SUBDIR += icinga-php-thirdparty
SUBDIR += icinga2
Expand Down
30 changes: 30 additions & 0 deletions net-mgmt/icinga-ipl-i18n/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
PORTNAME= icinga-ipl-i18n
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
CATEGORIES= net-mgmt www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}

MAINTAINER= joneum@FreeBSD.org
COMMENT= Icinga PHP library
WWW= https://github.com/Icinga/ipl-i18n

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= php:web,flavors

USE_GITHUB= yes
GH_ACCOUNT= icinga
GH_PROJECT= ipl-i18n

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>
3 changes: 3 additions & 0 deletions net-mgmt/icinga-ipl-i18n/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1671020944
SHA256 (icinga-ipl-i18n-v0.2.0_GH0.tar.gz) = 810570c7a044ca1868cbd920169b1ed93f2705b1ff2d8444c51f0210622a3977
SIZE (icinga-ipl-i18n-v0.2.0_GH0.tar.gz) = 9163
1 change: 1 addition & 0 deletions net-mgmt/icinga-ipl-i18n/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ipl-i18n provides a translation suite using PHP's native gettext extension for Icinga.
25 changes: 25 additions & 0 deletions net-mgmt/icinga-ipl-i18n/pkg-plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
%%WWWDIR%%/.github/workflows/php.yml
%%WWWDIR%%/.gitignore
%%WWWDIR%%/LICENSE
%%WWWDIR%%/README.md
%%WWWDIR%%/composer.json
%%WWWDIR%%/phpcs.xml
%%WWWDIR%%/phpunit.xml
%%WWWDIR%%/src/GettextTranslator.php
%%WWWDIR%%/src/Locale.php
%%WWWDIR%%/src/NoopTranslator.php
%%WWWDIR%%/src/StaticTranslator.php
%%WWWDIR%%/src/Translation.php
%%WWWDIR%%/src/functions.php
%%WWWDIR%%/src/functions_include.php
%%WWWDIR%%/tests/FunctionsTest.php
%%WWWDIR%%/tests/GettextTranslatorTest.php
%%WWWDIR%%/tests/LocaleTest.php
%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/default.mo
%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/default.po
%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/special.mo
%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/special.po
%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/default.mo
%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/default.po
%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/special.mo
%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/special.po

0 comments on commit b152692

Please sign in to comment.