aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/p5-Lingua-ZH-TaBE/Makefile
blob: 684ee439c22f79028295f173d061e2f9233b2701 (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
# 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=   2
CATEGORIES= chinese perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@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>