Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 01:12:49 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397347 - head/games/stepmania-devel
Message-ID:  <201509200112.t8K1CnVR000899@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509200112.t8K1CnVR000899>