aboutsummaryrefslogtreecommitdiff
path: root/multimedia/fxtv
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:34:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:34:03 +0000
commit27be599386e4df13f9d8237ddbf3228189cabbd8 (patch)
tree7b9acfb658692c9ecae24fb5d57009e617c572c1 /multimedia/fxtv
parent198efcb27680baa8e870d36fdcc6f7d91fecf98e (diff)
downloadports-27be599386e4df13f9d8237ddbf3228189cabbd8.tar.gz
ports-27be599386e4df13f9d8237ddbf3228189cabbd8.zip
Notes
Diffstat (limited to 'multimedia/fxtv')
-rw-r--r--multimedia/fxtv/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/multimedia/fxtv/Makefile b/multimedia/fxtv/Makefile
index d55dadfc45db..299dbecf5b04 100644
--- a/multimedia/fxtv/Makefile
+++ b/multimedia/fxtv/Makefile
@@ -19,22 +19,26 @@ COMMENT= X-based TV Display and Capture Application (for use with bt848 driver)
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
-# 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.
-#RUN_DEPENDS= sox:${PORTSDIR}/audio/sox \
-# mpg123:${PORTSDIR}/audio/mpg123 \
-# mpeg_musicin:${PORTSDIR}/audio/mpegaudio \
-# mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \
-# mplex:${PORTSDIR}/multimedia/mplex
-
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
MAKE_FLAGS= -e
MAN1= fxtv.1
+OPTIONS= EXTRA "Extra programs required to record/playback/save" off
+
.include <bsd.port.pre.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)
+RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox \
+ mpg123:${PORTSDIR}/audio/mpg123 \
+ mpeg_musicin:${PORTSDIR}/audio/mpegaudio \
+ mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \
+ mplex:${PORTSDIR}/multimedia/mplex
+.endif
+
pre-everything::
.if ${OSVERSION} < 500000
ONLY_FOR_ARCHS= i386