aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kino/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
commit222461c302e52a3848555e999ecc7a10f98b278e (patch)
tree4fad0f8d9c328a570a49371daf5f0078d7075272 /multimedia/kino/Makefile
parentb6155c63444b79580e9bd13727472581d1ed66f1 (diff)
downloadports-222461c302e52a3848555e999ecc7a10f98b278e.tar.gz
ports-222461c302e52a3848555e999ecc7a10f98b278e.zip
Notes
Diffstat (limited to 'multimedia/kino/Makefile')
-rw-r--r--multimedia/kino/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/multimedia/kino/Makefile b/multimedia/kino/Makefile
index 34e63e0a56d1..7769540af203 100644
--- a/multimedia/kino/Makefile
+++ b/multimedia/kino/Makefile
@@ -20,8 +20,9 @@ LIB_DEPENDS= dv.4:${PORTSDIR}/multimedia/libdv \
RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mencoder \
mplex:${PORTSDIR}/multimedia/mjpegtools
-OPTIONS= QUICKTIME "With Quicktime support" off \
- FFMPEG_KINO "With ffmpeg-kino" off
+OPTIONS_DEFINE= QUICKTIME FFMPEG_KINO
+QUICKTIME_DESC= With Quicktime support
+FFMPEG_KINO_DESC= With ffmpeg-kino
USE_XORG= x11 xv ice
USE_AUTOTOOLS= autoconf
@@ -38,18 +39,18 @@ LDFLAGS+= -L${LOCALBASE}/lib/libquicktime \
CONFIGURE_ARGS= --with-dv1394
MAN1= kino.1 kino2raw.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_FFMPEG_KINO)
+.if ${PORT_OPTIONS:MFFMPEG_KINO}
MAN1+= ffmpeg-kino.1
.endif
-.if defined(WITH_QUICKTIME)
+.if ${PORT_OPTIONS:MQUICKTIME}
LIB_DEPENDS+= quicktime.0:${PORTSDIR}/multimedia/libquicktime
CONFIGURE_ARGS+= --enable-quicktime
.endif
-.if defined(WITH_FFMPEG_KINO)
+.if ${PORT_OPTIONS:MFFMPEG_KINO}
PLIST_SUB+= FFMPEG_KINO=""
.else
CONFIGURE_ARGS+= --disable-local-ffmpeg
@@ -57,4 +58,4 @@ PLIST_SUB+= FFMPEG_KINO="@comment "
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>