diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-04 07:16:12 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-10-04 07:16:12 +0000 |
commit | 4bd18c38cf542bbff03c1d918819565be87b282f (patch) | |
tree | 4129fe931cd04258f6b627c935d3f086974769c7 /games/stepmania-devel | |
parent | dd4ee8a24fb74012d5e97cf9ed44f9e4a1bad342 (diff) |
Notes
Diffstat (limited to 'games/stepmania-devel')
-rw-r--r-- | games/stepmania-devel/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/games/stepmania-devel/Makefile b/games/stepmania-devel/Makefile index 5a7f3dbbd0c3..8382d90242b5 100644 --- a/games/stepmania-devel/Makefile +++ b/games/stepmania-devel/Makefile @@ -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 |