aboutsummaryrefslogtreecommitdiffstats
path: root/games/xboing/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-08-04 14:50:44 +0800
committerdinoex <dinoex@FreeBSD.org>2003-08-04 14:50:44 +0800
commitb59614ee405b0be8db44152e578cabea25761a14 (patch)
tree34acb61ce4bafbbbaf46e205bf16c0d467738c53 /games/xboing/Makefile
parent1413276112da013f3568f1fa0276e151140162b4 (diff)
downloadfreebsd-ports-gnome-b59614ee405b0be8db44152e578cabea25761a14.tar.gz
freebsd-ports-gnome-b59614ee405b0be8db44152e578cabea25761a14.tar.zst
freebsd-ports-gnome-b59614ee405b0be8db44152e578cabea25761a14.zip
- Fix sound initialisation problem
- new option WITHOUT_AUDIO default now supports sound on alpha
Diffstat (limited to 'games/xboing/Makefile')
-rw-r--r--games/xboing/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/games/xboing/Makefile b/games/xboing/Makefile
index f34975ba94c7..820952aeaf11 100644
--- a/games/xboing/Makefile
+++ b/games/xboing/Makefile
@@ -6,23 +6,27 @@
PORTNAME= xboing
PORTVERSION= 2.4
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
DISTNAME= ${PORTNAME}${PORTVERSION}
-MAINTAINER= dinoex@FreeBSD.Org
+MAINTAINER= dinoex@FreeBSD.org
COMMENT= X11 arcade game
-.if ${MACHINE_ARCH} == "alpha"
-PLIST= ${PKGDIR}/pkg-plist.alpha
-.endif
-
USE_IMAKE= yes
USE_XPM= yes
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