# New ports collection makefile for:	games/atris-sounds
# Date created:			9 Aug 2005
# Whom:				Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD: ports/games/atris-sounds/Makefile,v 1.6 2011/02/27 04:54:24 tabthorpe Exp $
#

PORTNAME=	atris
PORTVERSION=	1.0.1
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://www.wkiri.com/projects/atris/
PKGNAMESUFFIX=	-sounds
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Sounds for Atris: Alizarin Tetris

RUN_DEPENDS=	atris:${PORTSDIR}/games/atris

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
NO_WRKSUBDIR=	yes

post-patch:
# Fix path to ${DATADIR}
	${REINPLACE_CMD} -e 's|\(GAME_INSTALLDIR=\).*|\1"${DATADIR}"|' \
			${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>
