Just in case someone is testing e.g. webcamd and looks for this info...
These four are part of the Linux dvb-apps tree which seems to be
full of Linuxisms and thus not easy to port, but at least the [acst]zap
utilities build with little effort:
hg clone http://linuxtv.org/hg/dvb-apps
cd dvb-apps/util/szap
gmake 'CFLAGS+=-I/usr/local/include -DO_LARGEFILE=0'
This leaves the binaries as dvb-apps/util/szap/?zap and needs
devel/mercurial for the checkout as well as at least devel/gmake
for the build and multimedia/v4l_compat for the linux dvb
headers. There are some example channel.conf files in
dvb-apps/util/szap/channels-conf/ - you can also use multimedia/w_scan
to generate channels.conf files, see the w_scan homepage at:
http://wirbel.htpc-forum.de/w_scan/index_en.html
and the zap and w_scan utilities linuxtv wiki pages at:
http://www.linuxtv.org/wiki/index.php/Zap
and:
http://www.linuxtv.org/wiki/index.php/W_scan
for examples; see especially w_scan options -c, -f, and -X; and -h
as well as -H to make it list the rest of the options it knows.
And finally for completeness sake, if you use dvb-s(2) you probably
should better use szap-s2 which is already in ports as multimedia/szap-s2:
http://www.freshports.org/multimedia/szap-s2
and its linuxtv wiki page:
http://www.linuxtv.org/wiki/index.php/Szap-s2
Enjoy, :)
Juergen