aboutsummaryrefslogtreecommitdiffstats
path: root/games/xboing/Makefile
blob: 29cbdac83c7281948b64b16f9a7f97ce0e4c37e5 (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
36
37
38
# New ports collection makefile for:    xboing
# Date created:     31 January 1995
# Whom:         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

USE_IMAKE=  yes
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>