aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-02-04 23:43:39 +0800
committersat <sat@FreeBSD.org>2007-02-04 23:43:39 +0800
commitf07af1162b4d24ae9ad0c4e7984358ee92483822 (patch)
tree9f0fdda29918782f65b31f53849c2d5ecd710592 /japanese
parent413a180398bd24dde93a5c6ce1a6584cb891b55a (diff)
downloadfreebsd-ports-gnome-f07af1162b4d24ae9ad0c4e7984358ee92483822.tar.gz
freebsd-ports-gnome-f07af1162b4d24ae9ad0c4e7984358ee92483822.tar.zst
freebsd-ports-gnome-f07af1162b4d24ae9ad0c4e7984358ee92483822.zip
Add port japanese/japana:
Japana is a small proxy written in Perl. It converts Hiragana, Katakana and Kanji on the fly into Romaji. The conversion is done using the kakasi-library for Perl. WWW: http://www.cgarbs.de/japana.en.html Author: Christian Garbs <mitch@cgarbs.de>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/japana/Makefile31
-rw-r--r--japanese/japana/distinfo3
-rw-r--r--japanese/japana/pkg-descr6
4 files changed, 41 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index cbfbba35d089..b666c861f817 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -108,6 +108,7 @@
SUBDIR += ircII
SUBDIR += ja6
SUBDIR += jadetex-ptex
+ SUBDIR += japana
SUBDIR += japaneseAFM
SUBDIR += jargon-fpw
SUBDIR += jcode.pl
diff --git a/japanese/japana/Makefile b/japanese/japana/Makefile
new file mode 100644
index 000000000000..7b3cfc61cc2b
--- /dev/null
+++ b/japanese/japana/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: japana
+# Date created: 04 February 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= japana
+PORTVERSION= 2.0.6
+CATEGORIES= japanese www
+MASTER_SITES= SF
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Web proxy converting Japanese into Romaji
+
+RUN_DEPENDS= *p5-Text-Kakasi>=2:${PORTSDIR}/japanese/p5-Text-Kakasi \
+ p5-AppConfig>=0:${PORTSDIR}/devel/p5-AppConfig \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+
+MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.default
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${PORTNAME}* ${WRKSRC}/default.conf
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
+ @${INSTALL_DATA} ${WRKSRC}/default.conf ${PREFIX}/etc/${PORTNAME}.conf.default
+
+.include <bsd.port.mk>
diff --git a/japanese/japana/distinfo b/japanese/japana/distinfo
new file mode 100644
index 000000000000..cb606e7f0596
--- /dev/null
+++ b/japanese/japana/distinfo
@@ -0,0 +1,3 @@
+MD5 (japana-2.0.6.tar.gz) = 6ff71843b2ece934af9b8f2379c6fb7d
+SHA256 (japana-2.0.6.tar.gz) = f331823e335aab1adc6152fdb682ce03951d094d12dd0f2d5841772c768b86a7
+SIZE (japana-2.0.6.tar.gz) = 20173
diff --git a/japanese/japana/pkg-descr b/japanese/japana/pkg-descr
new file mode 100644
index 000000000000..603a42a00147
--- /dev/null
+++ b/japanese/japana/pkg-descr
@@ -0,0 +1,6 @@
+Japana is a small proxy written in Perl. It converts Hiragana, Katakana
+and Kanji on the fly into Romaji. The conversion is done using the
+kakasi-library for Perl.
+
+WWW: http://www.cgarbs.de/japana.en.html
+Author: Christian Garbs <mitch@cgarbs.de>