aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-01-15 01:30:53 +0800
committeroliver <oliver@FreeBSD.org>2005-01-15 01:30:53 +0800
commitf422df3792c08d25eee5d5fe7a9fa8853bb6273f (patch)
tree0f091fbfcccb7da800949a801ced54fd6c30dcb1 /multimedia
parent886f69e7cc1e9b190c937c6ec8fdb288f4f70328 (diff)
downloadfreebsd-ports-gnome-f422df3792c08d25eee5d5fe7a9fa8853bb6273f.tar.gz
freebsd-ports-gnome-f422df3792c08d25eee5d5fe7a9fa8853bb6273f.tar.zst
freebsd-ports-gnome-f422df3792c08d25eee5d5fe7a9fa8853bb6273f.zip
add WITHOUT_AA knob
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xawtv/Makefile12
-rw-r--r--multimedia/xawtv/pkg-plist2
2 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 08876852dd02..c0f14b7f2c01 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -20,8 +20,7 @@ RUN_DEPENDS= iconv:${PORTSDIR}/converters/libiconv \
${X11BASE}/lib/X11/fonts/misc/led-iso8859-1.pcf.gz:${PORTSDIR}/x11-fonts/tv-fonts
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d \
png.5:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- aa.1:${PORTSDIR}/graphics/aalib
+ jpeg.9:${PORTSDIR}/graphics/jpeg
USE_MOTIF= yes
GNU_CONFIGURE= yes
@@ -50,6 +49,15 @@ ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS= alpha i386
.endif
+.if defined(WITHOUT_AA)
+CONFIGURE_ARGS+=--disable-aa
+PLIST_SUB+= AA="@comment "
+.else
+CONFIGURE_ARGS+=--enable-aa
+LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
+PLIST_SUB+= AA=""
+.endif
+
.if defined(WITH_LIBZVBI)
LIB_DEPENDS+= zvbi.4:${PORTSDIR}/devel/libzvbi
CONFIGURE_ARGS+=--enable-zvbi
diff --git a/multimedia/xawtv/pkg-plist b/multimedia/xawtv/pkg-plist
index 87ef0117a786..25c1327fdd0c 100644
--- a/multimedia/xawtv/pkg-plist
+++ b/multimedia/xawtv/pkg-plist
@@ -12,7 +12,7 @@ bin/showqt
bin/showriff
bin/streamer
bin/subtitles
-bin/ttv
+%%AA%%bin/ttv
bin/v4lctl
bin/webcam
bin/xawtv