aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-11-29 01:29:52 +0800
committerbapt <bapt@FreeBSD.org>2012-11-29 01:29:52 +0800
commit41ba534d7b283de4131baceb8ea80dd789f03f69 (patch)
tree0123d5f1766f050e6b380f66d1cd64ae985f338a /chinese
parent4ac90452abb0ec0ff4864c18ae04e3c3e3bcaccc (diff)
downloadfreebsd-ports-gnome-41ba534d7b283de4131baceb8ea80dd789f03f69.tar.gz
freebsd-ports-gnome-41ba534d7b283de4131baceb8ea80dd789f03f69.tar.zst
freebsd-ports-gnome-41ba534d7b283de4131baceb8ea80dd789f03f69.zip
2012-11-28 chinese/pyDict: Depends on the expired gtkglarea through py-gtk [1]
2012-11-28 x11-toolkits/py-gtk: Depends on the expired gtkglarea [2] Approved by: silence of maintainer [1] gnome (kwm) [2] Feature safe: yes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-rw-r--r--chinese/pyDict/Makefile51
-rw-r--r--chinese/pyDict/distinfo2
-rw-r--r--chinese/pyDict/files/gtkrc.zh_TW.big5.sample6
-rw-r--r--chinese/pyDict/files/patch-dict.py50
-rw-r--r--chinese/pyDict/files/pkg-message.in8
-rw-r--r--chinese/pyDict/pkg-descr7
-rw-r--r--chinese/pyDict/pkg-plist36
8 files changed, 0 insertions, 161 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index ed026d5a2639..0bf4a52f4105 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -116,7 +116,6 @@
SUBDIR += phpbb3-tw
SUBDIR += pine4
SUBDIR += py-cconv
- SUBDIR += pyDict
SUBDIR += qe
SUBDIR += qt4-codecs-cn
SUBDIR += qt4-codecs-tw
diff --git a/chinese/pyDict/Makefile b/chinese/pyDict/Makefile
deleted file mode 100644
index 06a492c7f49f..000000000000
--- a/chinese/pyDict/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# New ports collection makefile for: pyDict
-# Date created: 25 Oct 1999
-# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pyDict
-PORTVERSION= 0.2.6.3
-PORTREVISION= 8
-CATEGORIES= chinese
-MASTER_SITES= LOCAL/chinsan/pyDict/ \
- http://www.525183.com/freebsd/pyDict/ \
- http://www.chinatinco.com/freebsd/pyDict/ \
- http://525183.serverbox.org/freebsd/pyDict/
-
-MAINTAINER= sunrychen@gmail.com
-COMMENT= A Chinese <-> English dictionary under both, console and X11
-
-RUN_DEPENDS= ${LOCALBASE}/include/pygtk/pygtk.h:${PORTSDIR}/x11-toolkits/py-gtk \
- ${LOCALBASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
-
-WRKSRC= ${WRKDIR}/dict
-NO_BUILD= yes
-SHAREMODE= 644
-DICTDIR= ${PREFIX}/lib/X11/pyDict
-DOCDIR= ${PREFIX}/share/doc/pyDict
-PKGMESSAGE= ${WRKDIR}/pkg-message
-SUB_FILES= pkg-message
-
-.include <bsd.port.pre.mk>
-
-pre-patch:
- ${REINPLACE_CMD} -e 's,/bin/grep,${GREP},g' \
- -e 's,--after-context=20,-A 20,g' \
- -e 's,/usr/X11R6,${PREFIX},g' ${WRKSRC}/dict.py
-
-do-install:
- @${MKDIR} ${DICTDIR}
- @${INSTALL_DATA} ${WRKSRC}/[a-z].lib ${WRKSRC}/dict.xpm ${WRKSRC}/yaba.xpm ${WRKSRC}/HELP ${DICTDIR}
- @${INSTALL_DATA} ${FILESDIR}/gtkrc.zh_TW.big5.sample ${DICTDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCDIR}
- @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/COPYING ${WRKSRC}/README ${DOCDIR}
-.endif
- @${INSTALL_SCRIPT} ${WRKSRC}/dict.py ${PREFIX}/bin/pydict
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/chinese/pyDict/distinfo b/chinese/pyDict/distinfo
deleted file mode 100644
index 637bf6ac4ef5..000000000000
--- a/chinese/pyDict/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (pyDict-0.2.6.3.tar.gz) = 78b9ef026c57873eaf4625cd4cc31612e7eb3a41fbb2f239d8ef1ba7cbf1524a
-SIZE (pyDict-0.2.6.3.tar.gz) = 2817984
diff --git a/chinese/pyDict/files/gtkrc.zh_TW.big5.sample b/chinese/pyDict/files/gtkrc.zh_TW.big5.sample
deleted file mode 100644
index 205a26cb8b7f..000000000000
--- a/chinese/pyDict/files/gtkrc.zh_TW.big5.sample
+++ /dev/null
@@ -1,6 +0,0 @@
-style "default" {
- fontset = "-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1,\
- -*-medium-r-normal--14-*-*-*-*-*-big5-0"
-}
-class "GtkWidget" style "default"
-
diff --git a/chinese/pyDict/files/patch-dict.py b/chinese/pyDict/files/patch-dict.py
deleted file mode 100644
index 731397e038df..000000000000
--- a/chinese/pyDict/files/patch-dict.py
+++ /dev/null
@@ -1,50 +0,0 @@
---- ./dict.py.orig Wed Oct 17 22:02:16 2007
-+++ ./dict.py Tue Nov 6 18:28:47 2007
-@@ -1,4 +1,5 @@
- #!/usr/bin/env python
-+# -*- coding: big5 -*-
- #-------------------------------------------------
- # this is a program that utilize the library of xdict.
- # Made by Daniel Gau <r90057@im.ntu.edu.tw>
-@@ -322,16 +323,17 @@
- """Get the word this object describes."""
- return self.word
-
--from gtk import *
--from GDK import *
-+prop = [" "," "," ","<<形容詞>>","<<副詞>>","art. ","<<連接詞>>","int. ","<<名詞>>"," "," ","num. ", "prep. "," ","pron. ","<<動詞>>","<<助動詞>>","<<非及物動詞>>","<<及物動詞>>","vbl. "," ","st. ", "pr. ","<<過去分詞>>","<<複數>>","ing. "," ","<<形容詞>>","<<副詞>>","pla. ","pn. "," "]
-+
- from string import split,replace,strip,lstrip,find,lower
--import GtkExtra
- import sys,os,string
-+if os.environ.has_key('DISPLAY') and len(sys.argv) == 1:
-+ from gtk import *
-+ from GDK import *
-+ import GtkExtra
-
-
--prop = [" "," "," ","<<形容詞>>","<<副詞>>","art. ","<<連接詞>>","int. ","<<名詞>>"," "," ","num. ", "prep. "," ","pron. ","<<動詞>>","<<助動詞>>","<<非及物動詞>>","<<及物動詞>>","vbl. "," ","st. ", "pr. ","<<過去分詞>>","<<複數>>","ing. "," ","<<形容詞>>","<<副詞>>","pla. ","pn. "," "]
--
--class Pref(GtkDialog):
-+ class Pref(GtkDialog):
- def __init__(self,modal=TRUE,app=None):
- GtkDialog.__init__(self)
- self.connect("destroy", self.quit)
-@@ -482,7 +484,7 @@
- def quit(self,w=None,event=None):
- self.hide()
-
--class HelpDialog(GtkDialog):
-+ class HelpDialog(GtkDialog):
- def __init__(self,modal=TRUE,file=None):
- GtkDialog.__init__(self)
- self.set_title("pyDict Help")
-@@ -542,7 +544,7 @@
- self.quit()
-
-
--class App(GtkWindow):
-+ class App(GtkWindow):
- def __init__(self):
- GtkWindow.__init__(self,WINDOW_TOPLEVEL)
- self.create_vars()
diff --git a/chinese/pyDict/files/pkg-message.in b/chinese/pyDict/files/pkg-message.in
deleted file mode 100644
index 9f572dd8cba5..000000000000
--- a/chinese/pyDict/files/pkg-message.in
+++ /dev/null
@@ -1,8 +0,0 @@
-
----------------------------------------------------------
-If you experience problems displaying Chinese, first make
-sure that you have correct locale settings, then copy
-%%PREFIX%%/lib/X11/pyDict/gtkrc.zh_TW.big5.sample to
-~/.gtkrc.zh_TW.big5 and try again.
----------------------------------------------------------
-
diff --git a/chinese/pyDict/pkg-descr b/chinese/pyDict/pkg-descr
deleted file mode 100644
index 1de873c2631a..000000000000
--- a/chinese/pyDict/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-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>
-WWW: http://sourceforge.net/projects/pydict/
diff --git a/chinese/pyDict/pkg-plist b/chinese/pyDict/pkg-plist
deleted file mode 100644
index dfe459a1ea07..000000000000
--- a/chinese/pyDict/pkg-plist
+++ /dev/null
@@ -1,36 +0,0 @@
-bin/pydict
-lib/X11/pyDict/HELP
-lib/X11/pyDict/gtkrc.zh_TW.big5.sample
-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
-%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm lib/X11/pyDict