aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/p5-Lingua-ZH-TaBE/Makefile
blob: 8cb1753c0847b6076abfb3988a6129e2010eba1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ex:ts=8
# Ports collection makefile for:    p5-Lingua-ZH-TaBE
# Date Created:         Jan 22, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   Lingua-ZH-TaBE
PORTVERSION=    0.07
PORTREVISION=   1
CATEGORIES= chinese perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Chinese processing via libtabe

LIB_DEPENDS=    tabe.3:${PORTSDIR}/chinese/libtabe

PERL_CONFIGURE= yes

USE_BDB=    yes
OBSOLETE_BDB_VAR=   WITH_DB

CONFIGURE_ARGS= DB="${BDB_LIB_NAME}"

MAN3=       Lingua::ZH::TaBE.3

pre-everything::
    @${ECHO_CMD} ""
    @${ECHO_CMD} "You may specify db version to use:"
    @${ECHO_CMD} ""
    @${ECHO_CMD} "  WITH_BDB_VER=version    (Default 41)"
.if defined(WITH_BDB_VER)
    @${ECHO_CMD} ""
    @${ECHO_CMD} "WARNING:"
    @${ECHO_CMD} "  You have defined WITH_BDB_VER. Make sure you use the same"
    @${ECHO_CMD} "  db version that libtabe uses. Otherwise, this port may"
    @${ECHO_CMD} "  not work correctly."
.endif
    @${ECHO_CMD} ""

.include <bsd.port.mk>