aboutsummaryrefslogtreecommitdiffstats
path: root/converters/cocot
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2007-07-24 14:02:40 +0800
committerknu <knu@FreeBSD.org>2007-07-24 14:02:40 +0800
commitdf541a340995ecc6c33d392513401b1e6ed8980b (patch)
treec768ec13509a22c5d1e127cdc8d46821bf079e9a /converters/cocot
parent4f080d74987d9964fae4f6673b932179f74d9b3b (diff)
downloadfreebsd-ports-gnome-df541a340995ecc6c33d392513401b1e6ed8980b.tar.gz
freebsd-ports-gnome-df541a340995ecc6c33d392513401b1e6ed8980b.tar.zst
freebsd-ports-gnome-df541a340995ecc6c33d392513401b1e6ed8980b.zip
Add cocot, a code converter on TTY. It transparently filters
characters on a TTY converting from one encoding to another.
Diffstat (limited to 'converters/cocot')
-rw-r--r--converters/cocot/Makefile37
-rw-r--r--converters/cocot/distinfo3
-rw-r--r--converters/cocot/pkg-descr8
-rw-r--r--converters/cocot/pkg-plist7
4 files changed, 55 insertions, 0 deletions
diff --git a/converters/cocot/Makefile b/converters/cocot/Makefile
new file mode 100644
index 000000000000..f95fdeb54af2
--- /dev/null
+++ b/converters/cocot/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: cocot
+# Date created: 24 July 2007
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cocot
+PORTVERSION= 20041220
+CATEGORIES= converters
+MASTER_SITES= http://iwa.ath.cx/software/cygwin/
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= Code Converter on TTY
+
+USE_BZIP2= yes
+USE_ICONV= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
+
+DOCS_EN= COPYING ChangeLog
+DOCS_JA= ChangeLog.ja README.ja
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/converters/cocot/distinfo b/converters/cocot/distinfo
new file mode 100644
index 000000000000..684c27c01fa1
--- /dev/null
+++ b/converters/cocot/distinfo
@@ -0,0 +1,3 @@
+MD5 (cocot-20041220.tar.bz2) = 25f40806da5f822c92b7e2cfcf393bcd
+SHA256 (cocot-20041220.tar.bz2) = 9adf7239e37f953bffa12c5baf9520fb120d23e17cbbe26446ae607693c21750
+SIZE (cocot-20041220.tar.bz2) = 78411
diff --git a/converters/cocot/pkg-descr b/converters/cocot/pkg-descr
new file mode 100644
index 000000000000..c4d511330b79
--- /dev/null
+++ b/converters/cocot/pkg-descr
@@ -0,0 +1,8 @@
+This is a code converter on TTY. It transparently filters a TTY
+converting characters from one encoding to another.
+
+e.g.
+ $ cocot -p euc-jp -t utf-8 screen -xRR wb
+
+WWW: http://iwa.ath.cx/software/cygwin/cocot.html
+Author: IWAMURO Motonori <iwa[at]deenheart[dot]org>>
diff --git a/converters/cocot/pkg-plist b/converters/cocot/pkg-plist
new file mode 100644
index 000000000000..9eceff6ebe7f
--- /dev/null
+++ b/converters/cocot/pkg-plist
@@ -0,0 +1,7 @@
+bin/cocot
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/ja/ChangeLog.ja
+%%PORTDOCS%%%%DOCSDIR%%/ja/README.ja
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/ja
+%%PORTDOCS%%@dirrm %%DOCSDIR%%