aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-01-13 13:38:11 +0800
committerperky <perky@FreeBSD.org>2004-01-13 13:38:11 +0800
commit5ae5203683b443df6309e673432e44b8d2373241 (patch)
tree7ea1cf0b867717453edf7900ba71d90d303f4e40 /korean
parent568028eed753dfd5ebd4630f8b9d40d3953954fb (diff)
downloadfreebsd-ports-gnome-5ae5203683b443df6309e673432e44b8d2373241.tar.gz
freebsd-ports-gnome-5ae5203683b443df6309e673432e44b8d2373241.tar.zst
freebsd-ports-gnome-5ae5203683b443df6309e673432e44b8d2373241.zip
Remove WITHOUT_GNOME support because it doesn't work from the recent
revision. Submitted by: Do Sung Hyuk <dhyuk@hands.pe.kr>
Diffstat (limited to 'korean')
-rw-r--r--korean/gdick/Makefile15
-rw-r--r--korean/gdick/pkg-plist6
2 files changed, 6 insertions, 15 deletions
diff --git a/korean/gdick/Makefile b/korean/gdick/Makefile
index 90243f37f189..98e693b54dad 100644
--- a/korean/gdick/Makefile
+++ b/korean/gdick/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gdick
PORTVERSION= 0.9.1
+PORTREVISION= 1
CATEGORIES= korean python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gdick
@@ -15,7 +16,8 @@ MAINTAINER= perky@FreeBSD.org
COMMENT= English-Korean Dictionary Client for GNOME2
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/atk.so:${PORTSDIR}/x11-toolkits/py-gtk2 \
- ${PYTHONPREFIX_SITELIBDIR}/cjkcodecs.pth:${PORTSDIR}/converters/py-cjkcodecs
+ ${PYTHONPREFIX_SITELIBDIR}/cjkcodecs.pth:${PORTSDIR}/converters/py-cjkcodecs \
+ ${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gconfmodule.so:${PORTSDIR}/x11-toolkits/py-gnome2
USE_PYTHON= yes
USE_PYDISTUTILS=yes
@@ -25,13 +27,7 @@ PLIST_SUB= ${OPTPLIST_SUB}
.include <bsd.port.pre.mk>
-.if defined(WITH_GNOME)
USE_GNOME= gnomehier
-RUN_DEPENDS+= ${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gconfmodule.so:${PORTSDIR}/x11-toolkits/py-gnome2
-OPTPLIST_SUB= GNOMEONLY=""
-.else
-OPTPLIST_SUB= GNOMEONLY="@comment "
-.endif
post-patch:
${REINPLACE_CMD} -e \
@@ -39,10 +35,5 @@ post-patch:
${WRKSRC}/lib/gdick/gdick.py
${REINPLACE_CMD} -e 's,/usr/bin/gdick,${PREFIX}/bin/gdick,g' \
${WRKSRC}/GNOME_GDick.server
-.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/pkg-plist b/korean/gdick/pkg-plist
index 57fefa9ca819..9e3f72171b9e 100644
--- a/korean/gdick/pkg-plist
+++ b/korean/gdick/pkg-plist
@@ -1,5 +1,5 @@
bin/gdick
-%%GNOMEONLY%%bin/gdick_applet
+bin/gdick_applet
%%PYTHON_SITELIBDIR%%/gdick/DictResult.py
%%PYTHON_SITELIBDIR%%/gdick/DictResult.pyc
%%PYTHON_SITELIBDIR%%/gdick/DictResult.pyo
@@ -22,5 +22,5 @@ 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
+@cwd %%X11BASE%%
+libdata/bonobo/servers/GNOME_GDick.server