summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-01-15 08:20:51 +0000
committerleeym <leeym@FreeBSD.org>2004-01-15 08:20:51 +0000
commit101c6840d778cfe9fffa9cf9da61654f576c57f1 (patch)
tree4247dfd6af8d24cadfbb797300b7e37cf2e527f6 /chinese
parentacc38bba9f1e356047f43baeba05c3509b2c7b0f (diff)
downloadFreeBSD-ports-101c6840d778cfe9fffa9cf9da61654f576c57f1.zip
FreeBSD-ports-101c6840d778cfe9fffa9cf9da61654f576c57f1.tar.gz
- update to 0.04
- assign maintainership - Kuang-Che Wu (kcwu) reported that ->split() did not take a $method as advertised. PR: 61227 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/p5-Lingua-ZH-TaBE/Makefile26
-rw-r--r--chinese/p5-Lingua-ZH-TaBE/distinfo2
-rw-r--r--chinese/p5-Lingua-ZH-TaBE/pkg-descr4
-rw-r--r--chinese/p5-Lingua-ZH-TaBE/pkg-plist2
4 files changed, 27 insertions, 7 deletions
diff --git a/chinese/p5-Lingua-ZH-TaBE/Makefile b/chinese/p5-Lingua-ZH-TaBE/Makefile
index a45d516..a656a44 100644
--- a/chinese/p5-Lingua-ZH-TaBE/Makefile
+++ b/chinese/p5-Lingua-ZH-TaBE/Makefile
@@ -7,20 +7,36 @@
#
PORTNAME= Lingua-ZH-TaBE
-PORTVERSION= 0.03
+PORTVERSION= 0.04
CATEGORIES= chinese perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../by-authors/id/A/AU/AUTRIJUS
+MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= clsung@dragon2.net
COMMENT= Chinese processing via libtabe
LIB_DEPENDS= tabe.2:${PORTSDIR}/chinese/libtabe
PERL_CONFIGURE= yes
+WITH_DB?= db3
+CONFIGURE_ARGS= DB="${WITH_DB}"
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-MAN3= Lingua::ZH::TaBE.3
+.if ${WITH_DB} == "db2"
+LIB_DEPENDS+= db2.0:${PORTSDIR}/databases/db2
+.elif ${WITH_DB} == "db4"
+LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
+.else
+LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
+.endif
+
+MAN3= Lingua::ZH::TaBE.3
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may specify db version to use:"
+ @${ECHO} ""
+ @${ECHO} " WITH_DB=db_version (Default db3)."
+ @${ECHO} ""
.include <bsd.port.mk>
diff --git a/chinese/p5-Lingua-ZH-TaBE/distinfo b/chinese/p5-Lingua-ZH-TaBE/distinfo
index 04fd19a..03247c9 100644
--- a/chinese/p5-Lingua-ZH-TaBE/distinfo
+++ b/chinese/p5-Lingua-ZH-TaBE/distinfo
@@ -1 +1 @@
-MD5 (Lingua-ZH-TaBE-0.03.tar.gz) = dfe59b7b81b18e9b819fede0edb1be96
+MD5 (Lingua-ZH-TaBE-0.04.tar.gz) = c3f6d1963519f54ba4d362955701e670
diff --git a/chinese/p5-Lingua-ZH-TaBE/pkg-descr b/chinese/p5-Lingua-ZH-TaBE/pkg-descr
index cb915de..8e53634 100644
--- a/chinese/p5-Lingua-ZH-TaBE/pkg-descr
+++ b/chinese/p5-Lingua-ZH-TaBE/pkg-descr
@@ -2,3 +2,7 @@ This module is a Perl interface to the TaBE (Taiwan and Big5 Encoding)
library, an unified interface and library dealing with Chinese words,
phrases, sentences, and phonetic symbols; it is intended to be used as
the foundation of Chinese text processing.
+
+WWW: http://search.cpan.org/dist/Lingua-ZH-TaBE/
+
+Author: Autrijus <autrijus@autrijus.org>
diff --git a/chinese/p5-Lingua-ZH-TaBE/pkg-plist b/chinese/p5-Lingua-ZH-TaBE/pkg-plist
index 661f677..24f46af 100644
--- a/chinese/p5-Lingua-ZH-TaBE/pkg-plist
+++ b/chinese/p5-Lingua-ZH-TaBE/pkg-plist
@@ -2,8 +2,8 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/TaBE/TaBE.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/TaBE/TaBE.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/TaBE/.packlist
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Lingua/ZH
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH/TaBE
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/ZH
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Lingua/ZH 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Lingua 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
OpenPOWER on IntegriCloud