svn commit: r504448 - in head/devel: . p5-Locale-XGettext
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jun 18 00:29:47 UTC 2019
Author: sunpoet
Date: Tue Jun 18 00:29:45 2019
New Revision: 504448
URL: https://svnweb.freebsd.org/changeset/ports/504448
Log:
Add p5-Locale-XGettext 0.7
When using GNU gettext you often find yourself extracting translatable strings
from more or less exotic file formats that cannot be handled by xgettext from
the GNU gettext suite directly. This package simplifies the task of writing a
string extractor in Perl, Python, Java, Ruby or other languages by providing a
common base needed for such scripts.
Locale::XGettext is the base class for various string extractors. These string
extractors can be used as standalone programs on the command-line or as a module
as a part of other software.
https://metacpan.org/release/Locale-XGettext
Added:
head/devel/p5-Locale-XGettext/
head/devel/p5-Locale-XGettext/Makefile (contents, props changed)
head/devel/p5-Locale-XGettext/distinfo (contents, props changed)
head/devel/p5-Locale-XGettext/pkg-descr (contents, props changed)
head/devel/p5-Locale-XGettext/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Jun 18 00:12:32 2019 (r504447)
+++ head/devel/Makefile Tue Jun 18 00:29:45 2019 (r504448)
@@ -2615,6 +2615,7 @@
SUBDIR += p5-Locale-Msgfmt
SUBDIR += p5-Locale-PGetText
SUBDIR += p5-Locale-PO
+ SUBDIR += p5-Locale-XGettext
SUBDIR += p5-Locale-gettext
SUBDIR += p5-Locale-libintl
SUBDIR += p5-LockFile-Simple
Added: head/devel/p5-Locale-XGettext/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Locale-XGettext/Makefile Tue Jun 18 00:29:45 2019 (r504448)
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Locale-XGettext
+PORTVERSION= 0.7
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Create PO files from text files
+
+LICENSE= LGPL3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Locale-PO>=0.27:devel/p5-Locale-PO \
+ p5-Locale-libintl>=1.20:devel/p5-Locale-libintl
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/p5-Locale-XGettext/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Locale-XGettext/distinfo Tue Jun 18 00:29:45 2019 (r504448)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1559652319
+SHA256 (Locale-XGettext-0.7.tar.gz) = 95179b62d3e8e15f9345b604a595cfa688f1209e5900a7a9ea7a38d3424ed4a8
+SIZE (Locale-XGettext-0.7.tar.gz) = 75988
Added: head/devel/p5-Locale-XGettext/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Locale-XGettext/pkg-descr Tue Jun 18 00:29:45 2019 (r504448)
@@ -0,0 +1,11 @@
+When using GNU gettext you often find yourself extracting translatable strings
+from more or less exotic file formats that cannot be handled by xgettext from
+the GNU gettext suite directly. This package simplifies the task of writing a
+string extractor in Perl, Python, Java, Ruby or other languages by providing a
+common base needed for such scripts.
+
+Locale::XGettext is the base class for various string extractors. These string
+extractors can be used as standalone programs on the command-line or as a module
+as a part of other software.
+
+https://metacpan.org/release/Locale-XGettext
Added: head/devel/p5-Locale-XGettext/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Locale-XGettext/pkg-plist Tue Jun 18 00:29:45 2019 (r504448)
@@ -0,0 +1,18 @@
+bin/xgettext-txt
+%%SITE_PERL%%/Locale/XGettext.pm
+%%SITE_PERL%%/Locale/XGettext.pod
+%%SITE_PERL%%/Locale/XGettext/Text.pm
+%%SITE_PERL%%/Locale/XGettext/Text.pod
+%%SITE_PERL%%/Locale/XGettext/Util/Flag.pm
+%%SITE_PERL%%/Locale/XGettext/Util/Flag.pod
+%%SITE_PERL%%/Locale/XGettext/Util/Keyword.pm
+%%SITE_PERL%%/Locale/XGettext/Util/Keyword.pod
+%%SITE_PERL%%/Locale/XGettext/Util/POEntries.pm
+%%SITE_PERL%%/Locale/XGettext/Util/POEntries.pod
+%%SITE_PERL%%/LocaleData/de/LC_MESSAGES/Locale-XGettext.mo
+%%PERL5_MAN1%%/xgettext-txt.1.gz
+%%PERL5_MAN3%%/Locale::XGettext.3.gz
+%%PERL5_MAN3%%/Locale::XGettext::Text.3.gz
+%%PERL5_MAN3%%/Locale::XGettext::Util::Flag.3.gz
+%%PERL5_MAN3%%/Locale::XGettext::Util::Keyword.3.gz
+%%PERL5_MAN3%%/Locale::XGettext::Util::POEntries.3.gz
More information about the svn-ports-all
mailing list