svn commit: r305236 - head/games/stepmania-devel
Baptiste Daroussin
bapt at FreeBSD.org
Thu Oct 4 07:32:10 UTC 2012
Author: bapt
Date: Thu Oct 4 07:16:12 2012
New Revision: 305236
URL: http://svn.freebsd.org/changeset/ports/305236
Log:
Convert to new options framework
Modified:
head/games/stepmania-devel/Makefile
Modified: head/games/stepmania-devel/Makefile
==============================================================================
--- head/games/stepmania-devel/Makefile Thu Oct 4 07:15:25 2012 (r305235)
+++ head/games/stepmania-devel/Makefile Thu Oct 4 07:16:12 2012 (r305236)
@@ -32,24 +32,25 @@ CFLAGS+= -I${LOCALBASE}/include
# Not yet implemented
# FFMPEG "Enable ffmpeg support" off \
-OPTIONS= VORBIS "Enable Ogg Vorbis support" on \
- THEORA "Enable theora support" off \
+OPTIONS_DEFINE= VORBIS THEORA
+OPTIONS_DEFAULT= VORBIS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_VORBIS)
+.if ${PORT_OPTIONS:MVORBIS}
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \
ogg:${PORTSDIR}/audio/libogg
.else
CONFIGURE_ARGS+=--without-vorbis
.endif
-.if defined(WITH_THEORA)
+.if ${PORT_OPTIONS:MTHEORA}
LIB_DEPENDS+= theora.0:${PORTSDIR}/multimedia/libtheora
.else
CONFIGURE_ARGS+=--without-theora
.endif
+.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
BROKEN= does not compile
.endif
More information about the svn-ports-all
mailing list