summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-04-30 19:09:06 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-04-30 19:09:06 +0000
commit69f41c8ff4bd1173fdc99e32cd14ca17954957ed (patch)
treeb86e707ce5926cade858061f0a0135604e6dc178 /multimedia
parenthttp://www.vdr-wiki.de/wiki/index.php/Reelchannelscan-plugin (diff)
http://www.vdr-wiki.de/wiki/index.php/Wirbelscan-plugin
This plugin performs a channel scans for digital terrestrial and digital cable TV and analog ivtv cards, satellite is also supported. WWW: http://wirbel.htpc-forum.de/wirbelscan/index2.html
Notes
Notes: svn path=/head/; revision=273379
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/vdr-plugin-wirbelscan/Makefile35
-rw-r--r--multimedia/vdr-plugin-wirbelscan/distinfo2
-rw-r--r--multimedia/vdr-plugin-wirbelscan/files/patch-Makefile21
-rw-r--r--multimedia/vdr-plugin-wirbelscan/files/types.sed5
-rw-r--r--multimedia/vdr-plugin-wirbelscan/pkg-descr6
-rw-r--r--multimedia/vdr-plugin-wirbelscan/pkg-plist22
7 files changed, 92 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 64fcbddd22b1..ca9708674578 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -350,6 +350,7 @@
SUBDIR += vdr-plugin-streamdev
SUBDIR += vdr-plugin-upnp
SUBDIR += vdr-plugin-vnsiserver
+ SUBDIR += vdr-plugin-wirbelscan
SUBDIR += vdr-plugin-xineliboutput
SUBDIR += vdr-plugins
SUBDIR += vic
diff --git a/multimedia/vdr-plugin-wirbelscan/Makefile b/multimedia/vdr-plugin-wirbelscan/Makefile
new file mode 100644
index 000000000000..4b23843a8bb6
--- /dev/null
+++ b/multimedia/vdr-plugin-wirbelscan/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: vdr-plugin-wirbelscan
+# Date created: Sat Apr 30 18:33:49 CEST 2011
+# Whom: Juergen Lock <nox@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vdr-plugin-wirbelscan
+PORTVERSION= 0.0.7
+CATEGORIES= multimedia
+MASTER_SITES= http://wirbel.htpc-forum.de/wirbelscan/
+DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= nox@FreeBSD.org
+COMMENT= Video Disk Recorder - wirbelscan plugin
+
+PATCH_STRIP= -p1
+HAVE_CONFIGURE= yes
+PORTDOCS= COPYING README
+MAKE_JOBS_SAFE= yes
+WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
+
+.include "${.CURDIR}/../vdr/Makefile.plugins"
+
+post-patch: post-patch-plugin
+ ${REINPLACE_CMD} -f ${FILESDIR}/types.sed ${WRKSRC}/*.c ${WRKSRC}/*.h
+
+post-install: post-install-pluginlocales
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+.endif
+
+.include <bsd.port.mk>
diff --git a/multimedia/vdr-plugin-wirbelscan/distinfo b/multimedia/vdr-plugin-wirbelscan/distinfo
new file mode 100644
index 000000000000..650ef554bac1
--- /dev/null
+++ b/multimedia/vdr-plugin-wirbelscan/distinfo
@@ -0,0 +1,2 @@
+SHA256 (vdr/vdr-wirbelscan-0.0.7.tgz) = 42ffc3da1efd2ec6e40e233e4750f9b19ba04aa6e887d9cac960b758e4371dd2
+SIZE (vdr/vdr-wirbelscan-0.0.7.tgz) = 149949
diff --git a/multimedia/vdr-plugin-wirbelscan/files/patch-Makefile b/multimedia/vdr-plugin-wirbelscan/files/patch-Makefile
new file mode 100644
index 000000000000..fa0a8e115701
--- /dev/null
+++ b/multimedia/vdr-plugin-wirbelscan/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- a/Makefile
++++ b/Makefile
+@@ -119,7 +119,11 @@ i18n: $(I18Nmsgs) $(I18Npot)
+
+ libvdr-$(PLUGIN).so: $(OBJS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
++ifdef FREEBSD
++ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION)
++else
+ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
++endif
+
+ perm:
+ @chmod 644 *.{c,h,html} COPYING HISTORY README TODO Makefile po/* patches/*
+@@ -138,3 +142,6 @@ clean:
+
+ clean_code: clean
+ uncrustify -c ../../../../clean_code/config --replace --no-backup $(UNCRUSTIFY_FILES)
++
++install:
++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
diff --git a/multimedia/vdr-plugin-wirbelscan/files/types.sed b/multimedia/vdr-plugin-wirbelscan/files/types.sed
new file mode 100644
index 000000000000..6230cb96b7a1
--- /dev/null
+++ b/multimedia/vdr-plugin-wirbelscan/files/types.sed
@@ -0,0 +1,5 @@
+/^#include <linux\/dvb\/frontend.h>/i\
+#include <stdint.h>
+s/^#include <linux\/types.h>/#include <stdint.h>/
+s/__u8/uint8_t/g
+s/__u32/uint32_t/g
diff --git a/multimedia/vdr-plugin-wirbelscan/pkg-descr b/multimedia/vdr-plugin-wirbelscan/pkg-descr
new file mode 100644
index 000000000000..bf572c106c69
--- /dev/null
+++ b/multimedia/vdr-plugin-wirbelscan/pkg-descr
@@ -0,0 +1,6 @@
+http://www.vdr-wiki.de/wiki/index.php/Wirbelscan-plugin
+
+This plugin performs a channel scans for digital terrestrial and digital
+cable TV and analog ivtv cards, satellite is also supported.
+
+WWW: http://wirbel.htpc-forum.de/wirbelscan/index2.html
diff --git a/multimedia/vdr-plugin-wirbelscan/pkg-plist b/multimedia/vdr-plugin-wirbelscan/pkg-plist
new file mode 100644
index 000000000000..66539983a8d4
--- /dev/null
+++ b/multimedia/vdr-plugin-wirbelscan/pkg-plist
@@ -0,0 +1,22 @@
+lib/vdr/libvdr-wirbelscan.so.1.7.18
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/sl_SI/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/ru_RU/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/hr_HR/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/nn_NO/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/de_DE/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/tr_TR/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/sv_SE/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/el_GR/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/nl_NL/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/it_IT/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/es_ES/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/fi_FI/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/da_DK/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/hu_HU/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/cs_CZ/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/ca_ES/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/et_EE/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/ro_RO/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/pl_PL/LC_MESSAGES/vdr-wirbelscan.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/vdr-wirbelscan.mo