# Created by: janek
# $FreeBSD: tags/RELEASE_10_1_0/games/xboing/Makefile 353659 2014-05-11 08:57:54Z dinoex $

PORTNAME=	xboing
PORTVERSION=	2.4
PORTREVISION=	5
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	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>
