From 810eacc09cafccd1c5b92d1094a168bdccd42f24 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 4 Sep 1998 12:33:38 +0000 Subject: Initial import of GNU gettext 0.10, tools for providing messages in different languages, into the NetBSD packages collection. This is taken from the FreeBSD port. --- devel/gettext/Makefile | 17 ++++++++++++ devel/gettext/files/md5 | 1 + devel/gettext/patches/patch-aa | 18 ++++++++++++ devel/gettext/patches/patch-ab | 10 +++++++ devel/gettext/pkg/COMMENT | 1 + devel/gettext/pkg/DESCR | 5 ++++ devel/gettext/pkg/PLIST | 62 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 114 insertions(+) create mode 100644 devel/gettext/Makefile create mode 100644 devel/gettext/files/md5 create mode 100644 devel/gettext/patches/patch-aa create mode 100644 devel/gettext/patches/patch-ab create mode 100644 devel/gettext/pkg/COMMENT create mode 100644 devel/gettext/pkg/DESCR create mode 100644 devel/gettext/pkg/PLIST (limited to 'devel/gettext') diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile new file mode 100644 index 00000000000..c72cfcd7ff0 --- /dev/null +++ b/devel/gettext/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: gettext +# Version required: 0.10 +# Date created: 16 March 1998 +# Whom: Yukihiro Nakai +# +# FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp +# + +DISTNAME= gettext-0.10 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GNU} + +MAINTAINER= Nakai@technologist.com + +GNU_CONFIGURE= yes + +.include diff --git a/devel/gettext/files/md5 b/devel/gettext/files/md5 new file mode 100644 index 00000000000..6d60ca65ce5 --- /dev/null +++ b/devel/gettext/files/md5 @@ -0,0 +1 @@ +MD5 (gettext-0.10.tar.gz) = e9d58ee3880feed61b2b8145b5ec519a diff --git a/devel/gettext/patches/patch-aa b/devel/gettext/patches/patch-aa new file mode 100644 index 00000000000..3ce31003b59 --- /dev/null +++ b/devel/gettext/patches/patch-aa @@ -0,0 +1,18 @@ +--- config.h.in.orig Thu Apr 2 16:41:28 1998 ++++ config.h.in Thu Apr 2 16:41:36 1998 +@@ -6,15 +6,6 @@ + /* Default value for alignment of strings in .mo file. */ + #define DEFAULT_ALIGNMENT 1 + +-#ifndef __P +-# if __STDC__ +-# define __P(args) args +-# else +-# define __P(args) () +-# endif +-#endif +- +- + /* Define if using alloca.c. */ + #undef C_ALLOCA + diff --git a/devel/gettext/patches/patch-ab b/devel/gettext/patches/patch-ab new file mode 100644 index 00000000000..0726ee5b075 --- /dev/null +++ b/devel/gettext/patches/patch-ab @@ -0,0 +1,10 @@ +--- misc/Makefile.in.orig Thu Apr 2 17:02:04 1998 ++++ misc/Makefile.in Thu Apr 2 17:02:52 1998 +@@ -65,6 +65,7 @@ + $(INSTALL_DATA) $$file $(lispdir)/$$file; \ + done; \ + fi ++ mkdir -p $(localedir) + $(INSTALL_DATA) $(srcdir)/locale.alias $(localedir)/locale.alias + + uninstall: diff --git a/devel/gettext/pkg/COMMENT b/devel/gettext/pkg/COMMENT new file mode 100644 index 00000000000..9217b068c2a --- /dev/null +++ b/devel/gettext/pkg/COMMENT @@ -0,0 +1 @@ +GNU gettext package. diff --git a/devel/gettext/pkg/DESCR b/devel/gettext/pkg/DESCR new file mode 100644 index 00000000000..24fee26e0c2 --- /dev/null +++ b/devel/gettext/pkg/DESCR @@ -0,0 +1,5 @@ +This is the GNU gettext package. It is interesting for authors or +maintainers of other packages or programs which they want to see +internationalized. As one step the handling of messages in different +languages should be implemented. For this task GNU gettext provides +the needed tools and library functions. diff --git a/devel/gettext/pkg/PLIST b/devel/gettext/pkg/PLIST new file mode 100644 index 00000000000..45c3ed84ed6 --- /dev/null +++ b/devel/gettext/pkg/PLIST @@ -0,0 +1,62 @@ +bin/gettext +bin/gettextize +bin/msgcmp +bin/msgfmt +bin/msgmerge +bin/msgunfmt +bin/tupdate +bin/xgettext +include/libintl.h +@unexec install-info --delete %D/info/gettext.info %D/info/dir +info/gettext.info +info/gettext.info-1 +info/gettext.info-2 +info/gettext.info-3 +info/gettext.info-4 +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/gettext.info %D/info/dir +lib/libintl.a +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R +lib/locale/de/LC_MESSAGES/gettext.cat +lib/locale/fr/LC_MESSAGES/gettext.cat +lib/locale/no/LC_MESSAGES/gettext.cat +lib/locale/no@nynorsk/LC_MESSAGES/gettext.cat +lib/locale/sv/LC_MESSAGES/gettext.cat +share/gettext/aclocal.m4 +share/gettext/intl-ChangeLog +share/gettext/intl-Makefile.in +share/gettext/intl-VERSION +share/gettext/intl-bindtextdom.c +share/gettext/intl-cat-compat.c +share/gettext/intl-dcgettext.c +share/gettext/intl-dgettext.c +share/gettext/intl-finddomain.c +share/gettext/intl-gettext.c +share/gettext/intl-gettext.h +share/gettext/intl-gettextP.h +share/gettext/intl-hash-string.h +share/gettext/intl-intl-compat.c +share/gettext/intl-libgettext.h +share/gettext/intl-linux-msg.sed +share/gettext/intl-loadmsgcat.c +share/gettext/intl-localealias.c +share/gettext/intl-po2tbl.sed.in +share/gettext/intl-textdomain.c +share/gettext/intl-xopen-msg.sed +share/gettext/po-Makefile.in.in +share/gettext/root-ABOUT-NLS +share/locale/locale.alias +@dirrm lib/locale/de/LC_MESSAGES +@dirrm lib/locale/de +@dirrm lib/locale/fr/LC_MESSAGES +@dirrm lib/locale/fr +@dirrm lib/locale/no/LC_MESSAGES +@dirrm lib/locale/no +@dirrm lib/locale/no@nynorsk/LC_MESSAGES +@dirrm lib/locale/no@nynorsk +@dirrm lib/locale/sv/LC_MESSAGES +@dirrm lib/locale/sv +@dirrm lib/locale +@dirrm share/gettext +@dirrm share/locale -- cgit v1.2.3