aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/vdr-plugin-eepg/Makefile40
-rw-r--r--multimedia/vdr-plugin-eepg/distinfo2
-rw-r--r--multimedia/vdr-plugin-eepg/files/patch-Makefile9
-rw-r--r--multimedia/vdr-plugin-eepg/pkg-descr14
-rw-r--r--multimedia/vdr-plugin-eepg/pkg-plist6
6 files changed, 72 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 3402040fae68..a8cbddbc34e6 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -334,6 +334,7 @@
SUBDIR += vdpauinfo
SUBDIR += vdr
SUBDIR += vdr-plugin-control
+ SUBDIR += vdr-plugin-eepg
SUBDIR += vdr-plugin-epgsearch
SUBDIR += vdr-plugin-femon
SUBDIR += vdr-plugin-infosatepg
diff --git a/multimedia/vdr-plugin-eepg/Makefile b/multimedia/vdr-plugin-eepg/Makefile
new file mode 100644
index 000000000000..bb29d4171fc5
--- /dev/null
+++ b/multimedia/vdr-plugin-eepg/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: vdr-plugin-eepg
+# Date created: Wed Dec 21 18:34:25 CET 2011
+# Whom: Juergen Lock <nox@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vdr-plugin-eepg
+PORTVERSION= 0.0.6p2011071921
+CATEGORIES= multimedia
+MASTER_SITES= LOCAL/nox/
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/p.*/pre/}-0-g${GITHASH}
+
+MAINTAINER= nox@FreeBSD.org
+COMMENT= Video Disk Recorder - extended EPG plugin
+
+GITHASH= e7383ed
+PATCH_STRIP= -p1
+HAVE_CONFIGURE= yes
+PORTDOCS= COPYING README
+MAKE_JOBS_SAFE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${GITHASH}
+
+.include "${.CURDIR}/../vdr/Makefile.plugins"
+
+post-patch: post-patch-plugin
+
+post-install:
+ @${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}
+ @${INSTALL_DATA} ${WRKSRC}/eepg.equiv.IT ${PREFIX}/etc/vdr/plugins/${PLUGIN}
+ @${INSTALL_DATA} ${WRKSRC}/eepg.equiv.IT ${PREFIX}/etc/vdr/plugins/${PLUGIN}/eepg.equiv.sample
+ @if [ ! -f ${PREFIX}/etc/vdr/plugins/${PLUGIN}/eepg.equiv ]; then \
+ ${INSTALL_DATA} -o ${VDR_USER} -g ${VDR_GROUP} ${WRKSRC}/eepg.equiv.IT ${PREFIX}/etc/vdr/plugins/${PLUGIN}/eepg.equiv; \
+ fi
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+.endif
+
+.include <bsd.port.mk>
diff --git a/multimedia/vdr-plugin-eepg/distinfo b/multimedia/vdr-plugin-eepg/distinfo
new file mode 100644
index 000000000000..e6a7710063af
--- /dev/null
+++ b/multimedia/vdr-plugin-eepg/distinfo
@@ -0,0 +1,2 @@
+SHA256 (vdr/vdr-plugin-eepg-0.0.6pre-0-ge7383ed.tar.gz) = 411da7abf4edee3591086d57cfb33c48c3f71396bc823f61e58612b6ee8ccdca
+SIZE (vdr/vdr-plugin-eepg-0.0.6pre-0-ge7383ed.tar.gz) = 81815
diff --git a/multimedia/vdr-plugin-eepg/files/patch-Makefile b/multimedia/vdr-plugin-eepg/files/patch-Makefile
new file mode 100644
index 000000000000..1da862b8cdea
--- /dev/null
+++ b/multimedia/vdr-plugin-eepg/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- a/Makefile
++++ b/Makefile
+@@ -130,3 +130,6 @@ dist: clean
+ clean:
+ @-rm -f $(OBJS) $(DEPFILE) *.so *.tar.gz core* *~
+ # @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
++
++install:
++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)
diff --git a/multimedia/vdr-plugin-eepg/pkg-descr b/multimedia/vdr-plugin-eepg/pkg-descr
new file mode 100644
index 000000000000..1eb6dbc0b5cb
--- /dev/null
+++ b/multimedia/vdr-plugin-eepg/pkg-descr
@@ -0,0 +1,14 @@
+This VDR plugin parses the extended (2 to 10 day) EPG data which is send by
+providers on their portal channels. This EEPG data is transmitted in a
+non-standard format on a non-standard PID.
+
+Currently the following EEPG formats are supported:
+-Mediahighway 1 (CanaalDigitaalNL, CSat, Cyfra+)
+-Mediahighway 2 (Digital+)
+-Sky Italy
+-Sky UK
+-Freesat
+-Premiere
+-NagraGuide (CanaalDigitaalNL, only in test)
+
+WWW: http://projects.vdr-developer.org/projects/plg-eepg
diff --git a/multimedia/vdr-plugin-eepg/pkg-plist b/multimedia/vdr-plugin-eepg/pkg-plist
new file mode 100644
index 000000000000..c68cd9ffba64
--- /dev/null
+++ b/multimedia/vdr-plugin-eepg/pkg-plist
@@ -0,0 +1,6 @@
+lib/vdr/libvdr-eepg.so.1.7.19
+etc/vdr/plugins/eepg/eepg.equiv.IT
+@unexec if cmp -s %D/etc/vdr/plugins/eepg/eepg.equiv.sample %D/etc/vdr/plugins/eepg/eepg.equiv; then rm -f %D/etc/vdr/plugins/eepg/eepg.equiv; fi
+etc/vdr/plugins/eepg/eepg.equiv.sample
+@exec if [ ! -f %D/etc/vdr/plugins/eepg/eepg.equiv ] ; then cp -p %D/%F %B/eepg.equiv; fi
+@dirrmtry etc/vdr/plugins/eepg