mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
38 lines
927 B
Makefile
38 lines
927 B
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= 11
|
|
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}/cjkcodecs.pth:${PORTSDIR}/converters/py-cjkcodecs
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gnomehier pygnome2
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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,${LOCALBASE}/libdata/bonobo,g' \
|
|
${WRKSRC}/setup.py
|
|
${REINPLACE_CMD} -e 's,/usr/bin/gdick,${PREFIX}/bin/gdick,g' \
|
|
${WRKSRC}/GNOME_GDick.server
|
|
|
|
.include <bsd.port.post.mk>
|