aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-24 07:38:50 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-24 07:38:50 +0000
commit43ae86d742c26eac939c603b0dd53130991f2260 (patch)
treea63106e869f879a1718d291d763a3c17635beb2e /misc
parent5fbdb9f5d7ff2a94c2b21cc8e7ddda3c3973f513 (diff)
downloadports-43ae86d742c26eac939c603b0dd53130991f2260.tar.gz
ports-43ae86d742c26eac939c603b0dd53130991f2260.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/tvbrowser/Makefile39
-rw-r--r--misc/tvbrowser/distinfo2
-rw-r--r--misc/tvbrowser/files/pkg-message.in30
-rw-r--r--misc/tvbrowser/files/tvbrowser3
-rw-r--r--misc/tvbrowser/pkg-descr11
-rw-r--r--misc/tvbrowser/pkg-plist101
6 files changed, 186 insertions, 0 deletions
diff --git a/misc/tvbrowser/Makefile b/misc/tvbrowser/Makefile
new file mode 100644
index 000000000000..4c6fc115e090
--- /dev/null
+++ b/misc/tvbrowser/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: tvbrowser
+# Date Created: 24 May 2005
+# Whom: Lars Engels <lars.engels@0x20.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tvbrowser
+PORTVERSION= 1.0
+CATEGORIES= german java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= tvbrowser
+DISTNAME= tvbrowser_v1.0_bin
+
+MAINTAINER= lars.engels@0x20.net
+COMMENT= A digital tv guide
+
+EXTRACT_AFTER_ARGS= -d ${WRKSRC}
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
+USE_ZIP= yes
+NO_BUILD= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}
+ @${CP} -r ${WRKSRC}/tvbrowser_v1.0/* ${PREFIX}/share/${PORTNAME}
+ @${CP} -r ${FILESDIR}/tvbrowser /${PREFIX}/bin/
+ @${CHMOD} 755 /${PREFIX}/bin/tvbrowser
+
+post-install:
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}/tvdata
+ @${MKDIR} /var/tvbrowser/tvdata
+ @${CHMOD} 777 /var/tvbrowser/tvdata
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/misc/tvbrowser/distinfo b/misc/tvbrowser/distinfo
new file mode 100644
index 000000000000..2520b5aa7084
--- /dev/null
+++ b/misc/tvbrowser/distinfo
@@ -0,0 +1,2 @@
+MD5 (tvbrowser_v1.0_bin.zip) = b27d85ead880b2d7a07e69e5f46775fc
+SIZE (tvbrowser_v1.0_bin.zip) = 1060069
diff --git a/misc/tvbrowser/files/pkg-message.in b/misc/tvbrowser/files/pkg-message.in
new file mode 100644
index 000000000000..145b011921cf
--- /dev/null
+++ b/misc/tvbrowser/files/pkg-message.in
@@ -0,0 +1,30 @@
+************************************************************
+
+Check if %%PREFIX%%/bin/java exists. If not, create a link:
+
+ ln -s %%PREFIX%%/bin/javavm %%PREFIX%%/bin/java
+
+or change the start script %%PREFIX%%/bin/tvbrowser
+
+
+
+ !!! IMPORTANT !!!
+
+In order to use TV Browser as a regular user you have to do
+the following:
+
+1. As the regular user run tvbrowser
+
+2. Cancel the Setup Assistant
+
+3. Do not update the tv data
+
+4. Click on the Settings button
+
+5. Select Advanced | Directories and enter
+
+ /var/tvbrowser/tvdata
+
+6. Restart TV Browser and have fun
+
+************************************************************
diff --git a/misc/tvbrowser/files/tvbrowser b/misc/tvbrowser/files/tvbrowser
new file mode 100644
index 000000000000..2def45ed6f28
--- /dev/null
+++ b/misc/tvbrowser/files/tvbrowser
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cd /usr/local/share/tvbrowser && java -jar tvbrowser.jar
diff --git a/misc/tvbrowser/pkg-descr b/misc/tvbrowser/pkg-descr
new file mode 100644
index 000000000000..935b5ba16f62
--- /dev/null
+++ b/misc/tvbrowser/pkg-descr
@@ -0,0 +1,11 @@
+TV-Browser is a digital tv guide. The tv data are retrieved from
+multiple sources and can be downloaded from our servers after
+having been automatically processed.
+
+Currently, TV-Browser supports tv and some radio channels from
+Germany, Austria and Swiss.
+
+WWW: http://www.tvbrowser.org
+
+- Lars Engels
+lars@0x20.net
diff --git a/misc/tvbrowser/pkg-plist b/misc/tvbrowser/pkg-plist
new file mode 100644
index 000000000000..ceb5bda480d8
--- /dev/null
+++ b/misc/tvbrowser/pkg-plist
@@ -0,0 +1,101 @@
+bin/tvbrowser
+%%DATADIR%%/INSTALL.txt
+%%DATADIR%%/LICENSE.txt
+%%DATADIR%%/help/de/Forward24.gif
+%%DATADIR%%/help/de/about.html
+%%DATADIR%%/help/de/assistant.html
+%%DATADIR%%/help/de/deinstallation.html
+%%DATADIR%%/help/de/faq.html
+%%DATADIR%%/help/de/img01.png
+%%DATADIR%%/help/de/img02.png
+%%DATADIR%%/help/de/img03.png
+%%DATADIR%%/help/de/img04.png
+%%DATADIR%%/help/de/img05.png
+%%DATADIR%%/help/de/img06.png
+%%DATADIR%%/help/de/img07.png
+%%DATADIR%%/help/de/img08.png
+%%DATADIR%%/help/de/img09.png
+%%DATADIR%%/help/de/index.html
+%%DATADIR%%/help/de/installation.html
+%%DATADIR%%/help/de/main.html
+%%DATADIR%%/help/de/navigation.html
+%%DATADIR%%/help/de/online.html
+%%DATADIR%%/help/de/settings.html
+%%DATADIR%%/help/default/index.html
+%%DATADIR%%/help/style.css
+%%DATADIR%%/imgs/About16.gif
+%%DATADIR%%/imgs/Back24.gif
+%%DATADIR%%/imgs/Down24.gif
+%%DATADIR%%/imgs/Export16.gif
+%%DATADIR%%/imgs/Find24.gif
+%%DATADIR%%/imgs/Forward24.gif
+%%DATADIR%%/imgs/Help16.gif
+%%DATADIR%%/imgs/Host16.gif
+%%DATADIR%%/imgs/Import16.gif
+%%DATADIR%%/imgs/Info_16to9.gif
+%%DATADIR%%/imgs/Info_BlackAndWhite.gif
+%%DATADIR%%/imgs/Info_DolbyDigital51.gif
+%%DATADIR%%/imgs/Info_DolbySurround.gif
+%%DATADIR%%/imgs/Info_Mono.gif
+%%DATADIR%%/imgs/Info_OriginalWithSubtitle.gif
+%%DATADIR%%/imgs/Info_Stereo.gif
+%%DATADIR%%/imgs/Info_SubtitleForAurallyHandicapped.gif
+%%DATADIR%%/imgs/Info_TwoChannelTone.gif
+%%DATADIR%%/imgs/Jar16.gif
+%%DATADIR%%/imgs/Open16.gif
+%%DATADIR%%/imgs/Preferences16.gif
+%%DATADIR%%/imgs/Preferences24.gif
+%%DATADIR%%/imgs/Refresh16.gif
+%%DATADIR%%/imgs/Refresh24.gif
+%%DATADIR%%/imgs/Search16.gif
+%%DATADIR%%/imgs/Stop24.gif
+%%DATADIR%%/imgs/TVBrowser.ico
+%%DATADIR%%/imgs/TVBrowser16.gif
+%%DATADIR%%/imgs/TVBrowser16.png
+%%DATADIR%%/imgs/TVBrowser32.gif
+%%DATADIR%%/imgs/TimeEarly24.gif
+%%DATADIR%%/imgs/TimeEvening24.gif
+%%DATADIR%%/imgs/TimeMidday24.gif
+%%DATADIR%%/imgs/TimeMorning24.gif
+%%DATADIR%%/imgs/TimeNow24.gif
+%%DATADIR%%/imgs/Up24.gif
+%%DATADIR%%/imgs/WebComponent16.gif
+%%DATADIR%%/imgs/background.jpg
+%%DATADIR%%/imgs/background2.jpg
+%%DATADIR%%/imgs/columns2.jpg
+%%DATADIR%%/imgs/columns_afternoon.jpg
+%%DATADIR%%/imgs/columns_early.jpg
+%%DATADIR%%/imgs/columns_edge.jpg
+%%DATADIR%%/imgs/columns_evening.jpg
+%%DATADIR%%/imgs/columns_midday.jpg
+%%DATADIR%%/imgs/down16.gif
+%%DATADIR%%/imgs/more.png
+%%DATADIR%%/imgs/splash.jpg
+%%DATADIR%%/imgs/tvabout.jpg
+%%DATADIR%%/imgs/up16.gif
+%%DATADIR%%/plugins/FavoritesPlugin.jar
+%%DATADIR%%/plugins/GoogleSearchPlugin.jar
+%%DATADIR%%/plugins/ImdbSearchPlugin.jar
+%%DATADIR%%/plugins/ListViewPlugin.jar
+%%DATADIR%%/plugins/NewsPlugin.jar
+%%DATADIR%%/plugins/PrintPlugin.jar
+%%DATADIR%%/plugins/ProgramInfo.jar
+%%DATADIR%%/plugins/ReminderPlugin.jar
+%%DATADIR%%/plugins/SearchPlugin.jar
+%%DATADIR%%/plugins/ShowviewPlugin.jar
+%%DATADIR%%/plugins/TVRaterPlugin.jar
+%%DATADIR%%/themepacks/themepack.zip
+%%DATADIR%%/tvbrowser.jar
+%%DATADIR%%/tvdataservice/TvBrowserDataService.jar
+%%DATADIR%%/website.url
+@dirrm %%DATADIR%%/tvdataservice
+@dirrm %%DATADIR%%/themepacks
+@dirrm %%DATADIR%%/plugins
+@dirrm %%DATADIR%%/imgs
+@dirrm %%DATADIR%%/help/default
+@dirrm %%DATADIR%%/help/de
+@dirrm %%DATADIR%%/help
+@dirrm %%DATADIR%%/tvdata
+@unexec rmdir /var/tvbrowser/tvdata
+@unexec rmdir /var/tvbrowser
+@dirrm share/tvbrowser