aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Lingua-ZH-Numbers/Makefile23
-rw-r--r--chinese/p5-Lingua-ZH-Numbers/distinfo1
-rw-r--r--chinese/p5-Lingua-ZH-Numbers/pkg-comment1
-rw-r--r--chinese/p5-Lingua-ZH-Numbers/pkg-descr5
-rw-r--r--chinese/p5-Lingua-ZH-Numbers/pkg-plist9
6 files changed, 40 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 5922d64af0bd..20ef5425e2ae 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -72,6 +72,7 @@
SUBDIR += openoffice-zh_CN
SUBDIR += openoffice-zh_TW
SUBDIR += p5-Date-Chinese
+ SUBDIR += p5-Lingua-ZH-Numbers
SUBDIR += p5-Lingua-ZH-TaBE
SUBDIR += pine4
SUBDIR += pyDict
diff --git a/chinese/p5-Lingua-ZH-Numbers/Makefile b/chinese/p5-Lingua-ZH-Numbers/Makefile
new file mode 100644
index 000000000000..9ac9bb5ac67b
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Numbers/Makefile
@@ -0,0 +1,23 @@
+# ex:ts=8
+# Ports collection makefile for: p5-Lingua-ZH-Numbers
+# Date Created: Jan 22, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-ZH-Numbers
+PORTVERSION= 0.03
+CATEGORIES= chinese perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Lingua::ZH::Numbers.3 Lingua::ZH::Numbers::Currency.3
+
+.include <bsd.port.mk>
diff --git a/chinese/p5-Lingua-ZH-Numbers/distinfo b/chinese/p5-Lingua-ZH-Numbers/distinfo
new file mode 100644
index 000000000000..22bdb7328dea
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Numbers/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-ZH-Numbers-0.03.tar.gz) = 8e2f702bd172d96ee7f91384a9d41bc4
diff --git a/chinese/p5-Lingua-ZH-Numbers/pkg-comment b/chinese/p5-Lingua-ZH-Numbers/pkg-comment
new file mode 100644
index 000000000000..62e0040ad809
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Numbers/pkg-comment
@@ -0,0 +1 @@
+Converts numeric values into their Chinese string equivalents
diff --git a/chinese/p5-Lingua-ZH-Numbers/pkg-descr b/chinese/p5-Lingua-ZH-Numbers/pkg-descr
new file mode 100644
index 000000000000..8564d975d5c9
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Numbers/pkg-descr
@@ -0,0 +1,5 @@
+This module tries to convert a number into Chinese cardinal number. It
+supports decimals number, and five representation systems (charsets):
+traditional, simplified, big5, gb and pinyin. The first two are returned
+as unicode strings; hence they are only available for Perl 5.6 and later
+versions.
diff --git a/chinese/p5-Lingua-ZH-Numbers/pkg-plist b/chinese/p5-Lingua-ZH-Numbers/pkg-plist
new file mode 100644
index 000000000000..3835ca95560a
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Numbers/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Lingua/ZH/Numbers.pm
+%%SITE_PERL%%/Lingua/ZH/Numbers/Currency.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Numbers/.packlist
+@dirrm %%SITE_PERL%%/Lingua/ZH/Numbers
+@dirrm %%SITE_PERL%%/Lingua/ZH
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Numbers
+@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true