1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/emulators/xgngeo/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: xgngeo
# Date created: 2006-03-02
# Whom: Jose Alonso Cardenas Marquez <acardebas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= xgngeo
PORTVERSION= 16
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= emulators games
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME:S/xg/XG/}-${PORTVERSION}
DIST_SUBDIR= gngeo
MAINTAINER= acm@FreeBSD.org
COMMENT= Fronted (GUI) for gngeo
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
gngeo:${PORTSDIR}/emulators/gngeo
BROKEN= does not build
USE_BZIP2= yes
USE_PYTHON= yes
USES= gettext
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= XGngeo
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
WITHOUT_PSYCO= yes
.endif
.if !defined(WITHOUT_PSYCO)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/data/py/configfile.py
@${REINPLACE_CMD} -e 's|gtk.threads_init|gtk.gdk.threads_init|g' -e \
's|gtk.threads_enter|gtk.gdk.threads_enter|g' -e \
's|gtk.threads_leave|gtk.gdk.threads_leave|g' ${WRKSRC}/data/py/__init__.py
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/xgngeo-doc.pdf ${WRKSRC}/doc/xgngeo-doc.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>