# Created by: janek
# $FreeBSD: tags/RELEASE_10_2_0/games/xboing/Makefile 386312 2015-05-14 10:15:04Z mat $

PORTNAME=	xboing
PORTVERSION=	2.4
PORTREVISION=	5
CATEGORIES=	games
MASTER_SITES=	XCONTRIB/games
DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X11 arcade game

LICENSE=	MIT

USES=		imake
USE_XORG=	xpm xext x11
WRKSRC=		${WRKDIR}/xboing

OPTIONS_DEFINE=SOUND
OPTIONS_DEFAULT=SOUND
OPTIONS_SUB=yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSOUND}
MAKE_ENV+=	WITHOUT_AUDIO=True
.endif

post-install:
	${RM} ${STAGEDIR}${PREFIX}/lib/X11/xboing/.xboing.scr

.include <bsd.port.mk>
