aboutsummaryrefslogtreecommitdiff
path: root/games/xgalaga
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2011-10-01 07:52:30 +0000
committerHiroki Sato <hrs@FreeBSD.org>2011-10-01 07:52:30 +0000
commita5cde5de513fb318cd2e68581a86e29507e1c6af (patch)
treeb3913693049080068068ebc7a18c79329130a7cb /games/xgalaga
parent14eb86e660d6428a2d9f879601b6504d53bf05ce (diff)
downloadports-a5cde5de513fb318cd2e68581a86e29507e1c6af.tar.gz
ports-a5cde5de513fb318cd2e68581a86e29507e1c6af.zip
Notes
Diffstat (limited to 'games/xgalaga')
-rw-r--r--games/xgalaga/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index 862b30fd7cdc..b3d49e97ee5c 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -11,7 +11,7 @@ PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://people.FreeBSD.org/~linimon/public_distfiles/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT= Galaga resurrected on X
USE_XORG= xpm xmu
@@ -20,23 +20,18 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${LOCALBASE}/lib/X11/xgalaga \
--exec_prefix=${LOCALBASE}/bin
-.if defined(NOSOUND)
+OPTIONS= SOUND "Sound support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_SOUND) && !defined(NOSOUND)
CONFIGURE_ARGS+= --without-sound
PLIST_SUB= SOUND="@comment "
.else
PLIST_SUB= SOUND=""
-pre-configure:
- @${ECHO_CMD} "*****************************************************"
- @${ECHO_CMD} "* Note that you can build a version of xgalaga that *"
- @${ECHO_CMD} "* doesn't use the sound driver by typing *"
- @${ECHO_CMD} "* \"make -DNOSOUND\" *"
- @${ECHO_CMD} "* following a \"make clean\". *"
- @${ECHO_CMD} "* Try it if you don't have a sound card and are *"
- @${ECHO_CMD} "* getting core dumps. *"
- @${ECHO_CMD} "*****************************************************"
.endif
post-install:
@${STRIP_CMD} ${PREFIX}/bin/xgalaga
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>