freebsd-ports/korean/gdick/Makefile
Hye-Shik Chang 8216091cfd Remove WITHOUT_GNOME support because it doesn't work from the recent
revision.

Submitted by:	Do Sung Hyuk <dhyuk@hands.pe.kr>
2004-01-13 05:38:11 +00:00

39 lines
1 KiB
Makefile

# 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= 1
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}/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
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_REINPLACE= yes
USE_BZIP2= yes
PLIST_SUB= ${OPTPLIST_SUB}
.include <bsd.port.pre.mk>
USE_GNOME= gnomehier
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,/usr/bin/gdick,${PREFIX}/bin/gdick,g' \
${WRKSRC}/GNOME_GDick.server
.include <bsd.port.post.mk>