freebsd-ports/games/xshisen/files/patch-ac
Norikatsu Shigemura 6c9f63d856 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)
2002-11-23 14:56:18 +00:00

21 lines
555 B
Text

--- Makefile.in.orig Tue Jan 23 17:35:21 1996
+++ Makefile.in Sat Nov 9 17:18:47 2002
@@ -39,7 +39,7 @@
SCF = xshisen-scores
LIBS = @LIBS@
-CODECONV = ./$(exec_name) -KCONV jis
+CODECONV = (nkf -e | sed 's/XSHISEN_VERSION/1.36/')
all: $(PROGS)
@@ -64,6 +64,9 @@
$(INSTALLD) $$file $(XSHISENLIB)/`basename $$file`; \
done
$(INSTALLD) $(AD) $(XAD_DIR)/$(class_name)
+ @if [ ! -f $(JXAD_DIR) ]; then \
+ $(MKDIR) $(JXAD_DIR); \
+ fi
$(INSTALLD) $(ADJ) $(JXAD_DIR)/$(class_name)
install.man: $(exec_name).jman $(exec_name).man