# Created by: bruno
# $FreeBSD: games/childsplay_plugins/Makefile 331644 2013-10-26 00:52:33Z gerald $

PORTNAME=	childsplay_plugins
PORTVERSION=	0.90
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	SF/childsplay/childsplay-plugins/${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	bruno@tinkerbox.org
COMMENT=	Educative games for children

BUILD_DEPENDS=	childsplay:${PORTSDIR}/games/childsplay
RUN_DEPENDS=	childsplay:${PORTSDIR}/games/childsplay

USE_PYTHON=	yes

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 900000
BROKEN=		fails to install on 9.X
.endif

post-patch:
	@${REINPLACE_CMD} -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g " ${WRKSRC}/install.sh

.include <bsd.port.post.mk>
