# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 name po4a version 0.47 revision 1 set download_id 4142 perl5.branches 5.24 categories textproc platforms darwin license GPL-2 maintainers nomaintainer description framework to translate documentation and other materials long_description 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. homepage http://po4a.alioth.debian.org/ master_sites https://alioth.debian.org/frs/download.php/file/${download_id}/ checksums rmd160 cb5bb7dd96cbedcd9641285da63dd826ba6d38d3 \ sha256 5010e1b7df1115cbd475f46587fc05fefc97301f9bba0c2f15106005ca017507 # TODO: check and fix dependencies depends_lib-append port:perl${perl5.major} \ port:p${perl5.major}-text-wrapi18n \ port:p${perl5.major}-term-readkey \ port:p${perl5.major}-sgmlspm \ port:p${perl5.major}-unicode-linebreak \ port:p${perl5.major}-locale-gettext depends_build-append \ port:docbook-xml-4.1.2 \ port:docbook-xml-4.2 \ port:docbook-xml-4.3 \ port:docbook-xml-4.4 \ port:docbook-xml-4.5 \ port:docbook-xml-5.0 \ port:docbook-xsl \ port:docbook-xsl-ns \ port:libxslt \ port:p${perl5.major}-data-dumper \ port:p${perl5.major}-extutils-manifest \ port:p${perl5.major}-file-path \ port:p${perl5.major}-getopt-long \ port:p${perl5.major}-html-parser \ port:p${perl5.major}-parent \ port:p${perl5.major}-pathtools \ port:p${perl5.major}-text-parsewords configure.args "installdirs=core --config cc=\"${configure.cc}\" --config ld=\"${configure.cc}\"" perl5.use_module_build configure.cmd ${perl5.bin} build.cmd ${perl5.bin} destroot.cmd ${perl5.bin} post-destroot { # Make sure all binaries use the correct MacPorts-provided perl version reinplace -W ${destroot}${prefix}/bin "s|#! /usr/bin/env perl|#!${perl5.bin}|" \ msguntypot \ po4a \ po4a-gettextize \ po4a-normalize \ po4a-translate \ po4a-updatepo \ } livecheck.type regex livecheck.url https://alioth.debian.org/frs/?group_id=30267 livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}