aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-10-26 22:28:42 +0800
committerknu <knu@FreeBSD.org>2004-10-26 22:28:42 +0800
commita98e0ae69ad2b373189f899add57a362af080372 (patch)
tree8377ea126864f60a1dabc99f045bc68f6ad4a18a
parent7bd1f09c0bb4741e204bc7334c0f265bfea58262 (diff)
downloadfreebsd-ports-gnome-a98e0ae69ad2b373189f899add57a362af080372.tar.gz
freebsd-ports-gnome-a98e0ae69ad2b373189f899add57a362af080372.tar.zst
freebsd-ports-gnome-a98e0ae69ad2b373189f899add57a362af080372.zip
Add ja-kcode, a handy utility to show codepoint information of given
characters.
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/kcode/Makefile46
-rw-r--r--japanese/kcode/distinfo2
-rw-r--r--japanese/kcode/pkg-descr5
-rw-r--r--japanese/kcode/pkg-plist1
5 files changed, 55 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index b9a93f3c833f..dde8f82461b1 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -149,6 +149,7 @@
SUBDIR += kappa20
SUBDIR += kbanner
SUBDIR += kcc
+ SUBDIR += kcode
SUBDIR += kde3-i18n
SUBDIR += kdrill
SUBDIR += kinput2-canna
diff --git a/japanese/kcode/Makefile b/japanese/kcode/Makefile
new file mode 100644
index 000000000000..cc153633d173
--- /dev/null
+++ b/japanese/kcode/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: kcode
+# Date created: 26 October 2004
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kcode
+PORTVERSION= 1.0
+CATEGORIES= japanese
+MASTER_SITES= http://www.irori.org/dl/tool/
+DISTFILES= ${PORTNAME}-${PORTVERSION}.gz
+EXTRACT_ONLY= ${DISTFILES}
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A handy utility to show codepoint information of given characters
+
+RUN_DEPENDS= ${_RUN_DEPENDS}
+
+USE_PERL= yes
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+MANLANG= ja
+MAN1= kcode.1
+MANCOMPRESSED= no
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= This port requires perl 5.6.0 or later
+.elif ${PERL_LEVEL} < 500800
+_RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
+.endif
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} > ${WRKSRC}/kcode
+ pod2man ${WRKSRC}/kcode ${WRKSRC}/kcode.1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/kcode ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/kcode.1 ${MAN1PREFIX}/man/ja/man1/
+
+.include <bsd.port.post.mk>
diff --git a/japanese/kcode/distinfo b/japanese/kcode/distinfo
new file mode 100644
index 000000000000..71791306b18a
--- /dev/null
+++ b/japanese/kcode/distinfo
@@ -0,0 +1,2 @@
+MD5 (kcode-1.0.gz) = 5ac5325d6683080596079941d5718615
+SIZE (kcode-1.0.gz) = 2492
diff --git a/japanese/kcode/pkg-descr b/japanese/kcode/pkg-descr
new file mode 100644
index 000000000000..13bc5941f9fb
--- /dev/null
+++ b/japanese/kcode/pkg-descr
@@ -0,0 +1,5 @@
+kcode is a handy utility to show codepoint information of given
+characters.
+
+WWW: http://www.irori.org/tool/kcode.html
+Author: HIROSE, Masaaki <hirose31 -at- irori -dot- org>
diff --git a/japanese/kcode/pkg-plist b/japanese/kcode/pkg-plist
new file mode 100644
index 000000000000..cd4cf5adbb4a
--- /dev/null
+++ b/japanese/kcode/pkg-plist
@@ -0,0 +1 @@
+bin/kcode