diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2007-07-24 06:02:40 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2007-07-24 06:02:40 +0000 |
commit | 010e306fa7f51ca0fa702e82d02cd8f85804b6d0 (patch) | |
tree | 31bc96f1824a4644182b1800733b0e76d01ae5a7 /converters | |
parent | 7df9bc1cfb90bf0bc64ad1bc728f9a12975dcbf7 (diff) | |
download | ports-010e306fa7f51ca0fa702e82d02cd8f85804b6d0.tar.gz ports-010e306fa7f51ca0fa702e82d02cd8f85804b6d0.zip |
Add cocot, a code converter on TTY. It transparently filters
characters on a TTY converting from one encoding to another.
Notes
Notes:
svn path=/head/; revision=196162
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/cocot/Makefile | 37 | ||||
-rw-r--r-- | converters/cocot/distinfo | 3 | ||||
-rw-r--r-- | converters/cocot/pkg-descr | 8 | ||||
-rw-r--r-- | converters/cocot/pkg-plist | 7 |
5 files changed, 56 insertions, 0 deletions
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 <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%% |