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.
po4a currently supports the following formats:
* manpages
* POD
* XML (generic, DocBook, XHTML, Dia, Guide, or WML)
* SGML
* TeX (generic, LaTeX, or Texinfo)
* text (simple text files with some formatting, markdown, or AsciiDoc)
* INI
* KernelHelp
textproc/po4a: Remove jade dependency
It is no longer necessary; the FreeBSD translation workflow is working
fine without it. The jade dependency was probably a requirement from
the past that is no longer needed.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
textproc/po4a: Add upstream patches to fix Asciidoc issues
Asciidoc:
* Support Hugo shortcode on macros (GitHub's #352) [Danilo G. Baio]
* Support automatically numbered callouts (GitHub's #351) [J.N. Avila]
These items impact the FreeBSD translation workflow.
textproc/po4a: Add patch to fix Asciidoc issue
Don't split in attributes include:: and ifeval:: lines.
This fix an issue in the new FreeBSD translation workflow.
Obtained from: https://github.com/mquinson/po4a/pull/298
Add missing dependency.
po4a::chooser: Module loading error: Can't locate YAML/Tiny.pm in @INC (you may
need to install the YAML::Tiny module) (@INC contains: ..
/usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl
/us...r/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32 .) at
/usr/local/lib/perl5/site_perl/Locale/Po4a/Text.pm line 60.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Locale/Po4a/Text.pm line 60.
Noticed by: pkg-fallout
Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
- Stop removing directories from BSD.local.dist.
This fixes false-positive leftover (files removed) warnings
in Redports/QAT/Tinderbox.
Note that some of these ports still have Orphans which I did not
address.
With hat: portmgr
Spotted by: new 'check-plist'
- Fix MASTER_SITES
* Use LOCAL and fedora first since fetch cannot get file from alioth
- Tarball was rerolled at some point, I couldn't find the old version to
compare but I noted other projects like debian, gentoo and fedora are using
the same tarball.
- Make WRKSRC point to right place
PR: ports/179647 [1], ports/180676 [2]
Submitted by: John Marino <draco@marino.st> [1], Holger Freyther
<holger@freyther.de>
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.
Explicit duplication > := > = and this just moves ports one step to the left
Approved by: portmgr
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.
Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.
PR: 100555
Submitted by: gabor
Sponsored by: Google Summer of Code 2006
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>