summaryrefslogtreecommitdiff
path: root/games/xshisen/pkg-plist
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-11-23 14:56:18 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-11-23 14:56:18 +0000
commit6c9f63d85675022c1327c4ec9b5926ec121029bf (patch)
tree2efddc4726ac20e18505c4c7e7f22656095e1fad /games/xshisen/pkg-plist
parentupgrade to 2.1 (diff)
1. This port haven't be corresponded to locale name for Japanese EUC
environment ja_JP.EUC -> ja_JP.eucJP. This patch installs X resource file into ja_JP.eucJP/app-defaults instead of ja_JP.EUC/app-defaults, and then if ja_JP.EUC directory is exist, it will make a symlink from ja_JP.EUC/app-defaults to ja_JP.eucJP/app-defaults 2. This port execute xshisen, a X11 program, to convert KANJI code and VERSION string in resource files, and failed with 'Could not open display' error. This patch replace it with japanese/nkf to convert KANJI code (sorry for non-japanese people). 3. -lxpg4 is obsoleted and not required for newer environment. PR: ports/45643 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp> Approved by: maintainer timeout (2 months)
Notes
Notes: svn path=/head/; revision=70851
Diffstat (limited to 'games/xshisen/pkg-plist')
-rw-r--r--games/xshisen/pkg-plist8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/xshisen/pkg-plist b/games/xshisen/pkg-plist
index e49ab21ce2fa..f9c3c41b1905 100644
--- a/games/xshisen/pkg-plist
+++ b/games/xshisen/pkg-plist
@@ -37,7 +37,9 @@ lib/X11/xshisen/s9.xpm
lib/X11/xshisen/sha.xpm
lib/X11/xshisen/ton.xpm
lib/X11/app-defaults/XShisen
-lib/X11/ja_JP.EUC/app-defaults/XShisen
-@unexec rmdir %D/lib/X11/ja_JP.EUC/app-defaults 2>/dev/null || true
-@unexec rmdir %D/lib/X11/ja_JP.EUC 2>/dev/null || true
+lib/X11/ja_JP.eucJP/app-defaults/XShisen
+@unexec rmdir %D/lib/X11/ja_JP.eucJP/app-defaults 2>/dev/null || true
+@unexec rmdir %D/lib/X11/ja_JP.eucJP 2>/dev/null || true
@dirrm lib/X11/xshisen
+@exec [ -d %D/lib/X11/ja_JP.EUC/ -a -d %D/lib/X11/ja_JP.EUC/app-defaults ] && ln -s %D/lib/X11/ja_JP.eucJP/app-defaults/XShisen %D/lib/X11/ja_JP.EUC/app-defaults || true
+@unexec rm %D/lib/X11/ja_JP.EUC/app-defaults/XShisen 2>/dev/null || true