From c82dc46961049d286756b5ef33638803effabdc3 Mon Sep 17 00:00:00 2001
From: Yen-Ming Lee <leeym@FreeBSD.org>
Date: Sun, 10 Nov 2002 18:52:49 +0000
Subject: minor fixes: 1. add IGNOREFILES 2. make index in post-build phase 3.
 correct pkg-comment / pkg-descr

Reviewed by:	ijliao (mentor)
Approved by:	ijliao (mentor)
---
 chinese/cdict5/Makefile    |  6 ++++--
 chinese/cdict5/pkg-comment |  2 +-
 chinese/cdict5/pkg-descr   | 24 +++++++++---------------
 3 files changed, 14 insertions(+), 18 deletions(-)

(limited to 'chinese')

diff --git a/chinese/cdict5/Makefile b/chinese/cdict5/Makefile
index e10be950b069..b2331596519f 100644
--- a/chinese/cdict5/Makefile
+++ b/chinese/cdict5/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	ijliao
 DISTFILES=	cdict5.tgz cdict5-file.tgz
 EXTRACT_ONLY=	cdict5.tgz
+IGNOREFILES=	cdict5-file.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -31,13 +32,14 @@ ALL_TARGET=	# empty
 post-patch:
 	@${REINPLACE_CMD} -e "s|/usr/local/lib/cdict5|${DATADIR}|" ${WRKSRC}/cdict5.h
 
+post-build:
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} index
+
 do-install:
 	@${MKDIR} ${DATADIR}
 	${TAR} -zxf ${DISTDIR}/cdict5-file.tgz -C ${DATADIR} && \
 		${MV} ${DATADIR}/cdict5-file/* ${DATADIR} && \
 		${RMDIR} ${DATADIR}/cdict5-file
-	(cd ${WRKSRC} ; \
-	 ${SETENV} CFLAGS="${CFLAGS}" LOCALBASE="${LOCALBASE}" ${MAKE} index)
 	${INSTALL_PROGRAM} ${WRKSRC}/cdict5 ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/Index.gdbm ${DATADIR}
 
diff --git a/chinese/cdict5/pkg-comment b/chinese/cdict5/pkg-comment
index 63b0b8849e9c..8b558f49f593 100644
--- a/chinese/cdict5/pkg-comment
+++ b/chinese/cdict5/pkg-comment
@@ -1 +1 @@
-Chinese-English dictionary
+Chinese-English / English-Chinese dictionary
diff --git a/chinese/cdict5/pkg-descr b/chinese/cdict5/pkg-descr
index 41dc62eabe48..a38804ac6a9a 100644
--- a/chinese/cdict5/pkg-descr
+++ b/chinese/cdict5/pkg-descr
@@ -1,15 +1,9 @@
-A paginator similar to "more" or "pg", but much more powerful and
-speaks Chinese.
-
-Cless is a port of GNU's less version 290 that suports the display of files
-written in the Chinese language using the GB (simple) or Big5 (complex)
-encodings.  You can switch to reading of normal ASCII text by setting the
-environment LESSCHARSET to 'ascii'.
-
-Also, the help can be displayed in either Simple Chinese, Complex Chinese,
-or English by setting the LESSHELP environmental variable to the correct
-helpfile.  Cless should be run w/in a CXterm or simular terminal emulator
-supporting Chinese language encodings.
-
-David O'Brien
-obrien@cs.ucdavis.edu
+Chinese-English / English-Chinese dictionary
+- suppoer 21 Century Dictionary v5.0
+- Chinese-English / English-Chinese query
+- English-Chinese support wild card query and shell globbing
+- Chinese-English support prefix query
+- can query by different spelling
+- support ANSI color
+- interactive mode support doskey function
+- support ET2000 English-Chinese dictionary (not fully tested)
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0