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.
This commit is contained in:
parent
c85255a9b1
commit
e1c6bd0534
14 changed files with 228 additions and 0 deletions
17
devel/gettext/Makefile
Normal file
17
devel/gettext/Makefile
Normal file
|
@ -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>
|
1
devel/gettext/files/md5
Normal file
1
devel/gettext/files/md5
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (gettext-0.10.tar.gz) = e9d58ee3880feed61b2b8145b5ec519a
|
18
devel/gettext/patches/patch-aa
Normal file
18
devel/gettext/patches/patch-aa
Normal file
|
@ -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
|
||||
|
10
devel/gettext/patches/patch-ab
Normal file
10
devel/gettext/patches/patch-ab
Normal file
|
@ -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:
|
1
devel/gettext/pkg/COMMENT
Normal file
1
devel/gettext/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
GNU gettext package.
|
5
devel/gettext/pkg/DESCR
Normal file
5
devel/gettext/pkg/DESCR
Normal file
|
@ -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.
|
62
devel/gettext/pkg/PLIST
Normal file
62
devel/gettext/pkg/PLIST
Normal file
|
@ -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
|
17
misc/gettext/Makefile
Normal file
17
misc/gettext/Makefile
Normal file
|
@ -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>
|
1
misc/gettext/files/md5
Normal file
1
misc/gettext/files/md5
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (gettext-0.10.tar.gz) = e9d58ee3880feed61b2b8145b5ec519a
|
18
misc/gettext/patches/patch-aa
Normal file
18
misc/gettext/patches/patch-aa
Normal file
|
@ -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
|
||||
|
10
misc/gettext/patches/patch-ab
Normal file
10
misc/gettext/patches/patch-ab
Normal file
|
@ -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:
|
1
misc/gettext/pkg/COMMENT
Normal file
1
misc/gettext/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
GNU gettext package.
|
5
misc/gettext/pkg/DESCR
Normal file
5
misc/gettext/pkg/DESCR
Normal file
|
@ -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.
|
62
misc/gettext/pkg/PLIST
Normal file
62
misc/gettext/pkg/PLIST
Normal file
|
@ -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
|
Loading…
Reference in a new issue