source: trunk/dports/devel/gettext/Portfile

Last change on this file was 149383, checked in by ryandesign@…, 17 months ago

gettext: update to 0.19.8.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# -*- 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
2# $Id: Portfile 149383 2016-06-16 10:32:48Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               compiler_blacklist_versions 1.0
6PortGroup               muniversal 1.0
7
8name                    gettext
9epoch                   2
10version                 0.19.8.1
11categories              devel
12maintainers             ryandesign
13# libs are LGPL and executables are GPL
14license                 {LGPL-2.1+ GPL-3+}
15homepage                http://www.gnu.org/software/gettext/
16master_sites            gnu
17platforms               darwin freebsd linux
18use_parallel_build      yes
19
20description             GNU internationalization (i18n) and localization (l10n) library
21
22long_description        ${name} is the ${description}, used for writing multilingual programs.
23
24checksums               rmd160  29a5f29d186fe2aece5c450fd1a743b819c02c5b \
25                        sha256  ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43
26
27# https://trac.macports.org/ticket/31167
28compiler.blacklist-append   {clang < 211.10.1}
29
30configure.cppflags      -no-cpp-precomp
31
32configure.args          ac_cv_prog_AWK=/usr/bin/awk \
33                        ac_cv_path_GREP=/usr/bin/grep \
34                        ac_cv_path_SED=/usr/bin/sed \
35                        --disable-csharp \
36                        --disable-native-java \
37                        --disable-openmp \
38                        --without-emacs \
39                        --with-included-gettext \
40                        --with-included-glib \
41                        --with-included-libcroco \
42                        --with-included-libunistring \
43                        --with-included-libxml
44
45# Don't use possibly installed cvs or git to create the autopoint archive
46# because the archives they create for each architecture under muniversal
47# will differ and cannot be merged. Don't use xz either because then xz would
48# be required by various ports that just want to use gettext.
49configure.args-append   --without-cvs \
50                        --without-git \
51                        --without-xz
52
53depends_lib             port:expat \
54                        port:libiconv \
55                        port:ncurses
56
57test.run                yes
58test.target             check
59
60post-destroot {
61    if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
62        delete ${destroot}${prefix}/lib/charset.alias
63    }
64    if {[file exists ${destroot}${prefix}/share/locale/locale.alias]} {
65        delete ${destroot}${prefix}/share/locale/locale.alias
66    }
67    xinstall -m 644 -W ${worksrcpath} \
68        AUTHORS \
69        COPYING \
70        ChangeLog \
71        ChangeLog.0 \
72        DEPENDENCIES \
73        HACKING \
74        NEWS \
75        README \
76        THANKS \
77        ${destroot}${prefix}/share/doc/${name}
78}
79
80livecheck.type          regex
81livecheck.url           http://ftp.gnu.org/gnu/gettext/?C=M&O=D
82livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.