aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-11-10 12:52:55 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-11-10 12:52:55 +0000
commit5a4b24b98a3c6521fcaf8057cb0a34fa0cc49b5c (patch)
treef5ffd04430401384d36741f02f2a2bfb847eb12d /korean
parent5af2c9ac8149d21473690106519d5e3de86a8ca5 (diff)
downloadports-5a4b24b98a3c6521fcaf8057cb0a34fa0cc49b5c.tar.gz
ports-5a4b24b98a3c6521fcaf8057cb0a34fa0cc49b5c.zip
Notes
Diffstat (limited to 'korean')
-rw-r--r--korean/gdick/Makefile13
-rw-r--r--korean/gdick/distinfo2
-rw-r--r--korean/gdick/pkg-descr2
-rw-r--r--korean/gdick/pkg-plist28
4 files changed, 29 insertions, 16 deletions
diff --git a/korean/gdick/Makefile b/korean/gdick/Makefile
index 54ef97625d78..fca765da5467 100644
--- a/korean/gdick/Makefile
+++ b/korean/gdick/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gdick
-PORTVERSION= 0.7
+PORTVERSION= 0.8.1
CATEGORIES= korean python
MASTER_SITES= http://ddt.mirstyle.org/data/
@@ -28,21 +28,20 @@ PLIST_SUB= ${OPTPLIST_SUB}
USE_GNOME= gnomehier
RUN_DEPENDS+= ${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gconfmodule.so:${PORTSDIR}/x11-toolkits/py-gnome2
OPTPLIST_SUB= GNOMEONLY=""
-PYDISTUTILS_INSTALLARGS+= --bonobo-dir="${X11BASE}/libdata/bonobo"
.else
OPTPLIST_SUB= GNOMEONLY="@comment "
-PYDISTUTILS_INSTALLARGS+= --without-gnome
.endif
post-patch:
-.for f in gdick.py gdick_applet
${REINPLACE_CMD} -e \
's,/usr/share/gdick/gdick.glade,${PREFIX}/share/gdick/gdick.glade,g' \
- ${WRKSRC}/$f
-.endfor
+ ${WRKSRC}/lib/gdick/gdick.py
${REINPLACE_CMD} -e 's,/usr/bin/gdick,${PREFIX}/bin/gdick,g' \
${WRKSRC}/GNOME_GDick.server
- ${REINPLACE_CMD} -e 's,(sys\.argv),("--without-gnome"),g' \
+.if !defined(WITH_GNOME)
+ ${REINPLACE_CMD} -e 's/, "gdick_applet"//g' \
+ -e 's|, ("lib/bonobo/servers/", ("GNOME_GDick.server",))||g' \
${WRKSRC}/setup.py
+.endif
.include <bsd.port.post.mk>
diff --git a/korean/gdick/distinfo b/korean/gdick/distinfo
index c969c94952ed..d1aeef1de343 100644
--- a/korean/gdick/distinfo
+++ b/korean/gdick/distinfo
@@ -1 +1 @@
-MD5 (gdick-0.7.tar.bz2) = 6d27b6304ffe9359d4828630bd6b8558
+MD5 (gdick-0.8.1.tar.bz2) = d00ffeccf2c463cb1f75b5d5c3909153
diff --git a/korean/gdick/pkg-descr b/korean/gdick/pkg-descr
index 2dabce7bc65b..778491f982fb 100644
--- a/korean/gdick/pkg-descr
+++ b/korean/gdick/pkg-descr
@@ -1,4 +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://ddt.mirstyle.org/gdick.html
+WWW: http://ddt.mirstyle.org/wiki/wiki.php/GDick
diff --git a/korean/gdick/pkg-plist b/korean/gdick/pkg-plist
index 129af94fdea2..57fefa9ca819 100644
--- a/korean/gdick/pkg-plist
+++ b/korean/gdick/pkg-plist
@@ -1,12 +1,26 @@
bin/gdick
-bin/gdick_applet
-%%PYTHON_SITELIBDIR%%/YahooDict.py
-%%PYTHON_SITELIBDIR%%/YahooDict.pyc
-%%PYTHON_SITELIBDIR%%/YahooDict.pyo
-%%PYTHON_SITELIBDIR%%/YahooView.py
-%%PYTHON_SITELIBDIR%%/YahooView.pyc
-%%PYTHON_SITELIBDIR%%/YahooView.pyo
+%%GNOMEONLY%%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
share/gdick/gdick.glade
+share/gdick/gdick.png
+share/gdick/gdick_icon.png
@dirrm share/gdick
%%GNOMEONLY%%@cwd %%X11BASE%%
%%GNOMEONLY%%libdata/bonobo/servers/GNOME_GDick.server