リビジョン | 373f2d0b8a2b442564e1a28267c72daf9286f98f (tree) |
---|---|
日時 | 2009-06-18 06:27:25 |
作者 | Kazuki Sakamoto <sakamoto@splh...> |
コミッター | Kazuki Sakamoto |
gettext
@@ -0,0 +1,74 @@ | ||
1 | +# $Id: Portfile 46138 2009-01-30 05:07:47Z ryandesign@macports.org $ | |
2 | + | |
3 | +PortSystem 1.0 | |
4 | +PortGroup muniversal 1.0 | |
5 | + | |
6 | +name gettext | |
7 | +version 0.17 | |
8 | +revision 4 | |
9 | +categories devel | |
10 | +maintainers ryandesign | |
11 | +homepage http://www.gnu.org/software/gettext/ | |
12 | +master_sites gnu | |
13 | +platforms darwin freebsd linux | |
14 | +use_parallel_build yes | |
15 | + | |
16 | +description \ | |
17 | + GNU gettext package | |
18 | + | |
19 | +long_description \ | |
20 | + This is the GNU gettext package. It is interesting for \ | |
21 | + authors or maintainers of other packages or programs \ | |
22 | + which they want to see internationalized. As one \ | |
23 | + step the handling of messages in different languages \ | |
24 | + should be implemented. For this task GNU gettext \ | |
25 | + provides the needed tools and library functions. | |
26 | + | |
27 | +checksums \ | |
28 | + md5 58a2bc6d39c0ba57823034d55d65d606 \ | |
29 | + sha1 c51803d9f745f6ace36bd09c0486d5735ce399cf \ | |
30 | + rmd160 36df9d4ad2848ec26729781e0d7e25b419e7d261 | |
31 | + | |
32 | +patchfiles \ | |
33 | + patch-gettext-tools-Makefile.in | |
34 | + | |
35 | +configure.cppflags \ | |
36 | + -no-cpp-precomp | |
37 | + | |
38 | +configure.args \ | |
39 | + --disable-csharp \ | |
40 | + --without-emacs \ | |
41 | + --with-included-gettext \ | |
42 | + --with-included-glib \ | |
43 | + --with-included-libcroco \ | |
44 | + --with-included-libxml | |
45 | + | |
46 | +depends_lib \ | |
47 | + port:libiconv \ | |
48 | + port:ncurses \ | |
49 | + port:expat | |
50 | + | |
51 | +test.run yes | |
52 | +test.target check | |
53 | + | |
54 | +if {[variant_isset universal]} { | |
55 | + configure.universal_target 10.4 | |
56 | +} | |
57 | + | |
58 | +platform darwin 6 { | |
59 | + depends_lib-append \ | |
60 | + lib:libdl:dlcompat | |
61 | +} | |
62 | + | |
63 | +post-destroot { | |
64 | + if {[file exists ${destroot}${prefix}/lib/charset.alias]} { | |
65 | + delete ${destroot}${prefix}/lib/charset.alias | |
66 | + } | |
67 | + if {[file exists ${destroot}${prefix}/share/locale/locale.alias]} { | |
68 | + delete ${destroot}${prefix}/share/locale/locale.alias | |
69 | + } | |
70 | +} | |
71 | + | |
72 | +livecheck.check regex | |
73 | +livecheck.url http://ftp.gnu.org/gnu/gettext/?C=M&O=D | |
74 | +livecheck.regex ${name}-(\[0-9.\]+)\\.tar |
@@ -0,0 +1,11 @@ | ||
1 | +--- gettext-tools/Makefile.in.orig 2007-11-06 17:40:19.000000000 -0600 | |
2 | ++++ gettext-tools/Makefile.in 2007-11-08 04:43:48.000000000 -0600 | |
3 | +@@ -724,7 +724,7 @@ | |
4 | + top_srcdir = @top_srcdir@ | |
5 | + AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies | |
6 | + ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4 -I gnulib-m4 -I libgettextpo/gnulib-m4 | |
7 | +-SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests examples | |
8 | ++SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests | |
9 | + | |
10 | + # Allow users to use "gnulib-tool --update". | |
11 | + |