From 010e306fa7f51ca0fa702e82d02cd8f85804b6d0 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 24 Jul 2007 06:02:40 +0000 Subject: Add cocot, a code converter on TTY. It transparently filters characters on a TTY converting from one encoding to another. --- converters/Makefile | 1 + converters/cocot/Makefile | 37 +++++++++++++++++++++++++++++++++++++ converters/cocot/distinfo | 3 +++ converters/cocot/pkg-descr | 8 ++++++++ converters/cocot/pkg-plist | 7 +++++++ 5 files changed, 56 insertions(+) create mode 100644 converters/cocot/Makefile create mode 100644 converters/cocot/distinfo create mode 100644 converters/cocot/pkg-descr create mode 100644 converters/cocot/pkg-plist (limited to 'converters') diff --git a/converters/Makefile b/converters/Makefile index 02a2b706c73a..754309a629ad 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -10,6 +10,7 @@ SUBDIR += btoa SUBDIR += chmview SUBDIR += cmios9 + SUBDIR += cocot SUBDIR += convmv SUBDIR += dosunix SUBDIR += dumpasn1 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 +# +# $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 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 > 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%% -- cgit v1.2.3