freebsd-ports/chinese/p5-Lingua-ZH-TaBE/Makefile
Rong-En Fan f18cba1ba7 - Chase chiense/libtabe 0.2.6
- Add warning messages when WITH_BDB_VER is defined
- s/ECHO/ECHO_CMD/

PR:		ports/97960
Submitted by:	rafan (me)
Approved by:	clsung (maintainer)
2006-07-19 15:34:19 +00:00

46 lines
998 B
Makefile

# 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>