diff options
author | perky <perky@FreeBSD.org> | 2003-08-21 05:04:32 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-08-21 05:04:32 +0000 |
commit | d90005b60fd9c128ea1e2d4369b30ed93812e90a (patch) | |
tree | 9db4fc9788046ef711c4535685aa19b9efe34c1a /korean | |
parent | 5b2459a468967a49196a62319fe83fe9a1888012 (diff) | |
download | FreeBSD-ports-d90005b60fd9c128ea1e2d4369b30ed93812e90a.zip FreeBSD-ports-d90005b60fd9c128ea1e2d4369b30ed93812e90a.tar.gz |
Update to 0.6.2
Diffstat (limited to 'korean')
-rw-r--r-- | korean/gdick/Makefile | 33 | ||||
-rw-r--r-- | korean/gdick/distinfo | 2 | ||||
-rw-r--r-- | korean/gdick/files/setup.py | 7 |
3 files changed, 19 insertions, 23 deletions
diff --git a/korean/gdick/Makefile b/korean/gdick/Makefile index 227ba17..2b11271 100644 --- a/korean/gdick/Makefile +++ b/korean/gdick/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gdick -PORTVERSION= 0.6.1 +PORTVERSION= 0.6.2 CATEGORIES= korean python MASTER_SITES= http://ddt.mirstyle.org/data/ @@ -18,28 +18,31 @@ RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/atk.so:${PORTSDIR}/x11-toolkits/ USE_PYTHON= yes USE_PYDISTUTILS=yes +USE_REINPLACE= yes USE_BZIP2= yes +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 -PLIST_SUB= GNOMEONLY="" +OPTPLIST_SUB= GNOMEONLY="" +PYDISTUTILS_INSTALLARGS+= --bonobo-dir="${X11BASE}/libdata/bonobo" .else -PLIST_SUB= GNOMEONLY="@comment " +OPTPLIST_SUB= GNOMEONLY="@comment " +PYDISTUTILS_INSTALLARGS+= --without-gnome .endif -post-extract: - ${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC} - post-patch: -.for f in gdick gdick_applet - ${SED} -e 's,/usr/bin/gdick.glade,${PREFIX}/share/gdick/gdick.glade,g' \ - ${WRKSRC}/$f.py > ${WRKSRC}/$f +.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 + ${REINPLACE_CMD} -e 's,/usr/bin/gdick,${PREFIX}/bin/gdick,g' \ + ${WRKSRC}/GNOME_GDick.server + ${REINPLACE_CMD} -e 's,(sys\.argv),("--without-gnome"),g' \ + ${WRKSRC}/setup.py -post-install: -.if defined(WITH_GNOME) - ${INSTALL_DATA} ${WRKSRC}/GNOME_GDick.server ${X11BASE}/libdata/bonobo/servers/ -.endif - -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/korean/gdick/distinfo b/korean/gdick/distinfo index 2829e82..371df63 100644 --- a/korean/gdick/distinfo +++ b/korean/gdick/distinfo @@ -1 +1 @@ -MD5 (gdick-0.6.1.tar.bz2) = 8004643749c5826d99df9fd7c418e9e3 +MD5 (gdick-0.6.2.tar.bz2) = 53e959abc11a977549c31da6368b61d1 diff --git a/korean/gdick/files/setup.py b/korean/gdick/files/setup.py deleted file mode 100644 index ef450fa..0000000 --- a/korean/gdick/files/setup.py +++ /dev/null @@ -1,7 +0,0 @@ -__version__ = "$FreeBSD$" -from distutils.core import setup -setup( name = "gdick", - py_modules = ["YahooDict", "YahooView"], - scripts = ["gdick", "gdick_applet"], - data_files = [("share/gdick", ("gdick.glade",))], -) |