summaryrefslogtreecommitdiff
path: root/chinese/p5-Lingua-ZH-TaBE/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-01-15 08:20:51 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-01-15 08:20:51 +0000
commit59336fe39cef4e06b739e9f918a21c8796bf7a11 (patch)
treeb0bbc36f0e374dd7911a11d6300d6ca68d57d356 /chinese/p5-Lingua-ZH-TaBE/Makefile
parentadd drumpiler 0.9.0 (diff)
- 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 '')
-rw-r--r--chinese/p5-Lingua-ZH-TaBE/Makefile26
1 files changed, 21 insertions, 5 deletions
diff --git a/chinese/p5-Lingua-ZH-TaBE/Makefile b/chinese/p5-Lingua-ZH-TaBE/Makefile
index a45d51674396..a656a44d7601 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>