From 24d00996b8da4bf5beaf0649858647d62237f166 Mon Sep 17 00:00:00 2001 From: lme Date: Mon, 20 Feb 2017 16:39:05 +0000 Subject: german/mediathek: - Rename the port to german/mediathekview to reflect upstream change (a long time ago) - Update to 13.0.1 - Use upstream's Java start parameters in mediathekview.in - Switch from .zip to .tar.gz distfile - Add an OPTION for multimedia/mpv as player / backend - Modernize OPTIONS --- german/Makefile | 2 +- german/mediathek/Makefile | 68 ----------------------------- german/mediathek/distinfo | 3 -- german/mediathek/files/mediathek.in | 6 --- german/mediathek/pkg-descr | 10 ----- german/mediathek/pkg-plist | 22 ---------- german/mediathekview/Makefile | 57 ++++++++++++++++++++++++ german/mediathekview/distinfo | 3 ++ german/mediathekview/files/mediathekview.in | 6 +++ german/mediathekview/pkg-descr | 10 +++++ german/mediathekview/pkg-plist | 24 ++++++++++ 11 files changed, 101 insertions(+), 110 deletions(-) delete mode 100644 german/mediathek/Makefile delete mode 100644 german/mediathek/distinfo delete mode 100644 german/mediathek/files/mediathek.in delete mode 100644 german/mediathek/pkg-descr delete mode 100644 german/mediathek/pkg-plist create mode 100644 german/mediathekview/Makefile create mode 100644 german/mediathekview/distinfo create mode 100644 german/mediathekview/files/mediathekview.in create mode 100644 german/mediathekview/pkg-descr create mode 100644 german/mediathekview/pkg-plist (limited to 'german') diff --git a/german/Makefile b/german/Makefile index 219691497b5f..66534a29329f 100644 --- a/german/Makefile +++ b/german/Makefile @@ -20,7 +20,7 @@ SUBDIR += jdictionary-ger-hun SUBDIR += kde4-l10n SUBDIR += libreoffice - SUBDIR += mediathek + SUBDIR += mediathekview SUBDIR += mythes SUBDIR += phone SUBDIR += php_doc diff --git a/german/mediathek/Makefile b/german/mediathek/Makefile deleted file mode 100644 index 5314c5d38f5f..000000000000 --- a/german/mediathek/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -# Created by: Lars Engels -# $FreeBSD$ - -PORTNAME= mediathek -PORTVERSION= 12 -CATEGORIES= german java -MASTER_SITES= SF/zdfmediathk/Mediathek/Mediathek%20${PORTVERSION} -DISTNAME= MediathekView_${PORTVERSION} - -MAINTAINER= lme@FreeBSD.org -COMMENT= Filme der oeff. rechtlichen Sender herunterladen und ansehen - -RUN_DEPENDS= ${LOCALBASE}/openjdk8/bin/javafxpackager:java/openjfx8-devel \ - flvstreamer:multimedia/flvstreamer - -NO_BUILD= yes -USES= zip:infozip -USE_JAVA= yes -JAVA_VERSION= 1.8+ -SUB_FILES= mediathek - -INSTALLFILES= MediathekView.jar MediathekView.ico -INSTALLDOCS= Kurzanleitung.pdf Instructions.pdf - -OPTIONS_DEFINE= DOCS -OPTIONS_MULTI= BACKEND -OPTIONS_MULTI_BACKEND= MPLAYER VLC - -VLC_DESC= VLC support - -OPTIONS_DEFAULT= VLC - -.include - -.if ${PORT_OPTIONS:MMPLAYER} -RUN_DEPENDS+= mplayer:multimedia/mplayer -.endif - -.if ${PORT_OPTIONS:MVLC} -RUN_DEPENDS+= vlc:multimedia/vlc -.endif - -DESKTOP_ENTRIES="MediathekView" \ - "Filme der oeff. rechtlichen Sender herunterladen und ansehen" \ - "${DATADIR}/MediathekView.ico" \ - "mediathek" \ - "Video;AudioVideo;Java;" \ - false - -do-extract: - @${RM} -r ${WRKDIR} - @${MKDIR} ${WRKSRC} - @${UNZIP_CMD} -q -d ${WRKSRC} ${DISTDIR}/${EXTRACT_ONLY} - -do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${DATADIR}/lib -.for i in ${INSTALLFILES} - ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}/ -.endfor - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${INSTALLDOCS} - ${INSTALL_DATA} ${WRKSRC}/Anleitung/${i} ${STAGEDIR}${DOCSDIR}/ -.endfor - (cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib/) - ${INSTALL_SCRIPT} ${WRKDIR}/mediathek ${STAGEDIR}${PREFIX}/bin - -.include diff --git a/german/mediathek/distinfo b/german/mediathek/distinfo deleted file mode 100644 index c2bcf85b6799..000000000000 --- a/german/mediathek/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1471200643 -SHA256 (MediathekView_12.zip) = 7a8767572657390831a39f0a1e6ce483cca589c56506a27c896f6fb39edd549a -SIZE (MediathekView_12.zip) = 39389109 diff --git a/german/mediathek/files/mediathek.in b/german/mediathek/files/mediathek.in deleted file mode 100644 index 43805f6b0664..000000000000 --- a/german/mediathek/files/mediathek.in +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -cd %%DATADIR%% -JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java \ - -Xms128M -Xmx1G -jar MediathekView.jar "$@" - diff --git a/german/mediathek/pkg-descr b/german/mediathek/pkg-descr deleted file mode 100644 index e1cb2e9c5c97..000000000000 --- a/german/mediathek/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Mediathek searches the archives of several German speakingTV stations (ARD, -ZDF, Arte, 3Sat, MDR, NDR, ORF, SF), downloads, manages and plays their -archived video footage and podcasts. --- -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 deleted file mode 100644 index bfd2f349a219..000000000000 --- a/german/mediathek/pkg-plist +++ /dev/null @@ -1,22 +0,0 @@ -bin/mediathek -%%PORTDOCS%%%%DOCSDIR%%/Instructions.pdf -%%PORTDOCS%%%%DOCSDIR%%/Kurzanleitung.pdf -%%DATADIR%%/MediathekView.ico -%%DATADIR%%/MediathekView.jar -%%DATADIR%%/lib/MSearch.jar -%%DATADIR%%/lib/commons-compress-1.12.jar -%%DATADIR%%/lib/commons-lang3-3.4.jar -%%DATADIR%%/lib/jackson-core-2.7.0.jar -%%DATADIR%%/lib/jchart2d-3.2.2.jar -%%DATADIR%%/lib/jgoodies-common-1.8.0.jar -%%DATADIR%%/lib/jgoodies-forms-1.8.0.jar -%%DATADIR%%/lib/jide-oss-3.6.1.jar -%%DATADIR%%/lib/swingx-action-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/swingx-autocomplete-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/swingx-beaninfo-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/swingx-common-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/swingx-core-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/swingx-graphics-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/swingx-painters-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/swingx-plaf-1.6.6-SNAPSHOT.jar -%%DATADIR%%/lib/xz.jar diff --git a/german/mediathekview/Makefile b/german/mediathekview/Makefile new file mode 100644 index 000000000000..e02e615f9c6d --- /dev/null +++ b/german/mediathekview/Makefile @@ -0,0 +1,57 @@ +# Created by: Lars Engels +# $FreeBSD$ + +PORTNAME= mediathekview +PORTVERSION= 13.0.1 +CATEGORIES= german java +MASTER_SITES= https://download.mediathekview.de/stabil/ +DISTNAME= MediathekView-${PORTVERSION} + +MAINTAINER= lme@FreeBSD.org +COMMENT= Filme der oeff. rechtlichen Sender herunterladen und ansehen + +RUN_DEPENDS= ${LOCALBASE}/openjdk8/bin/javafxpackager:java/openjfx8-devel \ + flvstreamer:multimedia/flvstreamer + +NO_BUILD= yes +USE_JAVA= yes +JAVA_VERSION= 1.8+ +SUB_FILES= ${PORTNAME} + +INSTALLFILES= MediathekView.jar MediathekView.ico +INSTALLDOCS= Kurzanleitung.pdf Instructions.pdf + +OPTIONS_DEFINE= DOCS +OPTIONS_MULTI= BACKEND +OPTIONS_MULTI_BACKEND= MPLAYER MPV VLC + +VLC_DESC= VLC support +MPV_DESC= VLC support + +OPTIONS_DEFAULT= VLC + +MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer +MPV_RUN_DEPENDS= mpv:multimedia/mpv +VLC_RUN_DEPENDS= vlc:multimedia/vlc + +DESKTOP_ENTRIES="MediathekView" \ + "Filme der oeff. rechtlichen Sender herunterladen und ansehen" \ + "${DATADIR}/MediathekView.ico" \ + "${PORTNAME}" \ + "Video;AudioVideo;Java;" \ + false + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR}/lib +.for i in ${INSTALLFILES} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}/ +.endfor + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in ${INSTALLDOCS} + ${INSTALL_DATA} ${WRKSRC}/Anleitung/${i} ${STAGEDIR}${DOCSDIR}/ +.endfor + (cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib/) + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/german/mediathekview/distinfo b/german/mediathekview/distinfo new file mode 100644 index 000000000000..c3317372b0ae --- /dev/null +++ b/german/mediathekview/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1487606056 +SHA256 (MediathekView-13.0.1.tar.gz) = a5a7187e2ab50617bf641ca058b05432f7dfb3934136884c3dcc9657cec0d912 +SIZE (MediathekView-13.0.1.tar.gz) = 27399095 diff --git a/german/mediathekview/files/mediathekview.in b/german/mediathekview/files/mediathekview.in new file mode 100644 index 000000000000..db1fd5db8bf3 --- /dev/null +++ b/german/mediathekview/files/mediathekview.in @@ -0,0 +1,6 @@ +#!/bin/sh + +cd %%DATADIR%% +JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java \ + -jar MediathekView.jar "$@" + diff --git a/german/mediathekview/pkg-descr b/german/mediathekview/pkg-descr new file mode 100644 index 000000000000..e1cb2e9c5c97 --- /dev/null +++ b/german/mediathekview/pkg-descr @@ -0,0 +1,10 @@ +Mediathek searches the archives of several German speakingTV stations (ARD, +ZDF, Arte, 3Sat, MDR, NDR, ORF, SF), downloads, manages and plays their +archived video footage and podcasts. +-- +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/mediathekview/pkg-plist b/german/mediathekview/pkg-plist new file mode 100644 index 000000000000..ef270350838f --- /dev/null +++ b/german/mediathekview/pkg-plist @@ -0,0 +1,24 @@ +bin/mediathekview +%%PORTDOCS%%%%DOCSDIR%%/Instructions.pdf +%%PORTDOCS%%%%DOCSDIR%%/Kurzanleitung.pdf +%%DATADIR%%/MediathekView.ico +%%DATADIR%%/MediathekView.jar +%%DATADIR%%/lib/MSearch-2.1.1.jar +%%DATADIR%%/lib/commons-io-1.3.1.jar +%%DATADIR%%/lib/commons-lang3-3.5.jar +%%DATADIR%%/lib/commons-logging-1.0.4.jar +%%DATADIR%%/lib/jackson-core-2.7.0.jar +%%DATADIR%%/lib/jchart2d-3.3.2.jar +%%DATADIR%%/lib/jgoodies-common-1.8.1.jar +%%DATADIR%%/lib/jgoodies-forms-1.9.0.jar +%%DATADIR%%/lib/jide-oss-3.6.16.jar +%%DATADIR%%/lib/swingx-action-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/swingx-autocomplete-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/swingx-beaninfo-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/swingx-common-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/swingx-core-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/swingx-graphics-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/swingx-painters-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/swingx-plaf-1.6.6-SNAPSHOT.jar +%%DATADIR%%/lib/xmlgraphics-commons-1.3.1.jar +%%DATADIR%%/lib/xz-1.5.jar -- cgit