aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-01-14 17:30:53 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-01-14 17:30:53 +0000
commit99a266e9b08ac3f023d6b3ee6d8fb9898ec9723a (patch)
tree699f257e1e094d6da3dec1bc60158ad5f5477066 /multimedia
parent0c929d8b42c3123117c412bf63b27c8e2157c992 (diff)
downloadports-99a266e9b08ac3f023d6b3ee6d8fb9898ec9723a.tar.gz
ports-99a266e9b08ac3f023d6b3ee6d8fb9898ec9723a.zip
add WITHOUT_AA knob
Notes
Notes: svn path=/head/; revision=126442
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