# New ports collection makefile for: blobby
# Date created:	01 Apr 2008
# Whom:		Ganael Laplanche <ganael.laplanche@martymac.com>
#
# $FreeBSD: ports/games/blobby/Makefile,v 1.4 2009/08/22 00:22:00 amdmi3 Exp $
#

PORTNAME=	blobby
PORTVERSION=	0.6a
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/Blobby%20Volley%202%20%28Linux%29/Alpha%206
DISTNAME=	blobby2-linux-${PORTVERSION}

MAINTAINER=	ganael.laplanche@martymac.com
COMMENT=	Official continuation of the famous Blobby Volley 1.x game

LIB_DEPENDS=	physfs.1:${PORTSDIR}/devel/physfs \
		drm:${PORTSDIR}/graphics/libdrm

USE_XORG=	x11 xext xxf86vm xdamage xfixes xau xdmcp xrandr xrender
USE_SDL=	sdl
USE_GL=		glu
GNU_CONFIGURE=	yes
CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
			LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
WRKSRC=		${WRKDIR}/blobby-alpha-6

PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README TODO

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
