summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-10-13 13:19:36 +0000
committermat <mat@FreeBSD.org>2003-10-13 13:19:36 +0000
commite00e7918650173d53cc85b5d8b543d84ed908f04 (patch)
tree0d36e0f02067b444541c1cc8b4d40c83e7df0cd7
parent64ea4def00a23b13459b73d0ea9f55795772c8b7 (diff)
downloadFreeBSD-ports-e00e7918650173d53cc85b5d8b543d84ed908f04.zip
FreeBSD-ports-e00e7918650173d53cc85b5d8b543d84ed908f04.tar.gz
Add p5-Lingua-ZH-Summarize 0.01, chinese Text Summarization.
PR: 57841 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/p5-Lingua-ZH-Summarize/Makefile33
-rw-r--r--chinese/p5-Lingua-ZH-Summarize/distinfo1
-rw-r--r--chinese/p5-Lingua-ZH-Summarize/pkg-descr1
-rw-r--r--chinese/p5-Lingua-ZH-Summarize/pkg-plist7
5 files changed, 43 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index 84584cd..b1cdc397 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -81,6 +81,7 @@
SUBDIR += p5-Encode-HanConvert
SUBDIR += p5-Lingua-ZH-Keywords
SUBDIR += p5-Lingua-ZH-Numbers
+ SUBDIR += p5-Lingua-ZH-Summarize
SUBDIR += p5-Lingua-ZH-TaBE
SUBDIR += p5-Lingua-ZH-Toke
SUBDIR += p5-Lingua-ZH-Wrap
diff --git a/chinese/p5-Lingua-ZH-Summarize/Makefile b/chinese/p5-Lingua-ZH-Summarize/Makefile
new file mode 100644
index 0000000..7fc0344
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Summarize/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+# Ports collection makefile for: p5-Lingua-ZH-Summarize
+# Date Created: Oct 10, 2003
+# Whom: clsung
+#
+# $FreeBSD$
+
+PORTNAME= Lingua-ZH-Summarize
+PORTVERSION= 0.01
+CATEGORIES= chinese perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Chinese Text Summarization
+
+BUILD_DEPENDS= ${SITE_PERL}/Lingua/ZH/Toke.pm:${PORTSDIR}/chinese/p5-Lingua-ZH-Toke \
+ ${SITE_PERL}/Lingua/ZH/Wrap.pm:${PORTSDIR}/chinese/p5-Lingua-ZH-Wrap
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::ZH::Summarize.3
+
+.include <bsd.port.pre.mk>
+
+# chinese/p5-Lingua-ZH-Toke needs 5.6.x
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/chinese/p5-Lingua-ZH-Summarize/distinfo b/chinese/p5-Lingua-ZH-Summarize/distinfo
new file mode 100644
index 0000000..3cd2503
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Summarize/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-ZH-Summarize-0.01.tar.gz) = 2616c8d4285dc134604515c759cf235d
diff --git a/chinese/p5-Lingua-ZH-Summarize/pkg-descr b/chinese/p5-Lingua-ZH-Summarize/pkg-descr
new file mode 100644
index 0000000..af3e855
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Summarize/pkg-descr
@@ -0,0 +1 @@
+This module generate summarization from Chinese article.
diff --git a/chinese/p5-Lingua-ZH-Summarize/pkg-plist b/chinese/p5-Lingua-ZH-Summarize/pkg-plist
new file mode 100644
index 0000000..4647abe
--- /dev/null
+++ b/chinese/p5-Lingua-ZH-Summarize/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Lingua/ZH/Summarize.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Summarize/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/Summarize
+@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
OpenPOWER on IntegriCloud