Enable NLS.

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

OK'ed by Antoine Reilles.
This commit is contained in:
minskim 2007-07-10 21:16:43 +00:00
parent 402af8a91f
commit 5c75d928bf
4 changed files with 27 additions and 4 deletions

View file

@ -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 @@ LIBS+= -lltdl
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}

View file

@ -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 @@ java/kaffe/license.terms
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

View file

@ -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-ab) = 51382ff9c9672eab7bb1729e8435af3d134a4ea1
SHA1 (patch-ac) = 2fb9d3d7bdfdecd6090403aae9485662d1bcfbc5
SHA1 (patch-ad) = 6ad03154e1874822d8a784cdcf6faa248e76c38f
SHA1 (patch-ae) = 81e4a650fbb7fa18fa19597d27362bbb0155847f
SHA1 (patch-af) = 8f35727c9a6147a8c5af8bcc3279ef29f8c9ad13

View file

@ -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@