source: trunk/dports/textproc/intltool/Portfile

Last change on this file was 151926, checked in by devans@…, 13 months ago

intltool: use perl5.24 (#52081).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- 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
2# $Id: Portfile 151926 2016-08-24 05:26:15Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                intltool
7epoch               1
8version             0.51.0
9revision            2
10maintainers         devans openmaintainer
11categories          textproc gnome
12license             GPL-2+
13installs_libs       no
14platforms           darwin
15supported_archs     noarch
16
17description         A collection of i18n tools
18
19long_description    The intltool collection can be used to extract translatable \
20                    strings from various source files (.xml.in, .glade, .desktop.in, \
21                    .server.in, .oaf.in), collect the extracted strings together with \
22                    messages from traditional source files (.c, .h) in po/PACKAGE.pot \
23                    and merge back the translations from .po files into .xml, .desktop \
24                    and .oaf files. This merge step will happen at build or \
25                    installation time.
26
27homepage            https://launchpad.net/intltool
28master_sites        ${homepage}/trunk/${version}/+download
29
30checksums           rmd160  f10a7a86bdc504db22c2e1eb4e09705c6a41fbaa \
31                    sha256  67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
32
33# intltool only uses perl internally and publishes no public modules
34# so there is no need for multiple perl variants
35# now using perl 5.24 (#52081)
36
37set pbranch         5.24
38
39depends_build       port:gnome-common
40
41depends_lib-append  port:expat \
42                    port:p${pbranch}-getopt-long \
43                    port:p${pbranch}-pathtools \
44                    port:p${pbranch}-scalar-list-utils \
45                    port:p${pbranch}-xml-parser
46
47patchfiles          patch-remove-intltool-perl-hack.diff
48
49# in perl 5.22 literal left braces in regex patterns must be escaped to avoid deprecation warnings
50# introduced in perl 5.21.3
51# https://metacpan.org/pod/release/PCM/perl-5.21.3/pod/perl5211delta.pod#A-literal-should-now-be-escaped-in-a-pattern
52
53patchfiles-append   patch-silence-perl-5.22-deprecation-warnings.diff
54
55configure.perl      ${prefix}/bin/perl${pbranch}
56
57test.run            yes
58test.target         check
59
60livecheck.type      regex
61livecheck.url       ${homepage}/+download
62livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.