1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

tools for helping translation of documentation

The po4a (po for anything) project goal is to ease translations
(and more interestingly, the maintenance of translations) using
gettext tools on areas where they were not expected like documentation.

This package contains the main libraries of po4a, and the following sub-modules:

  - KernelHelp: Help messages of each kernel compilation option.
  - Man: Good old manual page format.
  - Pod: Perl documentation format.
  - Sgml: either debiandoc or docbook DTD.
  - Dia: uncompressed Dia diagrams.
  - LaTeX: generic TeX or LaTeX format

WWW: http://packages.debian.org/unstable/text/po4a

PR:		ports/91532
Submitted by:	Meno Abels <meno.abels@adviser.com>
This commit is contained in:
Andrey Slusar 2006-01-24 19:48:09 +00:00
parent 239bbd6172
commit 34ffb5a9cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154377
6 changed files with 203 additions and 0 deletions

View File

@ -592,6 +592,7 @@
SUBDIR += php5-xmlreader
SUBDIR += php5-xmlwriter
SUBDIR += php5-xsl
SUBDIR += po4a
SUBDIR += pocketreader
SUBDIR += ppower4
SUBDIR += print-n-times

53
textproc/po4a/Makefile Normal file
View File

@ -0,0 +1,53 @@
# New ports collection makefile for: po4a
# Date created: 08 January 2006
# Whom: Meno Abels <meno.abels@adviser.com>
#
# $FreeBSD$
#
PORTNAME= po4a
PORTVERSION= 0.23
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/p/po4a
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= Meno.Abels@Adviser.com
COMMENT= Documentation gettext tools
BUILD_DEPENDS= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build \
${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
${SITE_PERL}/Text/WrapI18N.pm:${PORTSDIR}/textproc/libtext-wrapi18n-perl \
${SITE_PERL}/SGMLS.pm:${PORTSDIR}/textproc/p5-SGMLSpm \
${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
USE_GETTEXT= yes
USE_PERL5= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Locale::Po4a::TransTractor.3 \
Locale::Po4a::LaTeX.3 \
Locale::Po4a::Pod.3 \
Locale::Po4a::Po.3 \
Locale::Po4a::Sgml.3 \
Locale::Po4a::Text.3 \
Locale::Po4a::Common.3 \
Locale::Po4a::KernelHelp.3 \
Locale::Po4a::Guide.3 \
Locale::Po4a::Man.3 \
Locale::Po4a::Xml.3 \
Locale::Po4a::Dia.3 \
Locale::Po4a::Docbook.3 \
Locale::Po4a::Chooser.3 \
Locale::Po4a::TeX.3
MAN1= po4a-translate.1 \
po4a.1 \
po4a-normalize.1 \
msguntypot.1 \
po4a-updatepo.1 \
po4a-gettextize.1
.include <bsd.port.mk>

3
textproc/po4a/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (po4a_0.23.orig.tar.gz) = 858a312cff483d7ff3e0db7dfaf759d1
SHA256 (po4a_0.23.orig.tar.gz) = 0e448e6609efefb37436d3507ab6265df46c94bcab0ea41fad1602ee5b4d6f04
SIZE (po4a_0.23.orig.tar.gz) = 736399

View File

@ -0,0 +1,11 @@
--- Build.PL.orig Mon Jan 23 13:59:39 2006
+++ Build.PL Mon Jan 23 13:59:52 2006
@@ -271,7 +271,7 @@
'po4a-translate', 'po4a-normalize', 'po4a', 'msguntypot'],
add_to_cleanup => ['t/tmp','messages.mo', 'blib', 'html',
'po/pod/po4a-pod.pot~', 'po4a.log'],
- install_path => {po => $base.'/locale', man => $base.'/man'},
+ install_path => {po => $base.'/share/locale', man => $base.'/man'},
dist_abstract => 'Tools for helping translation of documentation',
dist_author => ['Martin Quinson (mquinson#debian.org)',
'Denis Barbier <barbier@linuxfr.org>']

16
textproc/po4a/pkg-descr Normal file
View File

@ -0,0 +1,16 @@
tools for helping translation of documentation
The po4a (po for anything) project goal is to ease translations
(and more interestingly, the maintenance of translations) using
gettext tools on areas where they were not expected like documentation.
This package contains the main libraries of po4a, and the following sub-modules:
- KernelHelp: Help messages of each kernel compilation option.
- Man: Good old manual page format.
- Pod: Perl documentation format.
- Sgml: either debiandoc or docbook DTD.
- Dia: uncompressed Dia diagrams.
- LaTeX: generic TeX or LaTeX format
WWW: http://packages.debian.org/unstable/text/po4a

119
textproc/po4a/pkg-plist Normal file
View File

@ -0,0 +1,119 @@
bin/po4a-normalize
bin/po4a-gettextize
bin/msguntypot
bin/po4a-updatepo
bin/po4a
bin/po4a-translate
man/ca/man1/po4a-normalize.1p.gz
man/ca/man1/po4a-gettextize.1p.gz
man/ca/man1/po4a-updatepo.1p.gz
man/ca/man1/po4a-translate.1p.gz
man/ca/man3/Locale::Po4a::Dia.3pm.gz
man/ca/man3/Locale::Po4a::Po.3pm.gz
man/ca/man3/Locale::Po4a::LaTeX.3pm.gz
man/ca/man3/Locale::Po4a::Pod.3pm.gz
man/ca/man3/Locale::Po4a::Xml.3pm.gz
man/ca/man3/Locale::Po4a::TransTractor.3pm.gz
man/ca/man3/Locale::Po4a::Guide.3pm.gz
man/ca/man3/Locale::Po4a::KernelHelp.3pm.gz
man/ca/man3/Locale::Po4a::Chooser.3pm.gz
man/ca/man3/Locale::Po4a::Docbook.3pm.gz
man/es/man1/po4a-normalize.1p.gz
man/es/man1/po4a-gettextize.1p.gz
man/es/man1/po4a-updatepo.1p.gz
man/es/man1/po4a-translate.1p.gz
man/es/man3/Locale::Po4a::Dia.3pm.gz
man/es/man3/Locale::Po4a::Po.3pm.gz
man/es/man3/Locale::Po4a::LaTeX.3pm.gz
man/es/man3/Locale::Po4a::Pod.3pm.gz
man/es/man3/Locale::Po4a::Xml.3pm.gz
man/es/man3/Locale::Po4a::TransTractor.3pm.gz
man/es/man3/Locale::Po4a::Guide.3pm.gz
man/es/man3/Locale::Po4a::KernelHelp.3pm.gz
man/es/man3/Locale::Po4a::Chooser.3pm.gz
man/es/man3/Locale::Po4a::Docbook.3pm.gz
man/fr/man1/po4a-normalize.1p.gz
man/fr/man1/msguntypot.1p.gz
man/fr/man1/po4a-gettextize.1p.gz
man/fr/man1/po4a.1p.gz
man/fr/man1/po4a-updatepo.1p.gz
man/fr/man1/po4a-translate.1p.gz
man/fr/man3/Locale::Po4a::Dia.3pm.gz
man/fr/man3/Locale::Po4a::Po.3pm.gz
man/fr/man3/Locale::Po4a::Man.3pm.gz
man/fr/man3/Locale::Po4a::LaTeX.3pm.gz
man/fr/man3/Locale::Po4a::Pod.3pm.gz
man/fr/man3/Locale::Po4a::TeX.3pm.gz
man/fr/man3/Locale::Po4a::TransTractor.3pm.gz
man/fr/man3/Locale::Po4a::Xml.3pm.gz
man/fr/man3/Locale::Po4a::Guide.3pm.gz
man/fr/man3/Locale::Po4a::Docbook.3pm.gz
man/fr/man3/Locale::Po4a::KernelHelp.3pm.gz
man/fr/man3/Locale::Po4a::Chooser.3pm.gz
man/fr/man3/Locale::Po4a::Sgml.3pm.gz
man/fr/man3/Locale::Po4a::Text.3pm.gz
man/fr/man3/Locale::Po4a::Common.3pm.gz
man/it/man1/po4a-normalize.1p.gz
man/it/man1/po4a-gettextize.1p.gz
man/it/man1/po4a-updatepo.1p.gz
man/it/man1/po4a-translate.1p.gz
man/it/man3/Locale::Po4a::Dia.3pm.gz
man/it/man3/Locale::Po4a::Pod.3pm.gz
man/it/man3/Locale::Po4a::Guide.3pm.gz
man/it/man3/Locale::Po4a::KernelHelp.3pm.gz
man/it/man3/Locale::Po4a::Chooser.3pm.gz
man/it/man3/Locale::Po4a::Docbook.3pm.gz
man/pl/man1/po4a-normalize.1p.gz
man/pl/man1/msguntypot.1p.gz
man/pl/man1/po4a-gettextize.1p.gz
man/pl/man1/po4a.1p.gz
man/pl/man1/po4a-updatepo.1p.gz
man/pl/man1/po4a-translate.1p.gz
man/pl/man3/Locale::Po4a::Dia.3pm.gz
man/pl/man3/Locale::Po4a::Po.3pm.gz
man/pl/man3/Locale::Po4a::Man.3pm.gz
man/pl/man3/Locale::Po4a::LaTeX.3pm.gz
man/pl/man3/Locale::Po4a::Pod.3pm.gz
man/pl/man3/Locale::Po4a::TeX.3pm.gz
man/pl/man3/Locale::Po4a::TransTractor.3pm.gz
man/pl/man3/Locale::Po4a::Xml.3pm.gz
man/pl/man3/Locale::Po4a::Guide.3pm.gz
man/pl/man3/Locale::Po4a::Docbook.3pm.gz
man/pl/man3/Locale::Po4a::KernelHelp.3pm.gz
man/pl/man3/Locale::Po4a::Chooser.3pm.gz
man/pl/man3/Locale::Po4a::Sgml.3pm.gz
man/pl/man3/Locale::Po4a::Text.3pm.gz
man/pl/man3/Locale::Po4a::Common.3pm.gz
man/man7/po4a.7.gz
man/es/man7/po4a.7.gz
man/fr/man7/po4a.7.gz
man/pl/man7/po4a.7.gz
man/ca/man7/po4a.7.gz
%%SITE_PERL%%/Locale/Po4a/Pod.pm
%%SITE_PERL%%/Locale/Po4a/Dia.pm
%%SITE_PERL%%/Locale/Po4a/LaTeX.pm
%%SITE_PERL%%/Locale/Po4a/Common.pm
%%SITE_PERL%%/Locale/Po4a/Xml.pm
%%SITE_PERL%%/Locale/Po4a/Docbook.pm
%%SITE_PERL%%/Locale/Po4a/TeX.pm
%%SITE_PERL%%/Locale/Po4a/KernelHelp.pm
%%SITE_PERL%%/Locale/Po4a/Sgml.pm
%%SITE_PERL%%/Locale/Po4a/Guide.pm
%%SITE_PERL%%/Locale/Po4a/Po.pm
%%SITE_PERL%%/Locale/Po4a/Man.pm
%%SITE_PERL%%/Locale/Po4a/TransTractor.pm
%%SITE_PERL%%/Locale/Po4a/Chooser.pm
%%SITE_PERL%%/Locale/Po4a/Text.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/po4a/.packlist
share/locale/af/LC_MESSAGES/po4a.mo
share/locale/ca/LC_MESSAGES/po4a.mo
share/locale/de/LC_MESSAGES/po4a.mo
share/locale/cs/LC_MESSAGES/po4a.mo
share/locale/es/LC_MESSAGES/po4a.mo
share/locale/fr/LC_MESSAGES/po4a.mo
share/locale/it/LC_MESSAGES/po4a.mo
share/locale/pl/LC_MESSAGES/po4a.mo
share/locale/ru/LC_MESSAGES/po4a.mo
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/po4a
@dirrm %%SITE_PERL%%/Locale/Po4a
@dirrmtry %%SITE_PERL%%/Locale