aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-09-20 09:12:48 +0800
committerjbeich <jbeich@FreeBSD.org>2015-09-20 09:12:48 +0800
commitc1f9c003f76baf3d74424b0f20e71f8fc68b4f83 (patch)
tree4a8c190e99b07415d02d9abbdd6b2c103390d4bb /games
parent6a550534202e76df4d4decd14950d0f5a171327d (diff)
downloadfreebsd-ports-gnome-c1f9c003f76baf3d74424b0f20e71f8fc68b4f83.tar.gz
freebsd-ports-gnome-c1f9c003f76baf3d74424b0f20e71f8fc68b4f83.tar.zst
freebsd-ports-gnome-c1f9c003f76baf3d74424b0f20e71f8fc68b4f83.zip
games/stepmania-devel: minor cleanup
- Convert to USE_GL - Convert to option helpers
Diffstat (limited to 'games')
-rw-r--r--games/stepmania-devel/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/games/stepmania-devel/Makefile b/games/stepmania-devel/Makefile
index 2121d703e188..02a5a3d76f79 100644
--- a/games/stepmania-devel/Makefile
+++ b/games/stepmania-devel/Makefile
@@ -18,8 +18,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/Docs/Licenses.txt
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \
- libGLEW.so:${PORTSDIR}/graphics/glew
+LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
OPTIONS_DEFINE= PULSEAUDIO VORBIS DOCS
OPTIONS_DEFAULT=VORBIS
@@ -28,7 +27,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-SM5-alpha3
USES= iconv pathfix perl5 pkgconfig shebangfix tar:bzip2
USE_XORG= x11 xau xdmcp xext xrandr xrender xtst
-USE_GL= gl glu
+USE_GL= gl glu glew
USE_GNOME= gtk20
USE_PERL5= build
GNU_CONFIGURE= yes
@@ -43,13 +42,8 @@ LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lpthread
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_WITH= vorbis
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio
-.else
-CONFIGURE_ENV+= ac_cv_lib_pulse_pa_stream_new=no
-.endif
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_CONFIGURE_ENV_OFF= ac_cv_lib_pulse_pa_stream_new=no
post-patch:
@${REINPLACE_CMD} -e \