summaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 11:46:04 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 11:46:04 +0800
commitf754cba34c28e01db6b8d24dd2f16a59f607d8e6 (patch)
tree3500d69d97d07aa286c5e8ab9442199b527b7a42 /korean
parentb04b5c9f55f7c9d8005bbaf76a03083f42b93711 (diff)
downloadmarcuscom-ports-f754cba34c28e01db6b8d24dd2f16a59f607d8e6.tar
marcuscom-ports-f754cba34c28e01db6b8d24dd2f16a59f607d8e6.tar.gz
marcuscom-ports-f754cba34c28e01db6b8d24dd2f16a59f607d8e6.tar.bz2
marcuscom-ports-f754cba34c28e01db6b8d24dd2f16a59f607d8e6.tar.lz
marcuscom-ports-f754cba34c28e01db6b8d24dd2f16a59f607d8e6.tar.xz
marcuscom-ports-f754cba34c28e01db6b8d24dd2f16a59f607d8e6.tar.zst
marcuscom-ports-f754cba34c28e01db6b8d24dd2f16a59f607d8e6.zip
X11BASE -> LOCALBASE, libdata/bonobo lives in LOCALBASE. Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6938 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'korean')
-rw-r--r--korean/gdick/Makefile37
-rw-r--r--korean/gdick/distinfo3
-rw-r--r--korean/gdick/files/patch-GNOME_GDick.server14
-rw-r--r--korean/gdick/pkg-descr4
-rw-r--r--korean/gdick/pkg-plist26
5 files changed, 84 insertions, 0 deletions
diff --git a/korean/gdick/Makefile b/korean/gdick/Makefile
new file mode 100644
index 000000000..d8314c4a0
--- /dev/null
+++ b/korean/gdick/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: ko-gdick
+# Date created: 20 August 2003
+# Whom: Hye-Shik Chang <perky@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdick
+PORTVERSION= 0.9.1
+PORTREVISION= 9
+CATEGORIES= korean python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gdick
+
+MAINTAINER= perky@FreeBSD.org
+COMMENT= English-Korean Dictionary Client for GNOME2
+
+RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/cjkcodecs.pth:${PORTSDIR}/converters/py-cjkcodecs
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+USE_BZIP2= yes
+USE_GNOME= gnomehier pygnome2
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's,/usr/share/gdick/gdick.glade,${PREFIX}/share/gdick/gdick.glade,g' \
+ ${WRKSRC}/lib/gdick/gdick.py
+ ${REINPLACE_CMD} \
+ -e 's,lib/bonobo,${LOCALBASE}/libdata/bonobo,g' \
+ ${WRKSRC}/setup.py
+ ${REINPLACE_CMD} -e 's,/usr/bin/gdick,${PREFIX}/bin/gdick,g' \
+ ${WRKSRC}/GNOME_GDick.server
+
+.include <bsd.port.post.mk>
diff --git a/korean/gdick/distinfo b/korean/gdick/distinfo
new file mode 100644
index 000000000..623a3bc2f
--- /dev/null
+++ b/korean/gdick/distinfo
@@ -0,0 +1,3 @@
+MD5 (gdick-0.9.1.tar.bz2) = e49ededae41b65e9b6c5664c69f8deb9
+SHA256 (gdick-0.9.1.tar.bz2) = fe9f9c724986c7f74b8ec842b9a306bc753372bed845d7cc86ff079aa536167d
+SIZE (gdick-0.9.1.tar.bz2) = 24686
diff --git a/korean/gdick/files/patch-GNOME_GDick.server b/korean/gdick/files/patch-GNOME_GDick.server
new file mode 100644
index 000000000..1f5367407
--- /dev/null
+++ b/korean/gdick/files/patch-GNOME_GDick.server
@@ -0,0 +1,14 @@
+--- GNOME_GDick.server.orig Mon May 3 11:43:50 2004
++++ GNOME_GDick.server Mon May 3 11:45:08 2004
+@@ -18,8 +18,11 @@
+ <item value="IDL:Bonobo/Unknown:1.0"/>
+ </oaf_attribute>
+ <oaf_attribute name="name" type="string" value="GDick"/>
++ <oaf_attribute name="name-ko" type="string" value="한영/영한사전"/>
+ <oaf_attribute name="description" type="string" value="Dictionary"/>
++ <oaf_attribute name="description-ko" type="string" value="야후코리아 한영/영한사전"/>
+ <oaf_attribute name="panel:category" type="string" value="Utility"/>
++ <oaf_attribute name="panel:category-ko" type="string" value="유틸리티"/>
+ <oaf_attribute name="panel:icon" type="string" value="bug-buddy.png"/>
+ </oaf_server>
+ </oaf_info>
diff --git a/korean/gdick/pkg-descr b/korean/gdick/pkg-descr
new file mode 100644
index 000000000..798cc0324
--- /dev/null
+++ b/korean/gdick/pkg-descr
@@ -0,0 +1,4 @@
+GDick is a GTK+-2.0 based Korean dictionary client. It can serve
+as a simple GTK application as well as a GNOME applet.
+
+WWW: http://sourceforge.net/projects/gdick
diff --git a/korean/gdick/pkg-plist b/korean/gdick/pkg-plist
new file mode 100644
index 000000000..0e1160f99
--- /dev/null
+++ b/korean/gdick/pkg-plist
@@ -0,0 +1,26 @@
+bin/gdick
+bin/gdick_applet
+%%PYTHON_SITELIBDIR%%/gdick/DictResult.py
+%%PYTHON_SITELIBDIR%%/gdick/DictResult.pyc
+%%PYTHON_SITELIBDIR%%/gdick/DictResult.pyo
+%%PYTHON_SITELIBDIR%%/gdick/Utils.py
+%%PYTHON_SITELIBDIR%%/gdick/Utils.pyc
+%%PYTHON_SITELIBDIR%%/gdick/Utils.pyo
+%%PYTHON_SITELIBDIR%%/gdick/YahooDict.py
+%%PYTHON_SITELIBDIR%%/gdick/YahooDict.pyc
+%%PYTHON_SITELIBDIR%%/gdick/YahooDict.pyo
+%%PYTHON_SITELIBDIR%%/gdick/YahooView.py
+%%PYTHON_SITELIBDIR%%/gdick/YahooView.pyc
+%%PYTHON_SITELIBDIR%%/gdick/YahooView.pyo
+%%PYTHON_SITELIBDIR%%/gdick/__init__.py
+%%PYTHON_SITELIBDIR%%/gdick/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gdick/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gdick/gdick.py
+%%PYTHON_SITELIBDIR%%/gdick/gdick.pyc
+%%PYTHON_SITELIBDIR%%/gdick/gdick.pyo
+libdata/bonobo/servers/GNOME_GDick.server
+@dirrm %%PYTHON_SITELIBDIR%%/gdick
+share/gdick/gdick.glade
+share/gdick/gdick.png
+share/gdick/gdick_icon.png
+@dirrm share/gdick