aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-10-13 18:06:46 +0800
committermat <mat@FreeBSD.org>2003-10-13 18:06:46 +0800
commitdbd862a9b8080f9f46f3e68aa259c9b94bb05e70 (patch)
tree925851203e4cbaa72f77fca02ec7582889c0ad85
parentadef20491011829142360509d906a0dad112c495 (diff)
downloadfreebsd-ports-gnome-dbd862a9b8080f9f46f3e68aa259c9b94bb05e70.tar.gz
freebsd-ports-gnome-dbd862a9b8080f9f46f3e68aa259c9b94bb05e70.tar.zst
freebsd-ports-gnome-dbd862a9b8080f9f46f3e68aa259c9b94bb05e70.zip
Add p5-Lingua-ZH-Keywords 0.04
Chinese Keywords Extraction via Lingua::ZH::TaBE. PR: 57840 Submitted by: clsung@dragon2.net
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Lingua-ZH-Keywords/Makefile25
-rw-r--r--chinese/p5-Lingua-ZH-Keywords/distinfo1
-rw-r--r--chinese/p5-Lingua-ZH-Keywords/pkg-descr2
-rw-r--r--chinese/p5-Lingua-ZH-Keywords/pkg-plist7
5 files changed, 36 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index c76b281f835f..15bbda625cae 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -79,6 +79,7 @@
SUBDIR += oxford
SUBDIR += p5-Date-Chinese
SUBDIR += p5-Encode-HanConvert
+ SUBDIR += p5-Lingua-ZH-Keywords
SUBDIR += p5-Lingua-ZH-Numbers
SUBDIR += p5-Lingua-ZH-TaBE
SUBDIR += pine4
diff --git a/chinese/p5-Lingua-ZH-Keywords/Makefile b/chinese/p5-Lingua-ZH-Keywords/Makefile
new file mode 100644
index 000000000000..7405c3ae7bab
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Keywords/Makefile
@@ -0,0 +1,25 @@
+# ex:ts=8
+# Ports collection makefile for: p5-Lingua-ZH-Keywords
+# Date Created: Oct 10, 2003
+# Whom: clsung
+#
+# $FreeBSD$
+
+PORTNAME= Lingua-ZH-Keywords
+PORTVERSION= 0.04
+CATEGORIES= chinese perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Chinese Keywords Extraction via Lingua::ZH::TaBE
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Lingua/ZH/TaBE.pm:${PORTSDIR}/chinese/p5-Lingua-ZH-TaBE
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::ZH::Keywords.3
+
+.include <bsd.port.mk>
diff --git a/chinese/p5-Lingua-ZH-Keywords/distinfo b/chinese/p5-Lingua-ZH-Keywords/distinfo
new file mode 100644
index 000000000000..b42db11c8c8b
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Keywords/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-ZH-Keywords-0.04.tar.gz) = cbd38566020cdcbcd4cffc730c91234f
diff --git a/chinese/p5-Lingua-ZH-Keywords/pkg-descr b/chinese/p5-Lingua-ZH-Keywords/pkg-descr
new file mode 100644
index 000000000000..1e08296c1c03
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Keywords/pkg-descr
@@ -0,0 +1,2 @@
+This module extracts keywords from Chinese text,
+which requires Lingua::ZH::TaBE.
diff --git a/chinese/p5-Lingua-ZH-Keywords/pkg-plist b/chinese/p5-Lingua-ZH-Keywords/pkg-plist
new file mode 100644
index 000000000000..e156f7b0c4d5
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Keywords/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Lingua/ZH/Keywords.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Keywords/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Keywords
+@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
+@unexec rmdir %D/%%SITE_PERL%%/Lingua/ZH 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Lingua 2>/dev/null || true