summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoragc <agc>1998-09-04 12:33:38 +0000
committeragc <agc>1998-09-04 12:33:38 +0000
commit810eacc09cafccd1c5b92d1094a168bdccd42f24 (patch)
treedec9b98e205330ee9467e9fd0ddb3b51685b71d9 /misc
parentc240867ed82c8b2f16cab4df206815df22333948 (diff)
downloadpkgsrc-810eacc09cafccd1c5b92d1094a168bdccd42f24.tar.gz
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.
Diffstat (limited to 'misc')
-rw-r--r--misc/gettext/Makefile17
-rw-r--r--misc/gettext/files/md51
-rw-r--r--misc/gettext/patches/patch-aa18
-rw-r--r--misc/gettext/patches/patch-ab10
-rw-r--r--misc/gettext/pkg/COMMENT1
-rw-r--r--misc/gettext/pkg/DESCR5
-rw-r--r--misc/gettext/pkg/PLIST62
7 files changed, 114 insertions, 0 deletions
diff --git a/misc/gettext/Makefile b/misc/gettext/Makefile
new file mode 100644
index 00000000000..c72cfcd7ff0
--- /dev/null
+++ b/misc/gettext/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: gettext
+# Version required: 0.10
+# Date created: 16 March 1998
+# Whom: Yukihiro Nakai <Nakai@technologist.com>
+#
+# 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 <bsd.port.mk>
diff --git a/misc/gettext/files/md5 b/misc/gettext/files/md5
new file mode 100644
index 00000000000..6d60ca65ce5
--- /dev/null
+++ b/misc/gettext/files/md5
@@ -0,0 +1 @@
+MD5 (gettext-0.10.tar.gz) = e9d58ee3880feed61b2b8145b5ec519a
diff --git a/misc/gettext/patches/patch-aa b/misc/gettext/patches/patch-aa
new file mode 100644
index 00000000000..3ce31003b59
--- /dev/null
+++ b/misc/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/misc/gettext/patches/patch-ab b/misc/gettext/patches/patch-ab
new file mode 100644
index 00000000000..0726ee5b075
--- /dev/null
+++ b/misc/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/misc/gettext/pkg/COMMENT b/misc/gettext/pkg/COMMENT
new file mode 100644
index 00000000000..9217b068c2a
--- /dev/null
+++ b/misc/gettext/pkg/COMMENT
@@ -0,0 +1 @@
+GNU gettext package.
diff --git a/misc/gettext/pkg/DESCR b/misc/gettext/pkg/DESCR
new file mode 100644
index 00000000000..24fee26e0c2
--- /dev/null
+++ b/misc/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/misc/gettext/pkg/PLIST b/misc/gettext/pkg/PLIST
new file mode 100644
index 00000000000..45c3ed84ed6
--- /dev/null
+++ b/misc/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