aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2002-11-11 02:52:49 +0800
committerYen-Ming Lee <leeym@FreeBSD.org>2002-11-11 02:52:49 +0800
commitc82dc46961049d286756b5ef33638803effabdc3 (patch)
tree6ca03562183d7aee3b8f6df100df34fad5bdeb0e /chinese
parent2ec64c62bbc6b194949221da811a52caa850f838 (diff)
downloadfreebsd-ports-c82dc46961049d286756b5ef33638803effabdc3.tar.gz
freebsd-ports-c82dc46961049d286756b5ef33638803effabdc3.tar.zst
freebsd-ports-c82dc46961049d286756b5ef33638803effabdc3.zip
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)
Notes
Notes: svn path=/head/; revision=69832
Diffstat (limited to 'chinese')
-rw-r--r--chinese/cdict5/Makefile6
-rw-r--r--chinese/cdict5/pkg-comment2
-rw-r--r--chinese/cdict5/pkg-descr24
3 files changed, 14 insertions, 18 deletions
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)