aboutsummaryrefslogtreecommitdiff
path: root/multimedia/fxtv
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 12:58:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 12:58:40 +0000
commit6850c2351051c685e2d85b2cbd7dc7bb4525e7df (patch)
tree2ec79ba0438e788ff8ca417ef033f5706959398e /multimedia/fxtv
parent7d7e088c9d0165dc80ef649c781b4db1d536a00e (diff)
downloadports-6850c2351051c685e2d85b2cbd7dc7bb4525e7df.tar.gz
ports-6850c2351051c685e2d85b2cbd7dc7bb4525e7df.zip
Convert to new options framework
While here remove test for unsupported versions
Notes
Notes: svn path=/head/; revision=317872
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r--multimedia/fxtv/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/multimedia/fxtv/Makefile b/multimedia/fxtv/Makefile
index 3b20c489f923..639b83131237 100644
--- a/multimedia/fxtv/Makefile
+++ b/multimedia/fxtv/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: fxtv
-# Date created: Thu Nov 4 19:54:04 EST 1999
-# Whom: Randall Hopper <aa8vb@nc.rr.com>
-#
+# Created by: Randall Hopper <aa8vb@nc.rr.com>
# $FreeBSD$
-#
PORTNAME= fxtv
PORTVERSION= 1.03
@@ -27,13 +23,14 @@ MAN1= fxtv.1
ONLY_FOR_ARCHS= alpha i386 ia64 amd64
-OPTIONS= EXTRA "Extra programs required to record/playback/save" off
+OPTIONS_DEFINE= EXTRA
+EXTRA_DESC= Extra programs required to record/playback/save
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
# This program does not actually require the programs below unless you
# use audio/video recording and/or playback and save to a non-raw format.
-.if defined(WITH_EXTRA)
+.if ${PORT_OPTIONS:MEXTRA}
RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox \
mpg123:${PORTSDIR}/audio/mpg123 \
mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \
@@ -43,4 +40,4 @@ RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox \
pre-install:
${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>