diff options
author | nox <nox@FreeBSD.org> | 2012-03-23 23:40:42 +0000 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2012-03-23 23:40:42 +0000 |
commit | e97f129b5fe7b9bcaf8314b86da038c399717b31 (patch) | |
tree | ebed38a4bc4feb9725958003fd5804deadffa410 | |
parent | 26b4a73dd9fc0238572460126e834753fd32d153 (diff) | |
download | FreeBSD-ports-e97f129b5fe7b9bcaf8314b86da038c399717b31.zip FreeBSD-ports-e97f129b5fe7b9bcaf8314b86da038c399717b31.tar.gz |
This helper plugin allows remote programming VDR using
VDR-Manager running on Android devices.
WWW: http://projects.vdr-developer.org/projects/vdr-manager/wiki
Feature safe: yes
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/Makefile | 33 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/distinfo | 2 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/files/patch-Makefile | 9 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/files/patch-helpers.cpp | 12 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/files/patch-sock.h | 12 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/pkg-descr | 4 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/pkg-plist | 2 |
8 files changed, 75 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 06bd860..a1a29de 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -349,6 +349,7 @@ SUBDIR += vdr-plugin-streamdev SUBDIR += vdr-plugin-ttxtsubs SUBDIR += vdr-plugin-upnp + SUBDIR += vdr-plugin-vdrmanager SUBDIR += vdr-plugin-vnsiserver SUBDIR += vdr-plugin-wirbelscan SUBDIR += vdr-plugin-xineliboutput diff --git a/multimedia/vdr-plugin-vdrmanager/Makefile b/multimedia/vdr-plugin-vdrmanager/Makefile new file mode 100644 index 0000000..d2bc65a --- /dev/null +++ b/multimedia/vdr-plugin-vdrmanager/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: vdr-plugin-vdrmanager +# Date created: Fri Mar 23 2012 +# Whom: Juergen Lock <nox@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= vdr-plugin-vdrmanager +PORTVERSION= 0.6 +CATEGORIES= multimedia +MASTER_SITES= http://projects.vdr-developer.org/attachments/download/828/ +DISTNAME= ${PORTNAME:S/-plugin//}-${PORTVERSION} + +MAINTAINER= nox@FreeBSD.org +COMMENT= Video Disk Recorder - VDR-Manager server plugin + +PATCH_STRIP= -p1 +PORTDOCS= COPYING README +MAKE_JOBS_SAFE= yes + +.include "${.CURDIR}/../vdr/Makefile.plugins" + +post-patch: post-patch-plugin + +post-install: + @${MKDIR} ${PREFIX}/etc/vdr/plugins + @${INSTALL_DATA} ${WRKSRC}/examples/plugin.vdrmanager.conf ${PREFIX}/etc/vdr/plugins/plugin.vdrmanager.conf.sample +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) +.endif + +.include <bsd.port.mk> diff --git a/multimedia/vdr-plugin-vdrmanager/distinfo b/multimedia/vdr-plugin-vdrmanager/distinfo new file mode 100644 index 0000000..4ea7909 --- /dev/null +++ b/multimedia/vdr-plugin-vdrmanager/distinfo @@ -0,0 +1,2 @@ +SHA256 (vdr/vdr-vdrmanager-0.6.tar.gz) = 4298fa4d806a8de77a417ebd36750983822deb861dcc7c85f6038ebef45f5011 +SIZE (vdr/vdr-vdrmanager-0.6.tar.gz) = 33040 diff --git a/multimedia/vdr-plugin-vdrmanager/files/patch-Makefile b/multimedia/vdr-plugin-vdrmanager/files/patch-Makefile new file mode 100644 index 0000000..c1c4550 --- /dev/null +++ b/multimedia/vdr-plugin-vdrmanager/files/patch-Makefile @@ -0,0 +1,9 @@ +--- a/Makefile ++++ b/Makefile +@@ -80,3 +80,6 @@ dist: clean + + clean: + @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ ++ ++install: ++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION) diff --git a/multimedia/vdr-plugin-vdrmanager/files/patch-helpers.cpp b/multimedia/vdr-plugin-vdrmanager/files/patch-helpers.cpp new file mode 100644 index 0000000..343d475 --- /dev/null +++ b/multimedia/vdr-plugin-vdrmanager/files/patch-helpers.cpp @@ -0,0 +1,12 @@ +--- a/helpers.cpp ++++ b/helpers.cpp +@@ -4,7 +4,9 @@ + + #include <time.h> + #include <unistd.h> ++#ifndef __FreeBSD__ + #include <values.h> ++#endif + #include <vdr/plugin.h> + #include <vdr/timers.h> + #include <vdr/recording.h> diff --git a/multimedia/vdr-plugin-vdrmanager/files/patch-sock.h b/multimedia/vdr-plugin-vdrmanager/files/patch-sock.h new file mode 100644 index 0000000..07ef5ff --- /dev/null +++ b/multimedia/vdr-plugin-vdrmanager/files/patch-sock.h @@ -0,0 +1,12 @@ +--- a/sock.h ++++ b/sock.h +@@ -7,6 +7,9 @@ + + #include <sys/types.h> + #include <sys/socket.h> ++#ifdef __FreeBSD__ ++#include <netinet/in.h> ++#endif + #include <string> + + using namespace std; diff --git a/multimedia/vdr-plugin-vdrmanager/pkg-descr b/multimedia/vdr-plugin-vdrmanager/pkg-descr new file mode 100644 index 0000000..30223a9 --- /dev/null +++ b/multimedia/vdr-plugin-vdrmanager/pkg-descr @@ -0,0 +1,4 @@ +This helper plugin allows remote programming VDR using +VDR-Manager running on Android devices. + +WWW: http://projects.vdr-developer.org/projects/vdr-manager/wiki diff --git a/multimedia/vdr-plugin-vdrmanager/pkg-plist b/multimedia/vdr-plugin-vdrmanager/pkg-plist new file mode 100644 index 0000000..8f584d1 --- /dev/null +++ b/multimedia/vdr-plugin-vdrmanager/pkg-plist @@ -0,0 +1,2 @@ +lib/vdr/libvdr-vdrmanager.so.1.7.22 +etc/vdr/plugins/plugin.vdrmanager.conf.sample |