diff options
-rw-r--r-- | korean/gdick/Makefile | 15 | ||||
-rw-r--r-- | korean/gdick/files/patch-GNOME_GDick.server | 14 |
2 files changed, 20 insertions, 9 deletions
diff --git a/korean/gdick/Makefile b/korean/gdick/Makefile index c4213588bdeb..6ce5cb20b739 100644 --- a/korean/gdick/Makefile +++ b/korean/gdick/Makefile @@ -7,7 +7,7 @@ PORTNAME= gdick PORTVERSION= 0.9.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= korean python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gdick @@ -15,19 +15,13 @@ MASTER_SITE_SUBDIR= gdick 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}/gtk-2.0/gconfmodule.so:${PORTSDIR}/x11-toolkits/py-gnome2 - -BROKEN= "Broken dependencies" +RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/cjkcodecs.pth:${PORTSDIR}/converters/py-cjkcodecs USE_PYTHON= yes USE_PYDISTUTILS=yes USE_REINPLACE= yes USE_BZIP2= yes -PLIST_SUB= ${OPTPLIST_SUB} - -USE_GNOME= gnomehier +USE_GNOME= gnomehier pygnome2 .include <bsd.port.pre.mk> @@ -35,6 +29,9 @@ 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,${X11BASE}/libdata/bonobo,g' \ + ${WRKSRC}/setup.py ${REINPLACE_CMD} -e 's,/usr/bin/gdick,${PREFIX}/bin/gdick,g' \ ${WRKSRC}/GNOME_GDick.server diff --git a/korean/gdick/files/patch-GNOME_GDick.server b/korean/gdick/files/patch-GNOME_GDick.server new file mode 100644 index 000000000000..1f53674078ee --- /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> |