aboutsummaryrefslogtreecommitdiff
path: root/chinese/p5-Lingua-Han-Utils
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/p5-Lingua-Han-Utils')
-rw-r--r--chinese/p5-Lingua-Han-Utils/Makefile33
-rw-r--r--chinese/p5-Lingua-Han-Utils/distinfo3
-rw-r--r--chinese/p5-Lingua-Han-Utils/pkg-descr3
-rw-r--r--chinese/p5-Lingua-Han-Utils/pkg-plist8
4 files changed, 47 insertions, 0 deletions
diff --git a/chinese/p5-Lingua-Han-Utils/Makefile b/chinese/p5-Lingua-Han-Utils/Makefile
new file mode 100644
index 000000000000..c3f143201719
--- /dev/null
+++ b/chinese/p5-Lingua-Han-Utils/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-Lingua-Han-Utils
+# Date created: 2006-09-06
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-Han-Utils
+PORTVERSION= 0.05
+CATEGORIES= chinese perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= The utility tools of Chinese character(HanZi)
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::Han::Utils.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6.0 or newer. Install lang/perl5.8 and try again
+.endif
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode/Guess.pm:${PORTSDIR}/converters/p5-Encode
+BUILD_DEPENDS= ${RUN_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/chinese/p5-Lingua-Han-Utils/distinfo b/chinese/p5-Lingua-Han-Utils/distinfo
new file mode 100644
index 000000000000..0f1b29673e76
--- /dev/null
+++ b/chinese/p5-Lingua-Han-Utils/distinfo
@@ -0,0 +1,3 @@
+MD5 (Lingua-Han-Utils-0.05.tar.gz) = 278c6d84f597c1e4ee73c3f795087867
+SHA256 (Lingua-Han-Utils-0.05.tar.gz) = 06b1da456a21d72362ab9821043aed782981f176bac96a0a6b5439f26f290927
+SIZE (Lingua-Han-Utils-0.05.tar.gz) = 3976
diff --git a/chinese/p5-Lingua-Han-Utils/pkg-descr b/chinese/p5-Lingua-Han-Utils/pkg-descr
new file mode 100644
index 000000000000..c88eb6db0974
--- /dev/null
+++ b/chinese/p5-Lingua-Han-Utils/pkg-descr
@@ -0,0 +1,3 @@
+The utility tools of Chinese character(HanZi).
+
+WWW: http://search.cpan.org/dist/Lingua-Han-Utils/
diff --git a/chinese/p5-Lingua-Han-Utils/pkg-plist b/chinese/p5-Lingua-Han-Utils/pkg-plist
new file mode 100644
index 000000000000..f75136964ad4
--- /dev/null
+++ b/chinese/p5-Lingua-Han-Utils/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Han/Utils/.packlist
+%%SITE_PERL%%/Lingua/Han/Utils.pm
+@dirrmtry %%SITE_PERL%%/Lingua/Han
+@dirrmtry %%SITE_PERL%%/Lingua
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Han/Utils
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/Han
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua