summaryrefslogtreecommitdiffstats
path: root/japanese/nkf
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-02-06 05:28:26 +0000
committerasami <asami@FreeBSD.org>1995-02-06 05:28:26 +0000
commitf92615a347a55f234491f9df3f7f1132aef965ab (patch)
tree9cddf384bbf8ae7cf539afa2c49084fa4ebe3420 /japanese/nkf
parent433ed897cf3631c701fb82da9c6524a947e5475e (diff)
downloadFreeBSD-ports-f92615a347a55f234491f9df3f7f1132aef965ab.zip
FreeBSD-ports-f92615a347a55f234491f9df3f7f1132aef965ab.tar.gz
nkf-1.4, Network Kanji code conversion Filter
Diffstat (limited to 'japanese/nkf')
-rw-r--r--japanese/nkf/Makefile31
-rw-r--r--japanese/nkf/distinfo3
-rw-r--r--japanese/nkf/pkg-comment1
-rw-r--r--japanese/nkf/pkg-descr15
-rw-r--r--japanese/nkf/pkg-plist5
5 files changed, 55 insertions, 0 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile
new file mode 100644
index 0000000..441e62b
--- /dev/null
+++ b/japanese/nkf/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: nkf
+# Version required: 1.4 + patches
+# Date created: 5 February 1995
+# Whom: asami
+#
+# $Id: Makefile,v 1.4 1994/11/25 18:20:48 asami Exp $
+#
+
+DISTNAME= nkf-1.4
+MASTER_SITES= ftp://utsun.s.u-tokyo.ac.jp/fj/nkf/
+DISTFILES= nkf-1.4.tar.gz nkf-patches.tar.gz nkf-speedup-patch.gz
+EXTRACT_ONLY= nkf-1.4.tar.gz
+WRKSRC= ${WRKDIR}/nkf
+
+pre-patch: ${PATCH_COOKIE}
+ @echo "===> Applying unofficial patches for ${DISTNAME}"
+ @(mkdir ${WRKDIR}/patches)
+ @(tar -C ${WRKDIR}/patches -xzf ${DISTDIR}/nkf-patches.tar.gz)
+ @(cd ${WRKSRC}; \
+ for i in 1 2 3; do \
+ patch -s nkf.c < ${WRKDIR}/patches/patch$$i; \
+ done; \
+ for i in 4 5; do \
+ patch -s < ${WRKDIR}/patches/patch$$i; \
+ done; \
+ zcat ${DISTDIR}/nkf-speedup-patch.gz | patch -s; \
+ )
+ @echo "===> Installing custom Makefile for ${DISTNAME}"
+ @(cp ${FILESDIR}/Makefile ${WRKSRC})
+
+.include <bsd.port.mk>
diff --git a/japanese/nkf/distinfo b/japanese/nkf/distinfo
new file mode 100644
index 0000000..4db6f1b
--- /dev/null
+++ b/japanese/nkf/distinfo
@@ -0,0 +1,3 @@
+MD5 (nkf-1.4.tar.gz) = 502f058f92999c5783f19ae3583f793c
+MD5 (nkf-patches.tar.gz) = 2dcb866ad3dfa20996c2337c1a36a891
+MD5 (nkf-speedup-patch.gz) = f25d1e7ae508ab59bec786bc7c28fe95
diff --git a/japanese/nkf/pkg-comment b/japanese/nkf/pkg-comment
new file mode 100644
index 0000000..b4650ff
--- /dev/null
+++ b/japanese/nkf/pkg-comment
@@ -0,0 +1 @@
+nkf-1.4, Network Kanji code conversion Filter
diff --git a/japanese/nkf/pkg-descr b/japanese/nkf/pkg-descr
new file mode 100644
index 0000000..0947c29
--- /dev/null
+++ b/japanese/nkf/pkg-descr
@@ -0,0 +1,15 @@
+Nkf is a yet another kanji code converter among networks, hosts and
+terminals. It converts input kanji code to designated kanji code such
+as 7-bit JIS, shifted-JIS or EUC.
+
+One of the most unique facicility of nkf is the guess of the input
+kanji code. It currently recognizes 7-bit JIS, shifted-JIS and EUC.
+So users needn't the input kanji code specification.
+
+The original author is Itaru Ichikawa (ichikawa@flab.fujitsu.co.jp).
+This port for FreeBSD includes patches posted to fj.sources by
+Kusakabe Youichi (void@merope.pleiades.or.jp) and NIDE Naoyuki
+(nide@ics.nara-wu.ac.jp).
+
+- Satoshi
+(asami@cs.berkeley.edu)
diff --git a/japanese/nkf/pkg-plist b/japanese/nkf/pkg-plist
new file mode 100644
index 0000000..09186f8
--- /dev/null
+++ b/japanese/nkf/pkg-plist
@@ -0,0 +1,5 @@
+@cwd /usr/local
+@mode 755
+bin/nkf
+@mode 644
+man/man1/nkf.1.gz
OpenPOWER on IntegriCloud