1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/chinese/p5-Lingua-ZH-TaBE/Makefile
Mathieu Arnold f037e39601 USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
2016-08-08 13:46:50 +00:00

38 lines
826 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= Lingua-ZH-TaBE
PORTVERSION= 0.07
PORTREVISION= 5
CATEGORIES= chinese perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Chinese processing via libtabe
LIB_DEPENDS= libtabe.so:chinese/libtabe
USES= bdb perl5
USE_PERL5= configure
OBSOLETE_BDB_VAR= WITH_DB
CONFIGURE_ARGS= DB="${BDB_LIB_NAME}"
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>