diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 16:35:45 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 16:35:45 +0000 |
commit | 3a283e24f296371e9b753c09e3e62a92ef3d8703 (patch) | |
tree | 88e0a2bbddafb5c9bdc18e8e02c5e59fb9f9d471 /games/xscorch | |
parent | 7a0a8929bea1c510b4f30261d294a78b556b49d7 (diff) |
Convert to new options framework
Notes
Notes:
svn path=/head/; revision=299119
Diffstat (limited to 'games/xscorch')
-rw-r--r-- | games/xscorch/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/games/xscorch/Makefile b/games/xscorch/Makefile index 1db1b9f15b88..d87a85ac7554 100644 --- a/games/xscorch/Makefile +++ b/games/xscorch/Makefile @@ -17,7 +17,8 @@ COMMENT= Multiplayer tank shoot-em-up LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS= MIKMOD "Enable libmikmod support" on +OPTIONS_DEFINE= MIKMOD +OPTIONS_DEFAULT= MIKMOD USE_GNOME= gtk20 USE_PERL5= yes @@ -29,11 +30,11 @@ MAN6= xscorch.6 .include <bsd.port.options.mk> -.if defined(WITHOUT_MIKMOD) -CONFIGURE_ARGS+=--disable-sound -.else +.if ${PORT_OPTIONS:MMIKMOD} LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE} +.else +CONFIGURE_ARGS+=--disable-sound .endif .include <bsd.port.mk> |