svn commit: r397347 - head/games/stepmania-devel
Jan Beich
jbeich at FreeBSD.org
Sun Sep 20 01:12:49 UTC 2015
Author: jbeich
Date: Sun Sep 20 01:12:48 2015
New Revision: 397347
URL: https://svnweb.freebsd.org/changeset/ports/397347
Log:
games/stepmania-devel: minor cleanup
- Convert to USE_GL
- Convert to option helpers
Modified:
head/games/stepmania-devel/Makefile (contents, props changed)
Modified: head/games/stepmania-devel/Makefile
==============================================================================
--- head/games/stepmania-devel/Makefile Sun Sep 20 01:12:35 2015 (r397346)
+++ head/games/stepmania-devel/Makefile Sun Sep 20 01:12:48 2015 (r397347)
@@ -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-alpha
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 -lpth
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 \
More information about the svn-ports-all
mailing list