summaryrefslogtreecommitdiff
path: root/games/xboing/Makefile
blob: d0d91a532bb4bbfdb0324af81aebbc67a23559cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PORTNAME=	xboing
PORTVERSION=	2.4
PORTREVISION=	6
CATEGORIES=	games
MASTER_SITES=	XCONTRIB/games
DISTNAME=	${PORTNAME}${PORTVERSION}

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

LICENSE=	MIT

USES=		cpe imake xorg
USE_XORG=	xpm xext x11

WRKSRC=		${WRKDIR}/xboing

OPTIONS_DEFINE=SOUND
OPTIONS_DEFAULT=SOUND
OPTIONS_SUB=yes

SOUND_MAKE_ENV=	WITHOUT_AUDIO=True

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+=	-Wno-error=int-conversion
.endif

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

.include <bsd.port.mk>