mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
locale_maketext_extract, add perl module (#9384)
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
SUMMARY="Use other catalog formats in Maketext"
|
||||
DESCRIPTION="This module can extract translatable strings from files, and write them back to PO \
|
||||
files. It can also parse existing PO files and merge their contents with newly extracted strings.
|
||||
|
||||
A command-line utility, xgettext.pl, is installed with this module as well.
|
||||
|
||||
The format parsers are loaded as plugins, so it is possible to define your own parsers."
|
||||
HOMEPAGE="https://metacpan.org/pod/Locale::Maketext::Extract"
|
||||
COPYRIGHT="2014 by Audrey Tang"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b73f6b04a58d3f0e38ebf2115a4c1532f1a4eef6fac5c6a2a449e4e14c1ddc7c"
|
||||
SOURCE_DIR="Locale-Maketext-Lexicon-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
locale_maketext_extract = $portVersion
|
||||
cmd:xgettext.pl
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install DESTDIR="${DESTDIR}"
|
||||
}
|
||||
Reference in New Issue
Block a user