summaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-11-11 18:38:56 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-11-11 18:38:56 +0000
commit9e6069dbc1542d6000183f79b226ea01ac631f40 (patch)
treec53ab74d53576c3cd8906a2e2576232cf3e879b8 /french
parentAdd a knob for enabling Musepack support. (diff)
Répare l'affichage des accents avec les locales UTF-8.
Notes
Notes: svn path=/head/; revision=177062
Diffstat (limited to 'french')
-rw-r--r--french/belote/Makefile1
-rw-r--r--french/belote/files/belote.in6
2 files changed, 7 insertions, 0 deletions
diff --git a/french/belote/Makefile b/french/belote/Makefile
index 6552893c96aa..008b2c27450f 100644
--- a/french/belote/Makefile
+++ b/french/belote/Makefile
@@ -7,6 +7,7 @@
PORTNAME= belote
PORTVERSION= 20061109
+PORTREVISION= 1
CATEGORIES= french games java
MASTER_SITES= http://coincher.free.fr/
DISTNAME= belote
diff --git a/french/belote/files/belote.in b/french/belote/files/belote.in
index e3fdb55b46ac..373df1553aef 100644
--- a/french/belote/files/belote.in
+++ b/french/belote/files/belote.in
@@ -1,6 +1,12 @@
#!/bin/sh
# $Id$
+if [ -n "$LANG" ]; then
+ # Pour une raison inconnue, les accents ne sont pas affichés
+ # avec les locales UTF-8. Changeons donc UTF-8 en ISO8859-15.
+ export LANG=`echo "$LANG" | sed -e 's|\.UTF-8|.ISO8859-15|'`
+fi
+
mkdir -p ~/.belote || exit 1
ln -sf %%DATADIR%%/data.bin ~/.belote || exit 1