summaryrefslogtreecommitdiffstats
path: root/chinese/cdict5
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2002-11-10 18:52:49 +0000
committerleeym <leeym@FreeBSD.org>2002-11-10 18:52:49 +0000
commitf633ec5922259e746645086476242de7b81564a9 (patch)
tree1286a6c57c27b7cc9822dca83edd2223b6f66b48 /chinese/cdict5
parentc3d6d3d27f74ea6e693796544beb44380f7fab6d (diff)
downloadFreeBSD-ports-f633ec5922259e746645086476242de7b81564a9.zip
FreeBSD-ports-f633ec5922259e746645086476242de7b81564a9.tar.gz
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)
Diffstat (limited to 'chinese/cdict5')
-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 e10be95..b233159 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 63b0b88..8b558f4 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 41dc62e..a38804a 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)
OpenPOWER on IntegriCloud