From 6c5409c0900bc24d57ce985b090f608aa59579e8 Mon Sep 17 00:00:00 2001 From: rh Date: Mon, 6 May 2002 13:15:21 +0000 Subject: Initial import of intltool-0.18, an internationalisation toolkit used mainly by GNOME applications. --- textproc/intltool/DESCR | 16 ++++++++++++++++ textproc/intltool/Makefile | 18 ++++++++++++++++++ textproc/intltool/PLIST | 25 +++++++++++++++++++++++++ textproc/intltool/buildlink.mk | 36 ++++++++++++++++++++++++++++++++++++ textproc/intltool/distinfo | 3 +++ 5 files changed, 98 insertions(+) create mode 100644 textproc/intltool/DESCR create mode 100644 textproc/intltool/Makefile create mode 100644 textproc/intltool/PLIST create mode 100644 textproc/intltool/buildlink.mk create mode 100644 textproc/intltool/distinfo diff --git a/textproc/intltool/DESCR b/textproc/intltool/DESCR new file mode 100644 index 00000000000..5967290711a --- /dev/null +++ b/textproc/intltool/DESCR @@ -0,0 +1,16 @@ +The intltool collection can be used to do these things: + + o Extract translatable strings from various source files (.xml.in, + .glade, .desktop.in, .server.in, .oaf.in). + + o Collect the extracted strings together with messages from traditional + source files (.c, .h) in po/$(PACKAGE).pot. + + o Merge back the translations from .po files into .xml, .desktop and + .oaf files. This merge step will happen at build resp. installation + time. + +The intltool package has a script, intltoolize, which copies the various +scripts and does the other magic to your module. So users building +from tarballs don't need intltool, only folks building from cvs. +(This is modeled on gettextize.) diff --git a/textproc/intltool/Makefile b/textproc/intltool/Makefile new file mode 100644 index 00000000000..0429f68ed4e --- /dev/null +++ b/textproc/intltool/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/06 13:15:21 rh Exp $ +# + +DISTNAME= intltool-0.18 +CATEGORIES= textproc devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/intltool/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.gnome.org/ +COMMENT= Toolbox for internationalisation + +USE_GMAKE= YES +USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES + +.include "../../lang/perl5/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/intltool/PLIST b/textproc/intltool/PLIST new file mode 100644 index 00000000000..5b62ebe3f49 --- /dev/null +++ b/textproc/intltool/PLIST @@ -0,0 +1,25 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/06 13:15:21 rh Exp $ +bin/intltool-extract +bin/intltool-merge +bin/intltool-prepare +bin/intltool-unicodify +bin/intltool-update +bin/intltoolize +bin/xml-i18n-toolize +man/man8/intltool-extract.8 +man/man8/intltool-merge.8 +man/man8/intltool-prepare.8 +man/man8/intltool-update.8 +man/man8/intltoolize.8 +share/aclocal/intltool.m4 +share/aclocal/xml-i18n-tools.m4 +share/intltool/intltool-extract.in +share/intltool/intltool-merge.in +share/intltool/intltool-po-Makefile.in.in-patch-1 +share/intltool/intltool-po-Makefile.in.in-patch-2 +share/intltool/intltool-po-Makefile.in.in-patch-3 +share/intltool/intltool-po-Makefile.in.in-patch-4 +share/intltool/intltool-update.in +share/intltool/xml-i18n-po-Makefile.in.in-patch-1 +share/intltool/xml-i18n-po-Makefile.in.in-patch-2 +@dirrm share/intltool diff --git a/textproc/intltool/buildlink.mk b/textproc/intltool/buildlink.mk new file mode 100644 index 00000000000..276532a5e7a --- /dev/null +++ b/textproc/intltool/buildlink.mk @@ -0,0 +1,36 @@ +# $NetBSD: buildlink.mk,v 1.1.1.1 2002/05/06 13:15:21 rh Exp $ +# +# This Makefile fragment is included by packages that use intltool. +# +# This file was created automatically using createbuildlink 1.2. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.intltool to the dependency pattern +# for the version of intltool desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(INTLTOOL_BUILDLINK_MK) +INTLTOOL_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.intltool?= intltool>=0.18 +DEPENDS+= ${BUILDLINK_DEPENDS.intltool}:../../textproc/intltool + +EVAL_PREFIX+= BUILDLINK_PREFIX.intltool=intltool +BUILDLINK_PREFIX.intltool_DEFAULT= ${LOCALBASE} + +.include "../../lang/perl5/buildlink.mk" + +BUILDLINK_TARGETS.intltool= intltool-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.intltool} + +pre-configure: ${BUILDLINK_TARGETS} +intltool-buildlink: _BUILDLINK_USE + +.endif # INTLTOOL_BUILDLINK_MK diff --git a/textproc/intltool/distinfo b/textproc/intltool/distinfo new file mode 100644 index 00000000000..bb0633bc10d --- /dev/null +++ b/textproc/intltool/distinfo @@ -0,0 +1,3 @@ + +SHA1 (intltool-0.18.tar.bz2) = f282b076f529bc5745b49ee384048b46ec6fe3c9 +Size (intltool-0.18.tar.bz2) = 82619 bytes -- cgit v1.2.3