diff options
author | Juergen Lock <nox@FreeBSD.org> | 2012-03-23 23:40:42 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2012-03-23 23:40:42 +0000 |
commit | cefb9b9c64e35619cca8cd8176836fc969cb0d51 (patch) | |
tree | 86b1dd7ed8df35df6937932bc2ba15055be63bc8 /multimedia | |
parent | 54698eb15aeb734b0131bbecf3e127a1508c7066 (diff) | |
download | ports-cefb9b9c64e35619cca8cd8176836fc969cb0d51.tar.gz ports-cefb9b9c64e35619cca8cd8176836fc969cb0d51.zip |
Notes
Diffstat (limited to 'multimedia')
-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 06bd860a4bec..a1a29dee551f 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 000000000000..d2bc65af3158 --- /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 000000000000..4ea790908c8f --- /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 000000000000..c1c4550ecc81 --- /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 000000000000..343d475b44e8 --- /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 000000000000..07ef5ff21465 --- /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 000000000000..30223a9aee5a --- /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 000000000000..8f584d1c133f --- /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 |