summaryrefslogtreecommitdiffstats
path: root/japanese/ack/files
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-09-15 22:05:58 +0000
committerkuriyama <kuriyama@FreeBSD.org>1998-09-15 22:05:58 +0000
commit647498c5d69c2898a7ebb0fbdcab9231dadd820b (patch)
tree72e3e74d2611289cb5fa5d0d1b605b6d5fef83df /japanese/ack/files
parent53149b8a14ebe57af1e31ee5f167165f00216388 (diff)
downloadFreeBSD-ports-647498c5d69c2898a7ebb0fbdcab9231dadd820b.zip
FreeBSD-ports-647498c5d69c2898a7ebb0fbdcab9231dadd820b.tar.gz
Kanji code converter.
PR: ports/7640 Submitted by: Masanori Kiriake <seiken@nbs.co.jp>
Diffstat (limited to 'japanese/ack/files')
-rw-r--r--japanese/ack/files/patch-aa33
1 files changed, 33 insertions, 0 deletions
diff --git a/japanese/ack/files/patch-aa b/japanese/ack/files/patch-aa
new file mode 100644
index 0000000..5b84261
--- /dev/null
+++ b/japanese/ack/files/patch-aa
@@ -0,0 +1,33 @@
+--- Makefile.orig Tue Jul 26 18:29:53 1994
++++ Makefile Wed Jul 29 18:49:18 1998
+@@ -1,14 +1,15 @@
+ #### ack 1993,94 H.Ogasawara (COR.)
+ ####
+ #### -- install directory
+-BINARY = /usr/local/bin
+-MANUAL = /usr/local/man/man1
++PREFIX?= /usr/local
++BINARY = ${PREFIX}/bin
++MANUAL = ${PREFIX}/man/ja/man1
+
+ ####
+ #### -- UNIX
+ CC = cc
+-CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
+-#CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
++#CFLAGS = -O -DDEFCODE=2 -DDEFJIS=2 -DENVACK=1
++CFLAGS = -O -DDEFCODE=1 -DDEFJIS=2 -DENVACK=1 -DLANGCHK=1 -DJCONVSW=1
+ ####
+ #### -- Human68k
+ #CC = gcc
+@@ -34,8 +35,8 @@
+ $(CC) $(LDFLAGS) $(OBJ) -o $@
+
+ install: $(PROG)
+- install -s -c $(PROG) $(BINARY)
+- install -c ack.1 $(MANUAL)
++ ${BSD_INSTALL_PROGRAM} $(PROG) $(BINARY)
++ ${BSD_INSTALL_MAN} ack.1 $(MANUAL)
+
+ codetosjis.o: codetosjis.c kanjicode.h
+ codetoeuc.o: codetoeuc.c kanjicode.h
OpenPOWER on IntegriCloud