aboutsummaryrefslogtreecommitdiff
path: root/chinese/jis2gb/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/jis2gb/files/patch-Makefile')
-rw-r--r--chinese/jis2gb/files/patch-Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/chinese/jis2gb/files/patch-Makefile b/chinese/jis2gb/files/patch-Makefile
index 7c5009930ff0..0fa4a8312ace 100644
--- a/chinese/jis2gb/files/patch-Makefile
+++ b/chinese/jis2gb/files/patch-Makefile
@@ -1,5 +1,5 @@
---- ./Makefile.orig 1995-10-05 10:21:32.000000000 +0200
-+++ ./Makefile 2009-06-01 18:14:43.123328777 +0300
+--- Makefile.orig 1995-10-05 16:21:32.000000000 +0800
++++ Makefile 2013-09-26 21:15:32.000000000 +0800
@@ -1,6 +1,11 @@
SHELL = /bin/sh
@@ -13,7 +13,7 @@
TABLEC = JX0208GB2312.c JX0208GB8565.c JX0212GB2312.c JX0212GB8565.c \
MSSJISGB2312.c MSSJISJX0208.c MSSJISJX0212.c
-@@ -13,19 +18,20 @@
+@@ -13,19 +18,20 @@ TABLEO = JX0208GB2312.o JX0208GB8565.o J
./t2c $< $@
.c.o:
@@ -34,13 +34,13 @@
install: jis2gb jis2gb.1
- cp jis2gb /usr/local/bin/jis2gb
- cp jis2gb.1 /usr/local/man/man1/jis2gb.1
-+ ${BSD_INSTALL_PROGRAM} jis2gb ${PREFIX}/bin/jis2gb
-+ ${BSD_INSTALL_MAN} jis2gb.1 ${MAN1PREFIX}/man/man1/jis2gb.1
-+ ${BSD_INSTALL_DATA} jis2gb.el ${PREFIX}/share/emacs/site-lisp/jis2gb.el
++ ${BSD_INSTALL_PROGRAM} jis2gb ${DESTDIR}${PREFIX}/bin/jis2gb
++ ${BSD_INSTALL_MAN} jis2gb.1 ${DESTDIR}${MAN1PREFIX}/man/man1/jis2gb.1
++ ${BSD_INSTALL_DATA} jis2gb.el ${DESTDIR}${PREFIX}/share/emacs/site-lisp/jis2gb.el
# nroff -man jis2gb.1 > /usr/local/catman/C/u_man/cat1/jis2gb.1
clean:
-@@ -36,7 +42,7 @@
+@@ -36,7 +42,7 @@ check: $(TABLEC)
-egrep '0x([2-9]|a[1-b]|f[0-9]|..[2-9])' JX0208GB8565.c JX0212GB8565.c
t2c: t2c.c