From 313b29ceba4a315f84afa9641736ac195373ef58 Mon Sep 17 00:00:00 2001 From: Theodore Kokkoris Date: Thu, 26 Dec 2013 18:28:19 +0000 Subject: [PATCH] Fixed intltool-0.40.6 recipe to be compatible with .recipe format --- dev-util/intltool/intltool-0.40.6.recipe | 67 +++++++++++++++++++----- 1 file changed, 54 insertions(+), 13 deletions(-) diff --git a/dev-util/intltool/intltool-0.40.6.recipe b/dev-util/intltool/intltool-0.40.6.recipe index 05eb668c7..c1864ceb3 100644 --- a/dev-util/intltool/intltool-0.40.6.recipe +++ b/dev-util/intltool/intltool-0.40.6.recipe @@ -1,25 +1,66 @@ -DESCRIPTION="intltool" -HOMEPAGE="http://www.gnome.org/" +SUMMARY="intltool is a set of tools to centralize translation of file formats." +DESCRIPTION="intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files. + +The intltool collection can be used to do these things: + +* 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. + +* Merge back the translations from .po files into .xml, .desktop and +oaf files. This merge step will happen at build resp. installation time." + +HOMEPAGE="http://freedesktop.org/wiki/Software/intltool" SRC_URI="ftp://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz" CHECKSUM_MD5="8e40f9d1c7308eddbfd24b22cd540631" -REVISION="2" -STATUS_HAIKU="stable" -MESSAGE="Requires XML::Parser perl module installed" -DEPEND="" + +LICENSE="GNU GPL v2" +COPYRIGHT="1994-1996, 1999-2002, 2004, 2005 Free Software Foundation, Inc." + +REVISION="3" + +ARCHITECTURES="x86_gcc2 x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + intltool = $portVersion + cmd:intltool_extract$secondaryArchSuffix = $portVersion + cmd:intltool_merge$secondaryArchSuffix = $portVersion + cmd:intltool_prepare$secondaryArchSuffix = $portVersion + cmd:intltool_update$secondaryArchSuffix = $portVersion + cmd:intltoolize$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + cmd:perl + xml_parser + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + xml_parser + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:perl + cmd:autoconf + " + BUILD() { - cd intltool-0.40.6 - ./configure --prefix="$(finddir B_COMMON_DIRECTORY)" \ - --datarootdir="$(finddir B_COMMON_DATA_DIRECTORY)" \ - --mandir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man" \ + runConfigure ./configure make } INSTALL() { - cd intltool-0.40.6 make install +} + +TEST () +{ make check } -LICENSE="GNU GPL v2" -COPYRIGHT="1994-1996, 1999-2002, 2004, 2005 Free Software Foundation, Inc."