diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-09-20 09:12:48 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-09-20 09:12:48 +0800 |
commit | c1f9c003f76baf3d74424b0f20e71f8fc68b4f83 (patch) | |
tree | 4a8c190e99b07415d02d9abbdd6b2c103390d4bb /games | |
parent | 6a550534202e76df4d4decd14950d0f5a171327d (diff) | |
download | freebsd-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/Makefile | 14 |
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 \ |