# New ports collection makefile for:	pengupop
# Date created:		14 Jun 2006
# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD: ports/games/pengupop/Makefile,v 1.9 2007/07/01 16:16:40 rafan Exp $
#

PORTNAME=	pengupop
PORTVERSION=	2.2.4
CATEGORIES=	games
MASTER_SITES=	http://www.junoplay.com/files/ \
		http://www.amdmi3.ru/distfiles/

MAINTAINER=	amdmi3@amdmi3.ru
COMMENT=	Online multiplayer clone of Bust a Move

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_SDL=	sdl
CONFIGURE_ENV=	CPPFLAGS="`${SDL_CONFIG} --cflags`" \
		LDFLAGS="`${SDL_CONFIG} --libs`"

PLIST_FILES=	bin/pengupop

post-patch:
	@${REINPLACE_CMD} -e 's|-lSDL||' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>
