aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2010-10-17 12:47:23 +0000
committerLars Engels <lme@FreeBSD.org>2010-10-17 12:47:23 +0000
commit5cffd936278c494a425db5cbfcf26590a3f273d6 (patch)
tree9dbc183628c2bc74a32982b8a61a2c8358afaafb /german
parentdd9f6ab2c45104150393cc7f392b415e0263e1dc (diff)
downloadports-5cffd936278c494a425db5cbfcf26590a3f273d6.tar.gz
ports-5cffd936278c494a425db5cbfcf26590a3f273d6.zip
Notes
Diffstat (limited to 'german')
-rw-r--r--german/Makefile1
-rw-r--r--german/mediathek/Makefile54
-rw-r--r--german/mediathek/distinfo3
-rw-r--r--german/mediathek/files/mediathek.in5
-rw-r--r--german/mediathek/pkg-descr6
-rw-r--r--german/mediathek/pkg-plist16
6 files changed, 85 insertions, 0 deletions
diff --git a/german/Makefile b/german/Makefile
index 721e54f54f3d..ef172ab936e4 100644
--- a/german/Makefile
+++ b/german/Makefile
@@ -33,6 +33,7 @@
SUBDIR += ksteak
SUBDIR += linux-eagle
SUBDIR += manpages
+ SUBDIR += mediathek
SUBDIR += pecl-konto_check
SUBDIR += phone
SUBDIR += php_doc
diff --git a/german/mediathek/Makefile b/german/mediathek/Makefile
new file mode 100644
index 000000000000..e3d6b0b3fd64
--- /dev/null
+++ b/german/mediathek/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: mediathek
+# Date created: 2010-10-17
+# Whom: Lars Engels <lme@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mediathek
+PORTVERSION= 2.2.1
+CATEGORIES= german java
+MASTER_SITES= SF/zdfmediathk/Mediathek/Mediathek%20${PORTVERSION}
+DISTNAME= Mediathek_${PORTVERSION}
+
+MAINTAINER= lme@FreeBSD.org
+COMMENT= Filme der oeff. rechtlichen Sender herunterladen und ansehen
+
+RUN_DEPENDS= flvstreamer:${PORTSDIR}/multimedia/flvstreamer
+
+NO_BUILD= yes
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.6+
+SUB_FILES= mediathek
+
+OPTIONS= MPLAYER "mplayer zum Aufnehmen verwenden" on \
+ VLC "VLC zum Abspielen verwenden" on
+
+.include <bsd.port.pre.mk>
+
+pre-everything::
+.if !defined(WITH_MPLAYER) && !defined(WITH_VLC)
+ @${ECHO_MSG} "Es muss entweder mplayer oder VLC ausgewaehlt sein"
+ @${FALSE}
+.endif
+
+.if defined(WITH_MPLAYER)
+RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
+.endif
+
+.if defined(WITH_VLC)
+RUN_DEPENDS+= vlc:${PORTSDIR}/multimedia/vlc
+.endif
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKSRC}
+ @${UNZIP_CMD} -q -d ${WRKSRC} ${_DISTDIR}/${EXTRACT_ONLY}
+
+do-install:
+ @cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} "${DATADIR}/{}" \;
+ @cd ${WRKSRC} && ${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+ @${INSTALL_SCRIPT} ${WRKDIR}/mediathek ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/german/mediathek/distinfo b/german/mediathek/distinfo
new file mode 100644
index 000000000000..15ac1171a1ed
--- /dev/null
+++ b/german/mediathek/distinfo
@@ -0,0 +1,3 @@
+MD5 (Mediathek_2.2.1.zip) = 49bc5aa2ac8b07072048ea6d8d73ad87
+SHA256 (Mediathek_2.2.1.zip) = ad8d69fd5c474ed958aba94e2e3f2357ea6b9f9134e2fc230c8f90e395536013
+SIZE (Mediathek_2.2.1.zip) = 2207312
diff --git a/german/mediathek/files/mediathek.in b/german/mediathek/files/mediathek.in
new file mode 100644
index 000000000000..230e55da4150
--- /dev/null
+++ b/german/mediathek/files/mediathek.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd %%DATADIR%%
+JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java -jar Mediathek.jar "$@"
+
diff --git a/german/mediathek/pkg-descr b/german/mediathek/pkg-descr
new file mode 100644
index 000000000000..00d74b7b7bdf
--- /dev/null
+++ b/german/mediathek/pkg-descr
@@ -0,0 +1,6 @@
+Das Programm durchsucht die Mediathek verschiedener Sender (ARD, ZDF, Arte,
+3Sat, MDR, NDR, ORF, SF), laedt Beitraege mit einem Programm eigener Wahl und
+kann Themen als Abos anlegen und neue Beitraege automatisch downloaden. Es gibt
+auch eine Moeglichkeit, Podcast zu verwalten und zu downloaden.
+
+WWW: http://zdfmediathk.sourceforge.net/
diff --git a/german/mediathek/pkg-plist b/german/mediathek/pkg-plist
new file mode 100644
index 000000000000..c5f39a6dc555
--- /dev/null
+++ b/german/mediathek/pkg-plist
@@ -0,0 +1,16 @@
+bin/mediathek
+%%DATADIR%%/Anleitung_MediathekView_2.2.1.pdf
+%%DATADIR%%/Bitte_lesen.txt
+%%DATADIR%%/Copyright/commons-lang-LICENSE.txt
+%%DATADIR%%/Copyright/flvstreamer-LICENSE.txt
+%%DATADIR%%/Copyright/jdom-LICENSE.txt
+%%DATADIR%%/Copyright/medithek-LICENSE.txt
+%%DATADIR%%/Copyright/rome-LICENSE.txt
+%%DATADIR%%/Mediathek.jar
+%%DATADIR%%/lib/commons-lang-2.5.jar
+%%DATADIR%%/lib/jdom.jar
+%%DATADIR%%/lib/rome-1.0.jar
+%%DATADIR%%/releases.txt
+@dirrm %%DATADIR%%/lib
+@dirrm %%DATADIR%%/Copyright
+@dirrm %%DATADIR%%