Date: Thu, 4 Oct 2012 07:16:12 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305236 - head/games/stepmania-devel Message-ID: <201210040716.q947GCnG091954@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210040716.q947GCnG091954>