aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2000-03-08 19:19:17 +0800
committermax <max@FreeBSD.org>2000-03-08 19:19:17 +0800
commitbd67324a6fa7d2117b6c64fc763ca67661092d88 (patch)
tree289273160ff7c89da5a10749890707c59c2574c8 /japanese
parentfca6ccd55130ac2de83d9277cdc6513c355c9c53 (diff)
downloadfreebsd-ports-graphics-bd67324a6fa7d2117b6c64fc763ca67661092d88.tar.gz
freebsd-ports-graphics-bd67324a6fa7d2117b6c64fc763ca67661092d88.tar.zst
freebsd-ports-graphics-bd67324a6fa7d2117b6c64fc763ca67661092d88.zip
Convert the Japanese man page to EUC before installing it.
Submitted by: FUJISHIMA Satsuki <k5@cheerful.com>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/nkf/files/patch-aa28
1 files changed, 18 insertions, 10 deletions
diff --git a/japanese/nkf/files/patch-aa b/japanese/nkf/files/patch-aa
index 26bf13548ae..cf31cbd019f 100644
--- a/japanese/nkf/files/patch-aa
+++ b/japanese/nkf/files/patch-aa
@@ -1,21 +1,29 @@
---- Makefile.orig Mon Nov 16 19:21:40 1998
-+++ Makefile Wed Feb 23 13:37:09 2000
-@@ -1,11 +1,17 @@
-+PREFIX?= /usr/local
- CC = cc
+--- Makefile.orig Mon Nov 16 19:21:45 1998
++++ Makefile Sun Mar 5 05:33:25 2000
+@@ -1,14 +1,22 @@
+-CC = cc
-CFLAGS = -O
++PREFIX?=/usr/local
++CC?= cc
+CFLAGS?= -O
SHAR = shar -T
# SHAR = shar
- PERL = perl5
+-PERL = perl5
++PERL?= perl5
++INSTALL?=/usr/bin/install
nkf : nkf.c
$(CC) $(CFLAGS) -o nkf nkf.c
++ ./nkf -e nkf.1j > nkf.1j.euc
+
+install:
-+ /usr/bin/install -o root -g wheel -m 755 -c -s nkf ${PREFIX}/bin
-+ /usr/bin/install -o root -g wheel -m 644 -c nkf.1 ${PREFIX}/man/man1/nkf.1
-+ /usr/bin/install -o root -g wheel -m 644 -c nkf.1j ${PREFIX}/man/ja/man1/nkf.1
++ ${INSTALL} -c -o root -g wheel -m 555 nkf ${PREFIX}/bin
++ ${INSTALL} -c -o root -g wheel -m 444 nkf.1 ${PREFIX}/man/man1/nkf.1
++ ${INSTALL} -c -o root -g wheel -m 444 nkf.1j.euc ${PREFIX}/man/ja/man1/nkf.1
clean:
- rm -fr nkf.o nkf nkf.in nkf.out nkf17 *~
+- rm -fr nkf.o nkf nkf.in nkf.out nkf17 *~
++ rm -fr nkf.o nkf nkf.in nkf.out nkf17 nkf.1j.euc *~
+ test: nkf
+ perl nkf_test.pl
+