# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name intltool version 0.50.2 revision 2 maintainers nomaintainer categories textproc gnome license GPL-2+ installs_libs no platforms darwin supported_archs noarch description a string tool long_description \ The intltool collection can be used to extract translatable \ strings from various source files (.xml.in, .glade, .desktop.in, \ .server.in, .oaf.in), collect the extracted strings together with \ messages from traditional source files (.c, .h) in po/PACKAGE.pot \ and merge back the translations from .po files into .xml, .desktop \ and .oaf files. This merge step will happen at build or \ installation time. homepage https://launchpad.net/intltool master_sites ${homepage}/trunk/${version}/+download checksums rmd160 52b1c6aae5f5f0069d09cef8d709ab267c460319 \ sha256 67f25c5c6fb71d095793a7f895b245e65e829e8bde68c6c8b4c912144ff34406 depends_build port:gnome-common depends_lib port:expat patchfiles remove-intltool-perl-hack.patch # TODO: This perlver cruft should be done in the perl5 PortGroup if {[variant_isset perl5_8]} { set perlver 5.8 } elseif {[variant_isset perl5_10]} { set perlver 5.10 } elseif {[variant_isset perl5_14]} { set perlver 5.14 } elseif {[variant_isset perl5_16]} { set perlver 5.16 } else { set perlver 5.12 default_variants +perl5_12 } variant perl5_8 conflicts perl5_10 perl5_12 perl5_14 perl5_16 description {use perl 5.8} {} variant perl5_10 conflicts perl5_8 perl5_12 perl5_14 perl5_16 description {use perl 5.10} {} variant perl5_12 conflicts perl5_8 perl5_10 perl5_14 perl5_16 description {use perl 5.12} {} variant perl5_14 conflicts perl5_8 perl5_10 perl5_12 perl5_16 description {use perl 5.14} {} variant perl5_16 conflicts perl5_8 perl5_10 perl5_12 perl5_14 description {use perl 5.16} {} depends_lib-append \ port:perl${perlver} \ port:p${perlver}-xml-parser \ port:p${perlver}-getopt-long \ port:p${perlver}-pathtools \ port:p${perlver}-scalar-list-utils configure.perl ${prefix}/bin/perl${perlver} test.run yes test.target check livecheck.type regex livecheck.url ${homepage}/+download livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}