aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-05 14:36:01 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-05 14:36:01 +0800
commit6665d14a021a5c762fe43cfb576d501967d0f7b3 (patch)
treeacb73a0b229677c2bc7355862308e45d7ee1a835
parentba224aa198c99ec9a53e77f57cad16eaa5c8c502 (diff)
downloadfreebsd-ports-gnome-6665d14a021a5c762fe43cfb576d501967d0f7b3.tar.gz
freebsd-ports-gnome-6665d14a021a5c762fe43cfb576d501967d0f7b3.tar.zst
freebsd-ports-gnome-6665d14a021a5c762fe43cfb576d501967d0f7b3.zip
Update to 0.10.38.
-rw-r--r--devel/gettext-devel/Makefile17
-rw-r--r--devel/gettext-devel/distinfo2
-rw-r--r--devel/gettext-devel/files/patch-Makefile.in14
-rw-r--r--devel/gettext-devel/files/patch-ad11
-rw-r--r--devel/gettext-devel/files/patch-ae41
-rw-r--r--devel/gettext-devel/files/patch-af10
-rw-r--r--devel/gettext-devel/files/patch-ah11
-rw-r--r--devel/gettext-devel/files/patch-ai12
-rw-r--r--devel/gettext-devel/files/patch-doc::Makefile.in23
-rw-r--r--devel/gettext-devel/files/patch-intl::Makefile.in44
-rw-r--r--devel/gettext-devel/files/patch-lib::Makefile.in38
-rw-r--r--devel/gettext-devel/files/patch-man::Makefile.in14
-rw-r--r--devel/gettext-devel/pkg-plist69
13 files changed, 233 insertions, 73 deletions
diff --git a/devel/gettext-devel/Makefile b/devel/gettext-devel/Makefile
index 7f88642da915..7d5e6529d904 100644
--- a/devel/gettext-devel/Makefile
+++ b/devel/gettext-devel/Makefile
@@ -6,18 +6,31 @@
#
PORTNAME= gettext
-PORTVERSION= 0.10.35
+PORTVERSION= 0.10.38
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gettext
-MAINTAINER= reg@FreeBSD.org
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
+MAN3= bind_textdomain_codeset.3 bindtextdomain.3 dcgettext.3 \
+ dcngettext.3 dgettext.3 dngettext.3 gettext.3 ngettext.3 \
+ textdomain.3
+
+# X X X - I know, but it doesn't work with BSD iconv yet. :(((
+post-patch:
+ @/usr/bin/find ${WRKSRC} -type f | xargs ${PERL} -pi -e \
+ 's|-liconv|-lgiconv|g ; s|iconv\.h|giconv\.h|g'
+
pre-configure:
${RM} ${WRKSRC}/doc/gettext.info*
diff --git a/devel/gettext-devel/distinfo b/devel/gettext-devel/distinfo
index c78c8247570c..c05ee5fb054f 100644
--- a/devel/gettext-devel/distinfo
+++ b/devel/gettext-devel/distinfo
@@ -1 +1 @@
-MD5 (gettext-0.10.35.tar.gz) = f29d32b82217b9d89fcda66328752acc
+MD5 (gettext-0.10.38.tar.gz) = c807f357ea5e5324adf7ad3d52c40c84
diff --git a/devel/gettext-devel/files/patch-Makefile.in b/devel/gettext-devel/files/patch-Makefile.in
new file mode 100644
index 000000000000..3c1a3ac9bb7c
--- /dev/null
+++ b/devel/gettext-devel/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.in 2001/05/29 09:22:43 1.1
++++ Makefile.in 2001/05/29 09:23:01
+@@ -101,7 +101,7 @@
+
+ AUTOMAKE_OPTIONS = 1.3 gnits
+ MAINT_CHARSET = latin1
+-ACLOCAL = ./aclocal.sh @ACLOCAL@
++ACLOCAL = /usr/bin/true
+ ACLOCAL_AMFLAGS = -I m4
+
+ gettextsrcdir = $(datadir)/gettext
diff --git a/devel/gettext-devel/files/patch-ad b/devel/gettext-devel/files/patch-ad
index 3a0c6f4c39f6..0a8df104ad5c 100644
--- a/devel/gettext-devel/files/patch-ad
+++ b/devel/gettext-devel/files/patch-ad
@@ -11,14 +11,3 @@
else : ; fi; \
done
---- doc/Makefile.in.orig Thu Dec 3 20:12:35 1998
-+++ doc/Makefile.in Thu Dec 3 20:12:51 1998
-@@ -79,7 +79,7 @@
- LIBOBJS = @LIBOBJS@
- LIBTOOL = @LIBTOOL@
- LN_S = @LN_S@
--MAKEINFO = @MAKEINFO@
-+MAKEINFO = @MAKEINFO@ --no-split
- MKINSTALLDIRS = @MKINSTALLDIRS@
- MSGFMT = @MSGFMT@
- NM = @NM@
diff --git a/devel/gettext-devel/files/patch-ae b/devel/gettext-devel/files/patch-ae
index bbb9fce0b072..3288629e462c 100644
--- a/devel/gettext-devel/files/patch-ae
+++ b/devel/gettext-devel/files/patch-ae
@@ -1,6 +1,9 @@
---- configure.orig Fri May 1 07:48:25 1998
-+++ configure Wed Feb 17 02:05:55 1999
-@@ -837,13 +837,13 @@
+
+$FreeBSD$
+
+--- configure.orig Tue May 29 12:17:37 2001
++++ configure Tue May 29 12:19:59 2001
+@@ -980,13 +980,13 @@
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@@ -18,8 +21,8 @@
+#fi
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
- echo "configure:850: checking for working autoconf" >&5
-@@ -863,13 +863,13 @@
+ echo "configure:993: checking for working autoconf" >&5
+@@ -1006,13 +1006,13 @@
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
@@ -37,17 +40,8 @@
+#fi
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
- echo "configure:876: checking for working autoheader" >&5
-@@ -3958,7 +3958,7 @@
- fi
-
-
-- l=
-+ l=l
-
-
- test -d po || mkdir po
-@@ -4004,7 +4004,7 @@
+ echo "configure:1019: checking for working autoheader" >&5
+@@ -4855,7 +4855,7 @@
;;
esac
fi
@@ -56,3 +50,18 @@
if test -n "$EMACS"; then
echo "$ac_t""$EMACS" 1>&6
else
+@@ -5157,10 +5157,10 @@
+ s%@INSTALL_DATA@%$INSTALL_DATA%g
+ s%@PACKAGE@%$PACKAGE%g
+ s%@VERSION@%$VERSION%g
+-s%@ACLOCAL@%$ACLOCAL%g
+-s%@AUTOCONF@%$AUTOCONF%g
+-s%@AUTOMAKE@%$AUTOMAKE%g
+-s%@AUTOHEADER@%$AUTOHEADER%g
++s%@ACLOCAL@%/usr/bin/true%g
++s%@AUTOCONF@%/usr/bin/true%g
++s%@AUTOMAKE@%/usr/bin/true%g
++s%@AUTOHEADER@%/usr/bin/true%g
+ s%@MAKEINFO@%$MAKEINFO%g
+ s%@SET_MAKE@%$SET_MAKE%g
+ s%@CC@%$CC%g
diff --git a/devel/gettext-devel/files/patch-af b/devel/gettext-devel/files/patch-af
deleted file mode 100644
index 7da1ef001b32..000000000000
--- a/devel/gettext-devel/files/patch-af
+++ /dev/null
@@ -1,10 +0,0 @@
---- misc/locale.alias.orig Sat Oct 19 23:40:54 1996
-+++ misc/locale.alias Thu Dec 3 20:11:52 1998
-@@ -40,6 +40,7 @@
- icelandic is_IS.ISO-8859-1
- italian it_CH.ISO-8859-1
- japanese ja_JP.EUC
-+korean ko_KR.EUC
- norwegian no_NO.ISO-8859-1
- polish pl_PL.ISO-8859-2
- portuguese pt_PT.ISO-8859-1
diff --git a/devel/gettext-devel/files/patch-ah b/devel/gettext-devel/files/patch-ah
deleted file mode 100644
index a45dc903c3b9..000000000000
--- a/devel/gettext-devel/files/patch-ah
+++ /dev/null
@@ -1,11 +0,0 @@
---- intl/Makefile.in.orig Wed Feb 17 02:18:40 1999
-+++ intl/Makefile.in Wed Feb 17 02:30:13 1999
-@@ -119,7 +119,7 @@
- $(top_srcdir)/mkinstalldirs $(libdir) $(includedir); \
- fi; \
- $(INSTALL_DATA) intlh.inst $(includedir)/libintl.h; \
-- $(INSTALL_DATA) libintl.a $(libdir)/libintl.a; \
-+ $(LIBTOOL) --mode=install $(INSTALL) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \
- else \
- : ; \
- fi
diff --git a/devel/gettext-devel/files/patch-ai b/devel/gettext-devel/files/patch-ai
deleted file mode 100644
index 6a780fdd2d68..000000000000
--- a/devel/gettext-devel/files/patch-ai
+++ /dev/null
@@ -1,12 +0,0 @@
---- m4/gettext.m4.orig Fri Dec 24 20:23:44 1999
-+++ m4/gettext.m4 Fri Dec 24 20:25:52 1999
-@@ -73,6 +73,9 @@
- INSTOBJEXT=.mo
- fi
- fi
-+ if test "$gt_cv_func_gettext_libintl" = "yes"; then
-+ INTLLIBS='-lintl'
-+ fi
- ])
-
- if test "$CATOBJEXT" = "NONE"; then
diff --git a/devel/gettext-devel/files/patch-doc::Makefile.in b/devel/gettext-devel/files/patch-doc::Makefile.in
new file mode 100644
index 000000000000..80533cd81c08
--- /dev/null
+++ b/devel/gettext-devel/files/patch-doc::Makefile.in
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- doc/Makefile.in.orig Wed May 23 23:48:53 2001
++++ doc/Makefile.in Tue May 29 11:38:28 2001
+@@ -97,7 +97,7 @@
+ aclocaldir = @aclocaldir@
+ lispdir = @lispdir@
+
+-docdir = $(prefix)/doc/@PACKAGE@
++docdir = $(prefix)/share/doc/@PACKAGE@
+ dvidir = $(docdir)
+ psdir = $(docdir)
+ pdfdir = $(docdir)
+@@ -108,7 +108,7 @@
+ SED = sed
+ RM = rm -f
+
+-MAKEINFO = env LANG= LANGUAGE= @MAKEINFO@
++MAKEINFO = env LANG= LANGUAGE= @MAKEINFO@ --no-split
+
+ info_TEXINFOS = gettext.texi
+ gettext_TEXINFOS = iso-639.texi iso-3166.texi
diff --git a/devel/gettext-devel/files/patch-intl::Makefile.in b/devel/gettext-devel/files/patch-intl::Makefile.in
new file mode 100644
index 000000000000..66817ee0b75e
--- /dev/null
+++ b/devel/gettext-devel/files/patch-intl::Makefile.in
@@ -0,0 +1,44 @@
+
+$FreeBSD$
+
+--- intl/Makefile.in 2001/05/29 08:54:24 1.1
++++ intl/Makefile.in 2001/05/29 09:00:12
+@@ -51,7 +51,7 @@
+ YFLAGS = --name-prefix=__gettext
+
+ DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
+--DLIBDIR=\"$(libdir)\" @DEFS@
++-DLIBDIR=\"$(prefix)/libdata\" @DEFS@
+ CPPFLAGS = @CPPFLAGS@
+ CFLAGS = @CFLAGS@
+ LDFLAGS = @LDFLAGS@
+@@ -151,11 +151,11 @@
+ : ; \
+ fi
+ if test '@USE_INCLUDED_LIBINTL@' = yes; then \
+- $(mkinstalldirs) $(DESTDIR)$(libdir); \
+- temp=$(DESTDIR)$(libdir)/t-charset.alias; \
+- dest=$(DESTDIR)$(libdir)/charset.alias; \
+- if test -f $(DESTDIR)$(libdir)/charset.alias; then \
+- orig=$(DESTDIR)$(libdir)/charset.alias; \
++ $(mkinstalldirs) $(DESTDIR)$(prefix)/libdata; \
++ temp=$(DESTDIR)$(prefix)/libdata/t-charset.alias; \
++ dest=$(DESTDIR)$(prefix)/libdata/charset.alias; \
++ if test -f $(DESTDIR)$(prefix)/libdata/charset.alias; then \
++ orig=$(DESTDIR)$(prefix)/libdata/charset.alias; \
+ sed -f ref-add.sed $$orig > $$temp; \
+ $(INSTALL_DATA) $$temp $$dest; \
+ rm -f $$temp; \
+@@ -217,9 +217,9 @@
+ : ; \
+ fi
+ if test '@USE_INCLUDED_LIBINTL@' = yes; then \
+- if test -f $(DESTDIR)$(libdir)/charset.alias; then \
+- temp=$(DESTDIR)$(libdir)/t-charset.alias; \
+- dest=$(DESTDIR)$(libdir)/charset.alias; \
++ if test -f $(DESTDIR)$(prefix)/libdata/charset.alias; then \
++ temp=$(DESTDIR)$(prefix)/libdata/t-charset.alias; \
++ dest=$(DESTDIR)$(prefix)/libdata/charset.alias; \
+ sed -f ref-del.sed $$dest > $$temp; \
+ if grep '^# Packages using this file: $$' $$temp > /dev/null; then \
+ rm -f $$dest; \
diff --git a/devel/gettext-devel/files/patch-lib::Makefile.in b/devel/gettext-devel/files/patch-lib::Makefile.in
new file mode 100644
index 000000000000..d2b83eca79fd
--- /dev/null
+++ b/devel/gettext-devel/files/patch-lib::Makefile.in
@@ -0,0 +1,38 @@
+
+$FreeBSD$
+
+--- lib/Makefile.in 2001/05/29 08:54:24 1.1
++++ lib/Makefile.in 2001/05/29 08:59:30
+@@ -116,11 +116,11 @@
+ noinst_HEADERS = c-ctype.h error.h fstrcmp.h getline.h getopt.h hash.h lbrkprop.h linebreak.h mbswidth.h obstack.h printf-parse.h printf.h system.h pathmax.h
+
+
+-DEFS = -DLIBDIR=\"$(libdir)\" @DEFS@
++DEFS = -DLIBDIR=\"$(prefix)/libdata\" @DEFS@
+ INCLUDES = -I. -I$(srcdir) -I.. -I../intl
+
+-charset_alias = $(DESTDIR)$(libdir)/charset.alias
+-charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
++charset_alias = $(DESTDIR)$(prefix)/libdata/charset.alias
++charset_tmp = $(DESTDIR)$(prefix)/libdata/charset.tmp
+
+ SUFFIXES = .sed .sin
+
+@@ -349,7 +349,7 @@
+ mostlyclean distclean maintainer-clean
+
+
+-# The following is needed in order to install a simple file in $(libdir)
++# The following is needed in order to install a simple file in $(prefix)/libdata
+ # which is shared with other installed packages. We use a list of referencing
+ # packages so that "make uninstall" will remove the file if and only if it
+ # is not used by another installed package.
+@@ -358,7 +358,7 @@
+
+ all-local: charset.alias ref-add.sed ref-del.sed
+ install-exec-local: all-local
+- $(mkinstalldirs) $(DESTDIR)$(libdir)
++ $(mkinstalldirs) $(DESTDIR)$(prefix)/libdata
+ if test -f $(charset_alias); then \
+ sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
+ $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
diff --git a/devel/gettext-devel/files/patch-man::Makefile.in b/devel/gettext-devel/files/patch-man::Makefile.in
new file mode 100644
index 000000000000..860777a595d7
--- /dev/null
+++ b/devel/gettext-devel/files/patch-man::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- man/Makefile.in 2001/05/29 08:45:39 1.1
++++ man/Makefile.in 2001/05/29 08:46:06
+@@ -101,7 +101,7 @@
+
+ VERSION = @VERSION@
+ mandir = @mandir@
+-docdir = $(prefix)/doc/@PACKAGE@
++docdir = $(prefix)/share/doc/@PACKAGE@
+ htmldir = $(docdir)
+
+ AUTOMAKE_OPTIONS = 1.2 gnits
diff --git a/devel/gettext-devel/pkg-plist b/devel/gettext-devel/pkg-plist
index 9e23936a2dbd..25a559ef741a 100644
--- a/devel/gettext-devel/pkg-plist
+++ b/devel/gettext-devel/pkg-plist
@@ -5,26 +5,56 @@ bin/msgcomm
bin/msgfmt
bin/msgmerge
bin/msgunfmt
+bin/ngettext
bin/xgettext
+include/libintl.h
@unexec install-info --delete %D/info/gettext.info %D/info/dir
info/gettext.info
@exec install-info %D/info/gettext.info %D/info/dir
-include/libintl.h
lib/libintl.a
lib/libintl.so
lib/libintl.so.1
+@comment libdata/charset.alias
+share/aclocal/codeset.m4
share/aclocal/gettext.m4
+share/aclocal/glibc21.m4
+share/aclocal/iconv.m4
+share/aclocal/isc-posix.m4
share/aclocal/lcmessage.m4
share/aclocal/progtest.m4
+share/doc/gettext/bind_textdomain_codeset.3.html
+share/doc/gettext/bindtextdomain.3.html
+share/doc/gettext/gettext.3.html
+share/doc/gettext/gettext_1.html
+share/doc/gettext/gettext_10.html
+share/doc/gettext/gettext_11.html
+share/doc/gettext/gettext_12.html
+share/doc/gettext/gettext_13.html
+share/doc/gettext/gettext_14.html
+share/doc/gettext/gettext_2.html
+share/doc/gettext/gettext_3.html
+share/doc/gettext/gettext_4.html
+share/doc/gettext/gettext_5.html
+share/doc/gettext/gettext_6.html
+share/doc/gettext/gettext_7.html
+share/doc/gettext/gettext_8.html
+share/doc/gettext/gettext_9.html
+share/doc/gettext/gettext_foot.html
+share/doc/gettext/gettext_toc.html
+share/doc/gettext/ngettext.3.html
+share/doc/gettext/textdomain.3.html
+share/emacs/site-lisp/po-mode.el
share/gettext/ABOUT-NLS
-share/gettext/po/Makefile.in.in
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/config.charset
share/gettext/intl/dcgettext.c
+share/gettext/intl/dcigettext.c
+share/gettext/intl/dcngettext.c
share/gettext/intl/dgettext.c
+share/gettext/intl/dngettext.c
share/gettext/intl/explodename.c
share/gettext/intl/finddomain.c
share/gettext/intl/gettext.c
@@ -34,30 +64,49 @@ share/gettext/intl/hash-string.h
share/gettext/intl/intl-compat.c
share/gettext/intl/l10nflist.c
share/gettext/intl/libgettext.h
-share/gettext/intl/linux-msg.sed
+share/gettext/intl/libgnuintl.h
share/gettext/intl/loadinfo.h
share/gettext/intl/loadmsgcat.c
+share/gettext/intl/localcharset.c
+share/gettext/intl/locale.alias
share/gettext/intl/localealias.c
-share/gettext/intl/po2tbl.sed.in
-share/gettext/intl/xopen-msg.sed
+share/gettext/intl/ngettext.c
+share/gettext/intl/plural.c
+share/gettext/intl/plural.y
+share/gettext/intl/ref-add.sin
+share/gettext/intl/ref-del.sin
share/gettext/intl/textdomain.c
+share/gettext/po/Makefile.in.in
+share/locale/cs/LC_MESSAGES/gettext.mo
share/locale/da/LC_MESSAGES/gettext.mo
share/locale/de/LC_MESSAGES/gettext.mo
+share/locale/el/LC_MESSAGES/gettext.mo
+share/locale/en@boldquot/LC_MESSAGES/gettext.mo
+share/locale/en@quot/LC_MESSAGES/gettext.mo
share/locale/es/LC_MESSAGES/gettext.mo
+share/locale/et/LC_MESSAGES/gettext.mo
share/locale/fr/LC_MESSAGES/gettext.mo
+share/locale/gl/LC_MESSAGES/gettext.mo
+share/locale/id/LC_MESSAGES/gettext.mo
+share/locale/it/LC_MESSAGES/gettext.mo
+share/locale/ja/LC_MESSAGES/gettext.mo
share/locale/ko/LC_MESSAGES/gettext.mo
+share/locale/locale.alias
share/locale/nl/LC_MESSAGES/gettext.mo
+share/locale/nn/LC_MESSAGES/gettext.mo
share/locale/no/LC_MESSAGES/gettext.mo
-share/locale/no@nynorsk/LC_MESSAGES/gettext.mo
share/locale/pl/LC_MESSAGES/gettext.mo
share/locale/pt/LC_MESSAGES/gettext.mo
+share/locale/pt_BR/LC_MESSAGES/gettext.mo
+share/locale/ru/LC_MESSAGES/gettext.mo
share/locale/sl/LC_MESSAGES/gettext.mo
share/locale/sv/LC_MESSAGES/gettext.mo
-share/locale/locale.alias
-share/emacs/site-lisp/po-mode.el
-@dirrm share/gettext/intl
+share/locale/tr/LC_MESSAGES/gettext.mo
+share/locale/zh/LC_MESSAGES/gettext.mo
@dirrm share/gettext/po
+@dirrm share/gettext/intl
@dirrm share/gettext
+@dirrm share/doc/gettext
@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/* 2>/dev/null || true
@unexec rmdir %D/share/locale 2>/dev/null || true