pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/kaffe Enable NLS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e10b6892789e
branches:  trunk
changeset: 530818:e10b6892789e
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Jul 10 21:16:43 2007 +0000

description:
Enable NLS.

This addresses unregistered .mo files in PR 36622.  Bump PKGREVISION due to
PLIST changes.

OK'ed by Antoine Reilles.

diffstat:

 lang/kaffe/Makefile         |   9 +++++++--
 lang/kaffe/PLIST            |   6 +++++-
 lang/kaffe/distinfo         |   3 ++-
 lang/kaffe/patches/patch-af |  13 +++++++++++++
 4 files changed, 27 insertions(+), 4 deletions(-)

diffs (86 lines):

diff -r aaeb08fd7d51 -r e10b6892789e lang/kaffe/Makefile
--- a/lang/kaffe/Makefile       Tue Jul 10 19:51:22 2007 +0000
+++ b/lang/kaffe/Makefile       Tue Jul 10 21:16:43 2007 +0000
@@ -1,17 +1,20 @@
-# $NetBSD: Makefile,v 1.69 2006/05/12 07:29:37 joerg Exp $
+# $NetBSD: Makefile,v 1.70 2007/07/10 21:16:43 minskim Exp $
 #
 
 .include "Makefile.common"
 
-PKGREVISION=   1
+PKGREVISION=   2
 
 CONFLICTS+=            kaffe-nox11-[0-9]*
 
+USE_PKGLOCALEDIR=      yes
+
 CONFIGURE_ARGS+=       --disable-native-awt
 CONFIGURE_ARGS+=       --disable-gtk-peer
 CONFIGURE_ARGS+=       --without-x
 CONFIGURE_ARGS+=       --without-esd
 CONFIGURE_ARGS+=       --disable-esdtest
+MAKE_ENV+=             PKGLOCALEDIR=${PREFIX}/${PKGLOCALEDIR}
 
 JAVA_WRAPPERS=         appletviewer jar java javac javadoc javah javakey \
                        javap jdb rmic rmiregistry serialver
@@ -27,6 +30,8 @@
 PRINT_PLIST_AWK+=      /^java\/kaffe\/jre\/lib\/security\/java.security$$/ \
                                { next; }
 
+.include "../../devel/gettext-lib/buildlink3.mk"
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/license.terms ${JAVA_HOME}
 
diff -r aaeb08fd7d51 -r e10b6892789e lang/kaffe/PLIST
--- a/lang/kaffe/PLIST  Tue Jul 10 19:51:22 2007 +0000
+++ b/lang/kaffe/PLIST  Tue Jul 10 21:16:43 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2006/05/10 16:46:20 tonio Exp $
+@comment $NetBSD: PLIST,v 1.15 2007/07/10 21:16:43 minskim Exp $
 bin/kaffe-appletviewer
 bin/kaffe-jar
 bin/kaffe-java
@@ -68,6 +68,10 @@
 man/man1/kaffe.1
 java/kaffe/share/classpath/README
 java/kaffe/share/classpath/tools.zip
+share/locale/de/LC_MESSAGES/kaffe.mo
+share/locale/fr/LC_MESSAGES/kaffe.mo
+share/locale/zh_CN/LC_MESSAGES/kaffe.mo
+share/locale/zh_TW/LC_MESSAGES/kaffe.mo
 @dirrm java/kaffe/share/classpath
 @dirrm java/kaffe/share
 @dirrm java/kaffe/lib/security
diff -r aaeb08fd7d51 -r e10b6892789e lang/kaffe/distinfo
--- a/lang/kaffe/distinfo       Tue Jul 10 19:51:22 2007 +0000
+++ b/lang/kaffe/distinfo       Tue Jul 10 21:16:43 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2006/10/05 11:22:35 rillig Exp $
+$NetBSD: distinfo,v 1.25 2007/07/10 21:16:43 minskim Exp $
 
 SHA1 (kaffe-1.1.7.tar.gz) = 5951d16a4a7b11689932583d134520ca6de00817
 RMD160 (kaffe-1.1.7.tar.gz) = 7523a3470cd06cf60dbade8ea2f464dc9d85277b
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 2fb9d3d7bdfdecd6090403aae9485662d1bcfbc5
 SHA1 (patch-ad) = 6ad03154e1874822d8a784cdcf6faa248e76c38f
 SHA1 (patch-ae) = 81e4a650fbb7fa18fa19597d27362bbb0155847f
+SHA1 (patch-af) = 8f35727c9a6147a8c5af8bcc3279ef29f8c9ad13
diff -r aaeb08fd7d51 -r e10b6892789e lang/kaffe/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/kaffe/patches/patch-af       Tue Jul 10 21:16:43 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.8 2007/07/10 21:16:44 minskim Exp $
+
+--- po/Makefile.in.in.orig     2004-02-01 08:28:40.000000000 -0800
++++ po/Makefile.in.in
+@@ -23,7 +23,7 @@ VPATH = @srcdir@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = $(PKGLOCALEDIR)
+ gettextsrcdir = $(datadir)/gettext/po
+ 
+ INSTALL = @INSTALL@



Home | Main Index | Thread Index | Old Index