summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-05-10 04:36:06 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-05-10 04:36:06 +0000
commitd0b64b877cf83c0e0090771f7f62705db8d3ee56 (patch)
treec4871bb526c6ff292c102fcb7f227d1f8c4ef180
parent235efc1dff6e81934c92f77aadc2e2ddc2bda744 (diff)
downloadpkgsrc-d0b64b877cf83c0e0090771f7f62705db8d3ee56.tar.gz
Import FreeBSD's "ack" port:
ack - a Japanese code converter.
-rw-r--r--japanese/ack/Makefile20
-rw-r--r--japanese/ack/files/md51
-rw-r--r--japanese/ack/patches/patch-aa33
-rw-r--r--japanese/ack/pkg/COMMENT1
-rw-r--r--japanese/ack/pkg/DESCR1
-rw-r--r--japanese/ack/pkg/PLIST1
6 files changed, 57 insertions, 0 deletions
diff --git a/japanese/ack/Makefile b/japanese/ack/Makefile
new file mode 100644
index 00000000000..b83b0ed0ce7
--- /dev/null
+++ b/japanese/ack/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: ack
+# Version required: 1.39
+# Date created: 21 Jul 1998
+# Whom: Masanori Kiriake <seiken@nbs.co.jp>
+#
+# $Id: Makefile,v 1.1.1.1 1999/05/10 04:36:06 sakamoto Exp $
+
+DISTNAME= ack139
+PKGNAME= ja-ack-1.39
+CATEGORIES= japanese converters
+MASTER_SITES= ftp://ftp.tohoku.ac.jp/pub/unix/ack/
+
+MAINTAINER= seiken@nbs.co.jp
+
+ALL_TARGET= ack
+
+MANLANG= ja
+MAN1= ack.1
+
+.include <bsd.port.mk>
diff --git a/japanese/ack/files/md5 b/japanese/ack/files/md5
new file mode 100644
index 00000000000..a2ab9532f69
--- /dev/null
+++ b/japanese/ack/files/md5
@@ -0,0 +1 @@
+MD5 (ack139.tar.gz) = 8bb87ee0dc92547eb93b097fcfe99bd8
diff --git a/japanese/ack/patches/patch-aa b/japanese/ack/patches/patch-aa
new file mode 100644
index 00000000000..5b842618144
--- /dev/null
+++ b/japanese/ack/patches/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
diff --git a/japanese/ack/pkg/COMMENT b/japanese/ack/pkg/COMMENT
new file mode 100644
index 00000000000..4eb791b9b74
--- /dev/null
+++ b/japanese/ack/pkg/COMMENT
@@ -0,0 +1 @@
+Kanji code converter.
diff --git a/japanese/ack/pkg/DESCR b/japanese/ack/pkg/DESCR
new file mode 100644
index 00000000000..4eb791b9b74
--- /dev/null
+++ b/japanese/ack/pkg/DESCR
@@ -0,0 +1 @@
+Kanji code converter.
diff --git a/japanese/ack/pkg/PLIST b/japanese/ack/pkg/PLIST
new file mode 100644
index 00000000000..1c302b1716e
--- /dev/null
+++ b/japanese/ack/pkg/PLIST
@@ -0,0 +1 @@
+bin/ack