summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-19 15:34:19 +0000
committerrafan <rafan@FreeBSD.org>2006-07-19 15:34:19 +0000
commit177d171bca862fcc6e252d79fa64a2b342e15656 (patch)
tree2de75dffae72b436d701d1bc090bb8ba2c724b63 /chinese
parenta9c572b1387ba4f1dea20fc3ede774c264a4b97e (diff)
downloadFreeBSD-ports-177d171bca862fcc6e252d79fa64a2b342e15656.zip
FreeBSD-ports-177d171bca862fcc6e252d79fa64a2b342e15656.tar.gz
- 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)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/p5-Lingua-ZH-TaBE/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/chinese/p5-Lingua-ZH-TaBE/Makefile b/chinese/p5-Lingua-ZH-TaBE/Makefile
index 40aa8e2..8cb1753 100644
--- a/chinese/p5-Lingua-ZH-TaBE/Makefile
+++ b/chinese/p5-Lingua-ZH-TaBE/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Lingua-ZH-TaBE
PORTVERSION= 0.07
+PORTREVISION= 1
CATEGORIES= chinese perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Lingua
@@ -16,7 +17,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Chinese processing via libtabe
-LIB_DEPENDS= tabe.2:${PORTSDIR}/chinese/libtabe
+LIB_DEPENDS= tabe.3:${PORTSDIR}/chinese/libtabe
PERL_CONFIGURE= yes
@@ -27,11 +28,18 @@ CONFIGURE_ARGS= DB="${BDB_LIB_NAME}"
MAN3= Lingua::ZH::TaBE.3
-pre-fetch:
- @${ECHO} ""
- @${ECHO} "You may specify db version to use:"
- @${ECHO} ""
- @${ECHO} " WITH_DB_VER=version (Default 41)"
- @${ECHO} ""
+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>
OpenPOWER on IntegriCloud