aboutsummaryrefslogtreecommitdiffstats
path: root/games/xboing/Makefile
blob: a7fa1d30e9bae8de5d6d9b3c0fe415c3cbe1d9a7 (plain) (blame)
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
34
35
# Created by: janek
# $FreeBSD$

PORTNAME=   xboing
PORTVERSION=    2.4
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
DISTNAME=   ${PORTNAME}${PORTVERSION}

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

LICENSE=    MIT

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

.if defined(WITHOUT_AUDIO)
MAKE_ENV+=  WITHOUT_AUDIO=True
PLIST_SUB+= WITH_SOUND="@comment "
.else
PLIST_SUB+= WITH_SOUND=""
.endif

post-install:
    ${CHOWN} root:games ${PREFIX}/bin/xboing
    ${CHMOD} 2755 ${PREFIX}/bin/xboing
    ${CHOWN} root:games ${PREFIX}/lib/X11/xboing/.xboing.scr
    ${CHMOD} 664 ${PREFIX}/lib/X11/xboing/.xboing.scr

.include <bsd.port.mk>