aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/enfle/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-13 05:42:32 +0800
committerbapt <bapt@FreeBSD.org>2012-06-13 05:42:32 +0800
commitf5eba1acd02cb57a7650fe6c33b912240f6ab8ab (patch)
tree785d921da1883d2c1df77c5add82a844e2ae090b /graphics/enfle/Makefile
parenteb2a7f0a6ba691b8505dc2684f14abff26a76009 (diff)
downloadfreebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.gz
freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.zst
freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.zip
Conver to new options framework
Diffstat (limited to 'graphics/enfle/Makefile')
-rw-r--r--graphics/enfle/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/enfle/Makefile b/graphics/enfle/Makefile
index 8292760c0c53..703cce7594d6 100644
--- a/graphics/enfle/Makefile
+++ b/graphics/enfle/Makefile
@@ -24,8 +24,8 @@ LIB_DEPENDS= arc.1:${PORTSDIR}/archivers/libarc \
theora.0:${PORTSDIR}/multimedia/libtheora
RUN_DEPENDS:= ${BUILD_DEPENDS}
-OPTIONS= SIMD "Enable x86 SIMD (MMX/SSE)" off \
- AVCODEC "Enable libavcodec support" off
+OPTIONS_DEFINE= SIMD AVCODEC
+AVCODEC_DESC= Enable libavcodec support
USE_LDCONFIG= yes
USE_BZIP2= yes
@@ -49,7 +49,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
.if ${ARCH} == "i386"
CONFIGURE_ARGS+= --enable-spi --enable-dmo
-.if !defined(WITH_SIMD)
+.if empty(PORT_OPTIONS:MSIMD)
CONFIGURE_ARGS+= --disable-mmx --disable-sse
.endif
.endif
@@ -58,7 +58,7 @@ CONFIGURE_ARGS+= --disable-mmx --disable-sse
BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
-.if defined(WITH_AVCODEC)
+.if ${PORT_OPTIONS:MAVCODEC}
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
PLIST_SUB+= AVCODEC=""
.else