diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-05-09 07:24:49 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-05-09 07:24:49 +0000 |
commit | 1dd150fe491b273bd9cc45c7a5cc6a5ae9cb294d (patch) | |
tree | 8cd1f9164f4e89452b5afad17adcd96ca3874e9a | |
parent | d6125b5a25c0f72052428fe20bc6c4727718624a (diff) | |
download | ports-1dd150fe491b273bd9cc45c7a5cc6a5ae9cb294d.tar.gz ports-1dd150fe491b273bd9cc45c7a5cc6a5ae9cb294d.zip |
Notes
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/p5-cconv/Makefile | 25 | ||||
-rw-r--r-- | chinese/p5-cconv/distinfo | 2 | ||||
-rw-r--r-- | chinese/p5-cconv/pkg-descr | 15 | ||||
-rw-r--r-- | chinese/p5-cconv/pkg-plist | 6 |
5 files changed, 49 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index b5226953f03a..1eadc9de4f54 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -102,6 +102,7 @@ SUBDIR += p5-Lingua-ZH-WordSegmenter SUBDIR += p5-Lingua-ZH-Wrap SUBDIR += p5-Text-Greeking-zh_TW + SUBDIR += p5-cconv SUBDIR += pcmanx SUBDIR += phpbb-tw SUBDIR += phpbb3-tw diff --git a/chinese/p5-cconv/Makefile b/chinese/p5-cconv/Makefile new file mode 100644 index 000000000000..3a847508a4e4 --- /dev/null +++ b/chinese/p5-cconv/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-cconv +# Date created: 2011-04-28 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= cconv +PORTVERSION= 0.6.1 +CATEGORIES= chinese converters perl5 +MASTER_SITES= GOOGLE_CODE +PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-perl-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Perl wrapper for chinese/cconv + +LIB_DEPENDS= cconv.0:${PORTSDIR}/chinese/cconv + +CFLAGS+= -I${LOCALBASE}/include +PERL_CONFIGURE= yes + +MAN3= ${PORTNAME}.3 + +.include <bsd.port.mk> diff --git a/chinese/p5-cconv/distinfo b/chinese/p5-cconv/distinfo new file mode 100644 index 000000000000..8980e7546d14 --- /dev/null +++ b/chinese/p5-cconv/distinfo @@ -0,0 +1,2 @@ +SHA256 (cconv-perl-0.6.1.tar.gz) = 8a4ddca5ff6e01cdc9f8362508f3c8757bcc2abd020be87703fdd7e6cc2a9a03 +SIZE (cconv-perl-0.6.1.tar.gz) = 43081 diff --git a/chinese/p5-cconv/pkg-descr b/chinese/p5-cconv/pkg-descr new file mode 100644 index 000000000000..9f98faff5215 --- /dev/null +++ b/chinese/p5-cconv/pkg-descr @@ -0,0 +1,15 @@ +This port is the Perl wrapper of cconv (chinese/cconv). + +cconv (pronunciation: see-conv) is an iconv-based Simplified-Traditional Chinese +conversion tool. It is NOT only a transcoding program, but also a TRANSLATE tool +between Simplified Chinese and Traditional Chinese. + +We stand on the shoulders of giants. cconv source code is based on iconv, an +excellent program which converts text from one encoding to another. + +Features: +- iconv-like usage. +- language-level Simplified-Traditional Chinese conversion. +- idioms can be translated. + +WWW: http://code.google.com/p/cconv/ diff --git a/chinese/p5-cconv/pkg-plist b/chinese/p5-cconv/pkg-plist new file mode 100644 index 000000000000..2392ae0e7e1b --- /dev/null +++ b/chinese/p5-cconv/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/cconv.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/cconv/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/cconv/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/cconv/cconv.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/cconv/cconv.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/cconv |