summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2015-11-08 21:31:00 +0000
committerdholland <dholland@pkgsrc.org>2015-11-08 21:31:00 +0000
commita8a9c9a3ce9e786a76828a707f332a7d00ff2dc8 (patch)
tree209f1cdf50445c8cfa9c95fe1c74a6e2fc50f2c4
parent4944878de2b64c4096b9f28b196faf538362786d (diff)
downloadpkgsrc-a8a9c9a3ce9e786a76828a707f332a7d00ff2dc8.tar.gz
Fix PLIST handling.
-rw-r--r--multimedia/xawtv/Makefile12
-rw-r--r--multimedia/xawtv/PLIST10
-rw-r--r--multimedia/xawtv/PLIST.DragonFly2
-rw-r--r--multimedia/xawtv/PLIST.Linux10
-rw-r--r--multimedia/xawtv/PLIST.NetBSD2
5 files changed, 20 insertions, 16 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index 48ee73e6367..6aaf2028f74 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2015/10/14 20:17:27 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2015/11/08 21:31:00 dholland Exp $
DISTNAME= xawtv-3.95
PKGREVISION= 18
@@ -52,6 +52,16 @@ CFLAGS+= -I${X11BASE}/include/X11/fonts
MAKE_FLAGS+= SUID_ROOT= FS_LIBS=-lFS
+PLIST_VARS+= bsd v4l linux
+.if ${OPSYS} == "Linux"
+PLIST.v4l= yes
+PLIST.linux= yes
+.elif ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Bitrig" ||\
+ ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+PLIST.bsd= yes
+#PLIST.v4l= yes # XXX: should teach it to probe this
+.endif
+
.include "../../devel/ncurses/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
diff --git a/multimedia/xawtv/PLIST b/multimedia/xawtv/PLIST
index 6bb3438fb4c..d0e706ce41b 100644
--- a/multimedia/xawtv/PLIST
+++ b/multimedia/xawtv/PLIST
@@ -1,14 +1,18 @@
-@comment $NetBSD: PLIST,v 1.4 2011/08/13 04:43:51 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.5 2015/11/08 21:31:00 dholland Exp $
bin/dump-mixers
+${PLIST.linux}bin/fbtv
bin/ntsc-cc
bin/pia
bin/propwatch
+${PLIST.linux}bin/radio
bin/record
bin/rootv
bin/showqt
bin/showriff
bin/streamer
bin/subtitles
+${PLIST.v4l}bin/v4l-conf
+${PLIST.v4l}bin/v4l-info
bin/v4lctl
bin/webcam
bin/xawtv
@@ -17,6 +21,10 @@ lib/X11/app-defaults/Xawtv
lib/xawtv/bilinear.so
lib/xawtv/conv-mjpeg.so
lib/xawtv/cubic.so
+${PLIST.bsd}lib/xawtv/drv0-bsd.so
+${PLIST.v4l}lib/xawtv/drv0-v4l2-old.so
+${PLIST.v4l}lib/xawtv/drv0-v4l2.so
+${PLIST.v4l}lib/xawtv/drv1-v4l.so
lib/xawtv/flt-disor.so
lib/xawtv/flt-gamma.so
lib/xawtv/flt-invert.so
diff --git a/multimedia/xawtv/PLIST.DragonFly b/multimedia/xawtv/PLIST.DragonFly
deleted file mode 100644
index cf413df1cbb..00000000000
--- a/multimedia/xawtv/PLIST.DragonFly
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST.DragonFly,v 1.1 2011/12/22 07:58:16 marino Exp $
-lib/xawtv/drv0-bsd.so
diff --git a/multimedia/xawtv/PLIST.Linux b/multimedia/xawtv/PLIST.Linux
deleted file mode 100644
index 851315a0e12..00000000000
--- a/multimedia/xawtv/PLIST.Linux
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST.Linux,v 1.2 2011/12/26 13:24:06 joerg Exp $
-bin/fbtv
-bin/radio
-bin/v4l-conf
-bin/v4l-info
-lib/xawtv/drv0-v4l2-old.so
-lib/xawtv/drv0-v4l2.so
-lib/xawtv/drv1-v4l.so
-man/es/man1/v4lctl.1
-man/es/man8/v4l-conf.8
diff --git a/multimedia/xawtv/PLIST.NetBSD b/multimedia/xawtv/PLIST.NetBSD
deleted file mode 100644
index bb58523aec2..00000000000
--- a/multimedia/xawtv/PLIST.NetBSD
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST.NetBSD,v 1.1 2011/08/13 04:43:51 cheusov Exp $
-lib/xawtv/drv0-bsd.so