1SUMMARY="GNU tools for native language support" 2DESCRIPTION=" 3GNU 'gettext' is an important step for the GNU Translation Project, as it is \ 4an asset on which we may build many other steps. This package offers to \ 5programmers, translators, and even users, a well integrated set of tools and \ 6documentation. Specifically, the GNU 'gettext' utilities are a set of tools \ 7that provides a framework to help other GNU packages produce multi-lingual \ 8messages. 9 10These tools include a set of conventions about how programs should \ 11be written to support message catalogs, a directory and file naming \ 12organization for the message catalogs themselves, a runtime library supporting \ 13the retrieval of translated messages, and a few stand-alone programs to \ 14massage in various ways the sets of translatable strings, or already \ 15translated strings. A special GNU Emacs mode also helps interested parties in \ 16preparing these sets, or bringing them up to date. 17" 18HOMEPAGE="http://www.gnu.org/software/gettext/" 19COPYRIGHT="1998, 2010 Free Software Foundation, Inc." 20LICENSE="GNU GPL v3" 21REVISION="8" 22SOURCE_URI="http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz" 23CHECKSUM_SHA256="93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9" 24PATCHES="gettext-0.18.1.1.patch" 25 26ARCHITECTURES="all" 27SECONDARY_ARCHITECTURES="x86_gcc2 x86" 28 29PROVIDES=" 30 gettext$secondaryArchSuffix = $portVersion compat >= 0.18.1 31 cmd:autopoint$secondaryArchSuffix = $portVersion compat >= 0 32 cmd:envsubst$secondaryArchSuffix = $portVersion compat >= 0 33 cmd:gettext$secondaryArchSuffix = $portVersion compat >= 0 34 cmd:gettext.sh$secondaryArchSuffix = $portVersion compat >= 0 35 cmd:gettextize$secondaryArchSuffix = $portVersion compat >= 0 36 cmd:msgattrib$secondaryArchSuffix = $portVersion compat >= 0 37 cmd:msgcat$secondaryArchSuffix = $portVersion compat >= 0 38 cmd:msgcmp$secondaryArchSuffix = $portVersion compat >= 0 39 cmd:msgcomm$secondaryArchSuffix = $portVersion compat >= 0 40 cmd:msgconv$secondaryArchSuffix = $portVersion compat >= 0 41 cmd:msgen$secondaryArchSuffix = $portVersion compat >= 0 42 cmd:msgexec$secondaryArchSuffix = $portVersion compat >= 0 43 cmd:msgfilter$secondaryArchSuffix = $portVersion compat >= 0 44 cmd:msgfmt$secondaryArchSuffix = $portVersion compat >= 0 45 cmd:msggrep$secondaryArchSuffix = $portVersion compat >= 0 46 cmd:msginit$secondaryArchSuffix = $portVersion compat >= 0 47 cmd:msgmerge$secondaryArchSuffix = $portVersion compat >= 0 48 cmd:msgunfmt$secondaryArchSuffix = $portVersion compat >= 0 49 cmd:msguniq$secondaryArchSuffix = $portVersion compat >= 0 50 cmd:ngettext$secondaryArchSuffix = $portVersion compat >= 0 51 cmd:recode_sr_latin$secondaryArchSuffix = $portVersion compat >= 0 52 cmd:xgettext$secondaryArchSuffix = $portVersion compat >= 0 53 devel:libasprintf$secondaryArchSuffix = 0.0.0 compat >= 0 54 devel:libgettextlib$secondaryArchSuffix = $portVersion 55 devel:libgettextlib_0.18.1$secondaryArchSuffix = $portVersion 56 devel:libgettextpo$secondaryArchSuffix = 0.5.1 compat >= 0 57 devel:libgettextsrc$secondaryArchSuffix = $portVersion 58 devel:libgettextsrc_0.18.1$secondaryArchSuffix = $portVersion 59 devel:libintl$secondaryArchSuffix = 8.1.1 compat >= 8 60 lib:libasprintf$secondaryArchSuffix = 0.0.0 compat >= 0 61 lib:libgettextlib_0.18.1$secondaryArchSuffix = $portVersion 62 lib:libgettextpo$secondaryArchSuffix = 0.5.1 compat >= 0 63 lib:libgettextsrc_0.18.1$secondaryArchSuffix = $portVersion 64 " 65REQUIRES=" 66 gettext${secondaryArchSuffix}_libintl == $portVersion base 67 haiku$secondaryArchSuffix 68 lib:libiconv$secondaryArchSuffix 69 lib:libncurses$secondaryArchSuffix 70 " 71 72SUMMARY_libintl="The gettext internationalization library" 73PROVIDES_libintl=" 74 gettext${secondaryArchSuffix}_libintl = $portVersion compat >= 0.18.1 75 lib:libintl${secondaryArchSuffix} = 8.1.1 compat >= 8 76 " 77REQUIRES_libintl=" 78 haiku${secondaryArchSuffix} 79 lib:libiconv${secondaryArchSuffix} 80 " 81 82BUILD_REQUIRES=" 83 devel:libiconv$secondaryArchSuffix 84 devel:libncurses$secondaryArchSuffix 85 " 86BUILD_PREREQUIRES=" 87 haiku${secondaryArchSuffix}_devel 88 cmd:aclocal 89 cmd:autoconf 90 cmd:automake 91 cmd:find 92 cmd:gcc$secondaryArchSuffix 93 cmd:ld$secondaryArchSuffix 94 cmd:libtoolize$secondaryArchSuffix 95 cmd:make 96 cmd:makeinfo 97 " 98 99BUILD() 100{ 101 libtoolize --force --copy --install 102 ./autogen.sh --quick --skip-gnulib 103 runConfigure ./configure \ 104 --disable-java --without-git 105 make $jobArgs 106} 107 108INSTALL() 109{ 110 make install 111 112 rm $libDir/charset.alias 113 114 prepareInstalledDevelLibs libasprintf libgettextpo libintl 115 prepareInstalledDevelLib libgettextlib '*.so' '*' 116 prepareInstalledDevelLib libgettextsrc '*.so' '*' 117 118 # libintl package 119 packageEntries libintl \ 120 $libDir/libintl* 121} 122 123TEST() 124{ 125 cd gettext-runtime/tests 126 make check 127} 128