From d100b8a362944ceef70551468757f4892cb1f6d0 Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Tue, 1 Nov 2005 21:41:24 +0000 Subject: FreeGuide is a TV guide program. It uses parser programs to extract TV information from web pages and stores them for viewing without the need to connect to the Internet. The viewer allows the user to view television listings and create customised TV guides by selecting programmes and by building up a favourites list. It works with listings for many countries. WWW: http://freeguide-tv.sf.net/ PR: 88088 Submitted by: Stephen Hurd --- misc/freeguide/Makefile | 42 ++++++++++++++++++++ misc/freeguide/distinfo | 2 + misc/freeguide/files/patch-ViewerFrame.java | 13 +++++++ misc/freeguide/files/patch-build.xml | 60 +++++++++++++++++++++++++++++ misc/freeguide/files/patch-freeguide | 18 +++++++++ misc/freeguide/pkg-descr | 9 +++++ misc/freeguide/pkg-plist | 29 ++++++++++++++ 7 files changed, 173 insertions(+) create mode 100644 misc/freeguide/Makefile create mode 100644 misc/freeguide/distinfo create mode 100644 misc/freeguide/files/patch-ViewerFrame.java create mode 100644 misc/freeguide/files/patch-build.xml create mode 100644 misc/freeguide/files/patch-freeguide create mode 100644 misc/freeguide/pkg-descr create mode 100644 misc/freeguide/pkg-plist (limited to 'misc/freeguide') diff --git a/misc/freeguide/Makefile b/misc/freeguide/Makefile new file mode 100644 index 000000000000..592630e0d247 --- /dev/null +++ b/misc/freeguide/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: freeguide +# Date Created: 27 October 2005 +# Whom: Stephen Hurd +# +# $FreeBSD$ +# + +PORTNAME= freeguide +PORTVERSION= 0.8.6 +CATEGORIES= misc java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= freeguide-tv +DISTNAME= FreeGuide-${PORTVERSION} + +MAINTAINER= shurd@sasktel.net +COMMENT= An interactive TV guide which will create personalized TV listings + +RUN_DEPENDS= tv_cat:${PORTSDIR}/textproc/p5-xmltv + +USE_JAVA= yes +USE_JIKES= no +JAVA_VERSION= 1.4+ +USE_ANT= yes +MANCOMPRESSED= yes +MAN1= freeguide.1 + +MAKE_ARGS= -Dinstall_share_dir=${PREFIX}/share \ + -Dinstall_man1_dir=${MAN1PREFIX} \ + -Dinstall_java_bin=${JAVA} \ + -Dinstall_real_doc_dir=${DOCSDIR} \ + -Dinstall_bin_dir=${PREFIX}/bin \ + -Dinstall_doc_dir=${DOCSDIR} \ + -Dinstall_java_share_dir=${JAVASHAREDIR} \ + -Dinstall_jar_dir=${JAVAJARDIR} +ALL_TARGET= FreeGuide-Linux-NoXMLTV +INSTALL_TARGET= install-Linux-NoXMLTV-files + +do-install: + @(cd ${BUILD_WRKSRC}; \ + ${ANT} ${MAKE_ARGS} ${INSTALL_TARGET}) + +.include diff --git a/misc/freeguide/distinfo b/misc/freeguide/distinfo new file mode 100644 index 000000000000..30a1bd321ce2 --- /dev/null +++ b/misc/freeguide/distinfo @@ -0,0 +1,2 @@ +MD5 (FreeGuide-0.8.6.tar.gz) = 447a958355e30a0c964fb78348b99769 +SIZE (FreeGuide-0.8.6.tar.gz) = 7574967 diff --git a/misc/freeguide/files/patch-ViewerFrame.java b/misc/freeguide/files/patch-ViewerFrame.java new file mode 100644 index 000000000000..12862ecb2b6f --- /dev/null +++ b/misc/freeguide/files/patch-ViewerFrame.java @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- src/program/gui/viewer/ViewerFrame.java Thu Oct 27 00:18:55 2005 ++++ src/program/gui/viewer/ViewerFrame.java Thu Oct 27 00:34:18 2005 +@@ -1502,7 +1502,7 @@ + String[] cmds = Utils.substitute( + FreeGuide.prefs.commandline.getStrings( "browser_command" ), + "%filename%", +- programme.getLink().toString().replace("%","%%") ); ++ programme.getLink().toString().replaceAll("%","%%") ); + + Utils.execNoWait(cmds); + diff --git a/misc/freeguide/files/patch-build.xml b/misc/freeguide/files/patch-build.xml new file mode 100644 index 000000000000..077e5a85ca2b --- /dev/null +++ b/misc/freeguide/files/patch-build.xml @@ -0,0 +1,60 @@ +$FreeBSD$ + +--- build.xml Thu Oct 27 18:40:07 2005 ++++ build.xml Fri Oct 28 16:43:14 2005 +@@ -29,8 +29,7 @@ + + + ++ description="install all the files for linux"> + + + +- +- +- ++ + + + + + +- ++ + + + + ++ ++ + + + +@@ -70,8 +68,8 @@ + + + +- +- ++ ++ + + + +@@ -79,7 +77,6 @@ + + + +- + + + diff --git a/misc/freeguide/files/patch-freeguide b/misc/freeguide/files/patch-freeguide new file mode 100644 index 000000000000..913f85cce3d1 --- /dev/null +++ b/misc/freeguide/files/patch-freeguide @@ -0,0 +1,18 @@ +$FreeBSD$ + +--- src/install/linux/freeguide Thu Oct 27 00:18:55 2005 ++++ src/install/linux/freeguide Thu Oct 27 01:10:30 2005 +@@ -1,11 +1,11 @@ + #!/bin/sh +-FREEGUIDE_JAR=/usr/share/freeguide/FreeGuide.jar ++FREEGUIDE_JAR=__ANT_JAR_PATH__ + # Load default settings from config file (if it exists) + if [ -f "$HOME/.freeguiderc" ]; then + . "$HOME/.freeguiderc" + fi + if [ -z "$JAVACMD" ]; then +- JAVACMD=java ++ JAVACMD=__ANT_JAVA_BIN__ + fi + $JAVACMD $FREEGUIDE_OPTS -jar $FREEGUIDE_JAR \ + --doc_directory "__ANT_DOC_DIRECTORY__" "$@" diff --git a/misc/freeguide/pkg-descr b/misc/freeguide/pkg-descr new file mode 100644 index 000000000000..c31f6de48363 --- /dev/null +++ b/misc/freeguide/pkg-descr @@ -0,0 +1,9 @@ +FreeGuide is a TV guide program. It uses parser programs to extract TV +information from web pages and stores them for viewing without the need to +connect to the Internet. The viewer allows the user to view television listings +and create customised TV guides by selecting programmes and by building up a +favourites list. + +It works with listings for many countries. + +WWW: http://freeguide-tv.sf.net/ diff --git a/misc/freeguide/pkg-plist b/misc/freeguide/pkg-plist new file mode 100644 index 000000000000..852b81fa0ec5 --- /dev/null +++ b/misc/freeguide/pkg-plist @@ -0,0 +1,29 @@ +@comment $FreeBSD$ +bin/freeguide +share/applications/freeguide.desktop +%%DOCSDIR%%/FAQ.html +%%DOCSDIR%%/FreeGuide-0_7-Linux-MetalLookAndFeel.png +%%DOCSDIR%%/INSTALL-linux-noxmltv.html +%%DOCSDIR%%/LookAndFeel.html +%%DOCSDIR%%/README.html +%%DOCSDIR%%/TODO +%%DOCSDIR%%/contributors.html +%%DOCSDIR%%/design.html +%%DOCSDIR%%/developers-compiling.html +%%DOCSDIR%%/developers-cvs.html +%%DOCSDIR%%/developers-translating.html +%%DOCSDIR%%/developers.html +%%DOCSDIR%%/index.html +%%DOCSDIR%%/stylesheet.css +%%DOCSDIR%%/timezone.html +%%DOCSDIR%%/userguide.html +%%JAVAJARDIR%%/FreeGuide.jar +share/java/pixmaps/freeguide.png +share/java/pixmaps/freeguide/logo-16x16.png +share/java/pixmaps/freeguide/logo-32x32.png +share/java/pixmaps/freeguide/logo-48x48.png +share/java/pixmaps/freeguide/logo-64x64.png +share/java/pixmaps/freeguide/logo-72x72.png +share/java/pixmaps/freeguide/logo-96x96.png +@dirrm share/java/pixmaps/freeguide +@dirrm %%DOCSDIR%% -- cgit v1.2.3