- Update maintainership.

- OPTIONify.

PR:	 ports/161145
This commit is contained in:
Hiroki Sato 2011-10-01 07:52:30 +00:00
parent 14eb86e660
commit a5cde5de51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282722

View File

@ -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>