summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorshell <shell@pkgsrc.org>2002-06-15 09:54:02 +0000
committershell <shell@pkgsrc.org>2002-06-15 09:54:02 +0000
commitf874862518ba49a11791296a34df57e4cb6366a6 (patch)
tree4a1e8ecfbc6e7499948386bcbee2921d2e4fa12e /textproc
parentd0df9c6624f6fefc47e15a8a0fde58a4d6cc356f (diff)
downloadpkgsrc-f874862518ba49a11791296a34df57e4cb6366a6.tar.gz
Initial import of pyDict-0.2.5.1
(PR#16043 by Rui-Xiang Guo <rxg@ms25.url.com.tw>) Chinese <-> English dictionary, under both console and X11 --- pyDict is a Chinese(Big5) <-> English dictionary, written in Python. It can be used as a console app or X11 window(with -x option). The data is prepared by TurboLinux in simplified Chinese, then converted to traditional Chinese by CLE(Chinese Linux Extension) team.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pyDict/DESCR6
-rw-r--r--textproc/pyDict/Makefile32
-rw-r--r--textproc/pyDict/PLIST36
-rw-r--r--textproc/pyDict/distinfo4
4 files changed, 78 insertions, 0 deletions
diff --git a/textproc/pyDict/DESCR b/textproc/pyDict/DESCR
new file mode 100644
index 00000000000..33db46f5a03
--- /dev/null
+++ b/textproc/pyDict/DESCR
@@ -0,0 +1,6 @@
+pyDict is a Chinese(Big5) <-> English dictionary, written in Python.
+It can be used as a console app or X11 window(with -x option). The
+data is prepared by TurboLinux in simplified Chinese, then converted
+to traditional Chinese by CLE(Chinese Linux Extension) team.
+
+Author: Daniel Gau <plateau@pagic.net>
diff --git a/textproc/pyDict/Makefile b/textproc/pyDict/Makefile
new file mode 100644
index 00000000000..9a16329449e
--- /dev/null
+++ b/textproc/pyDict/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/15 09:54:02 shell Exp $
+
+DISTNAME= pyDict-0.2.5.1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pydict/}
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/pydict/
+COMMENT= Chinese <-> English dictionary, under both console and X11
+
+USE_X11BASE= yes
+
+WRKSRC= ${WRKDIR}/dict
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+PYTHON_PATCH_SCRIPTS= dict.py
+
+post-patch:
+ ${SED} -e 's:/bin/grep:'${GREP}':g' < ${WRKSRC}/dict.py > ${WRKSRC}/dict.py.tmp
+ ${SED} -e 's:/usr/X11R6:'${PREFIX}':g' < ${WRKSRC}/dict.py.tmp > ${WRKSRC}/dict.py
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/pyDict
+ ${INSTALL_DATA} ${WRKSRC}/[a-z].lib ${WRKSRC}/dict.xpm ${WRKSRC}/yaba.xpm ${WRKSRC}/HELP ${PREFIX}/lib/X11/pyDict
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pyDict
+ ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/COPYING ${WRKSRC}/README ${PREFIX}/share/doc/pyDict
+ ${INSTALL_SCRIPT} ${WRKSRC}/dict.py ${PREFIX}/bin/pydict
+
+.include "../../lang/python/application.buildlink.mk"
+.include "../../x11/pygtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/pyDict/PLIST b/textproc/pyDict/PLIST
new file mode 100644
index 00000000000..33ec653fd50
--- /dev/null
+++ b/textproc/pyDict/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/15 09:54:03 shell Exp $
+bin/pydict
+lib/X11/pyDict/HELP
+lib/X11/pyDict/a.lib
+lib/X11/pyDict/b.lib
+lib/X11/pyDict/c.lib
+lib/X11/pyDict/d.lib
+lib/X11/pyDict/dict.xpm
+lib/X11/pyDict/e.lib
+lib/X11/pyDict/f.lib
+lib/X11/pyDict/g.lib
+lib/X11/pyDict/h.lib
+lib/X11/pyDict/i.lib
+lib/X11/pyDict/j.lib
+lib/X11/pyDict/k.lib
+lib/X11/pyDict/l.lib
+lib/X11/pyDict/m.lib
+lib/X11/pyDict/n.lib
+lib/X11/pyDict/o.lib
+lib/X11/pyDict/p.lib
+lib/X11/pyDict/q.lib
+lib/X11/pyDict/r.lib
+lib/X11/pyDict/s.lib
+lib/X11/pyDict/t.lib
+lib/X11/pyDict/u.lib
+lib/X11/pyDict/v.lib
+lib/X11/pyDict/w.lib
+lib/X11/pyDict/x.lib
+lib/X11/pyDict/y.lib
+lib/X11/pyDict/yaba.xpm
+lib/X11/pyDict/z.lib
+share/doc/pyDict/CHANGELOG
+share/doc/pyDict/COPYING
+share/doc/pyDict/README
+@dirrm lib/X11/pyDict
+@dirrm share/doc/pyDict
diff --git a/textproc/pyDict/distinfo b/textproc/pyDict/distinfo
new file mode 100644
index 00000000000..0158c9a8c10
--- /dev/null
+++ b/textproc/pyDict/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/06/15 09:54:03 shell Exp $
+
+SHA1 (pyDict-0.2.5.1.tar.gz) = e8dd73d917a4f3f1dbad0d77c4174740c0f78ecc
+Size (pyDict-0.2.5.1.tar.gz) = 2812237 bytes