diff options
author | tron <tron@pkgsrc.org> | 2001-02-18 19:17:24 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-02-18 19:17:24 +0000 |
commit | b41c53d844763e1872198373d8712127b086f7b6 (patch) | |
tree | e47a9295cbbf6fc5add1666cedb6acf006f6ab8a /misc/nxtvepg | |
parent | f8389ac42a8f58d02fc95ffbe9056eb2549354b4 (diff) | |
download | pkgsrc-b41c53d844763e1872198373d8712127b086f7b6.tar.gz |
Import new "nxtvepg" package contributed by Mario Kemper in PR pkg/12215:
NextView EPG decoder
Diffstat (limited to 'misc/nxtvepg')
-rw-r--r-- | misc/nxtvepg/Makefile | 27 | ||||
-rw-r--r-- | misc/nxtvepg/files/md5 | 3 | ||||
-rw-r--r-- | misc/nxtvepg/files/patch-sum | 7 | ||||
-rw-r--r-- | misc/nxtvepg/patches/patch-aa | 51 | ||||
-rw-r--r-- | misc/nxtvepg/patches/patch-ab | 10 | ||||
-rw-r--r-- | misc/nxtvepg/patches/patch-ac | 13 | ||||
-rw-r--r-- | misc/nxtvepg/patches/patch-ad | 31 | ||||
-rw-r--r-- | misc/nxtvepg/patches/patch-ae | 17 | ||||
-rw-r--r-- | misc/nxtvepg/pkg/DESCR | 6 | ||||
-rw-r--r-- | misc/nxtvepg/pkg/PLIST | 3 |
10 files changed, 168 insertions, 0 deletions
diff --git a/misc/nxtvepg/Makefile b/misc/nxtvepg/Makefile new file mode 100644 index 00000000000..a36f5485507 --- /dev/null +++ b/misc/nxtvepg/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +DISTNAME= nxtvepg-0.4.3 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_LOCAL} + +MAINTAINER= magick@zhadum.de +HOMEPAGE= http://nxtvepg.tripod.com/ +COMMENT= NextView EPG decoder + +DEPENDS+= tk>=8.3.2:../../x11/tk + +ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-* NetBSD-1.4Z[A-Z]-* \ + NetBSD-1.5_ALPHA-* NetBSD-1.[5-9]*-* + +NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL + +USE_X11BASE= yes +USE_PERL5= yes +USE_GMAKE= yes + +pre-configure: + @${SED} -e 's|@localbase@|'${LOCALBASE}/bin'|' < ${WRKSRC}/pod2help.pl > ${WRKSRC}/pod2help.pl.new && \ + ${MV} ${WRKSRC}/pod2help.pl.new ${WRKSRC}/pod2help.pl && \ + ${CHMOD} +x ${WRKSRC}/pod2help.pl + +.include "../../mk/bsd.pkg.mk"
\ No newline at end of file diff --git a/misc/nxtvepg/files/md5 b/misc/nxtvepg/files/md5 new file mode 100644 index 00000000000..13bfe2fb680 --- /dev/null +++ b/misc/nxtvepg/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +MD5 (nxtvepg-0.4.3.tar.gz) = fbbdd74696e48e6b916f887aa75bff4c diff --git a/misc/nxtvepg/files/patch-sum b/misc/nxtvepg/files/patch-sum new file mode 100644 index 00000000000..f6c9845a11d --- /dev/null +++ b/misc/nxtvepg/files/patch-sum @@ -0,0 +1,7 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +MD5 (patch-aa) = a119d24ad51f3f5f72971be9eeecd915 +MD5 (patch-ab) = da99d9f10e5ee2019020687ee02879cc +MD5 (patch-ac) = 6839c105b3bd3c8137bcc007b7242afc +MD5 (patch-ad) = 5df34e0e0205a28b4d1b32e8b003bb71 +MD5 (patch-ae) = cd2115cdbf5e7a19c0521e4c3bef09ef diff --git a/misc/nxtvepg/patches/patch-aa b/misc/nxtvepg/patches/patch-aa new file mode 100644 index 00000000000..816597893ea --- /dev/null +++ b/misc/nxtvepg/patches/patch-aa @@ -0,0 +1,51 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +--- Makefile.orig Wed Feb 14 22:34:35 2001 ++++ Makefile Sun Feb 18 20:10:13 2001 +@@ -32,29 +32,29 @@ + include Makefile.win32 + else + +-IROOT = /usr/local ++IROOT = $(X11BASE) + BINDIR = $(IROOT)/bin + MANDIR = $(IROOT)/man/man1 + + # if you have perl set the path here, else just leave it alone +-PERL = /usr/bin/perl ++PERL = $(LOCALBASE)/bin/perl + +-LDLIBS = -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11 -lm -ldl ++LDLIBS = -ltk83 -ltcl83 -L$(X11BASE)/lib -lX11 -lm + # use static libraries for debugging only + #LDLIBS = dbglib/libtk8.3.a dbglib/libtcl8.3.a -lX11 -lm -ldl -L/usr/X11R6/lib + +-INCS += -I. -I/usr/X11R6/include ++INCS += -I. -I$(X11BASE)/include -I$(LOCALBASE)/include + # path to Tcl/Tk headers, if not properly installed + #INCS += -I/usr/local/tcl/tcl8.0/generic -I/usr/local/tcl/tk8.0/generic + + # path to Tcl/Tk script library (Tk is usually in X11/lib/tk#.#) +-DEFS += -DTK_LIBRARY_PATH=\"/usr/lib/tk8.3\" +-DEFS += -DTCL_LIBRARY_PATH=\"/usr/lib/tcl8.3\" ++DEFS += -DTK_LIBRARY_PATH=\"$(LOCALBASE)/lib/tk8.3\" ++DEFS += -DTCL_LIBRARY_PATH=\"$(LOCALBASE)/lib/tcl8.3\" + + + WARN = -Wall +-CC = gcc +-CFLAGS = -pipe $(WARN) $(INCS) $(DEFS) -g -O ++#CC = gcc ++CFLAGS += $(WARN) $(INCS) $(DEFS) + + # ----- don't change anything below ------------------------------------------ + +@@ -79,7 +79,7 @@ + test -d $(BINDIR) || mkdirhier $(BINDIR) + test -d $(MANDIR) || mkdirhier $(MANDIR) + install -c -m 0755 nxtvepg $(BINDIR) +- install -c -m 0644 nxtvepg.1x $(MANDIR) ++ install -c -m 0644 nxtvepg.1x $(MANDIR)/nxtvepg.1 + + ##%.o: %.c + ## $(CC) $(CFLAGS) -c *.c -o *.o diff --git a/misc/nxtvepg/patches/patch-ab b/misc/nxtvepg/patches/patch-ab new file mode 100644 index 00000000000..9a1222f90d8 --- /dev/null +++ b/misc/nxtvepg/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +--- pod2help.pl.orig Sun Dec 31 00:08:28 2000 ++++ pod2help.pl Sun Feb 18 20:10:13 2001 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!@localbase@/perl + # + # Perl script to convert POD manpage to help menu & popups + # diff --git a/misc/nxtvepg/patches/patch-ac b/misc/nxtvepg/patches/patch-ac new file mode 100644 index 00000000000..cdfb0ee9305 --- /dev/null +++ b/misc/nxtvepg/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +--- epgui/help.tcl.orig Wed Feb 14 22:31:37 2001 ++++ epgui/help.tcl Sun Feb 18 20:11:30 2001 +@@ -26,7 +26,7 @@ + } {} {-rcfile} bold { } {} {path} underlined { + Specify an alternate configuration file. Default: on UNIX ~/.nxtvepgrc, on Windows nxtvepg.ini in the current directory. + } {} {-dbdir} bold { } {} {directory} underlined { +-Specify an alternate directory for the databases. Default: On UNIX /usr/tmp/nxtvdb, on Windows the current directory. Note that the database management is not equipped for concurrent writing, so if you have more than one TV tuner card in your system or network, relocate the directory into the users' homes. ++Specify an alternate directory for the databases. Default: On UNIX /tmp/nxtvdb, on Windows the current directory. Note that the database management is not equipped for concurrent writing, so if you have more than one TV tuner card in your system or network, relocate the directory into the users' homes. + } {} {-card} bold { } {} {index} underlined { + Specify which tuner card to use, if you have more than one. The given index is appended to /dev/vbi and /dev/video. Default: index 0, i.e. the card in the first PCI slot. + } {} {-provider} bold { } {} {CNI} underlined { diff --git a/misc/nxtvepg/patches/patch-ad b/misc/nxtvepg/patches/patch-ad new file mode 100644 index 00000000000..30872497e39 --- /dev/null +++ b/misc/nxtvepg/patches/patch-ad @@ -0,0 +1,31 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +--- nxtvepg.1x.orig Wed Feb 14 22:31:37 2001 ++++ nxtvepg.1x Sun Feb 18 20:13:22 2001 +@@ -234,7 +234,7 @@ + on Windows nxtvepg.ini in the current directory. + .Ip "\fB\-dbdir\fR \fIdirectory\fR" 4 + Specify an alternate directory for the databases. +-Default: On \s-1UNIX\s0 /usr/tmp/nxtvdb, on Windows the current directory. ++Default: On \s-1UNIX\s0 /tmp/nxtvdb, on Windows the current directory. + Note that the database management is not equipped for concurrent writing, + so if you have more than one \s-1TV\s0 tuner card in your system or network, + relocate the directory into the users\*(R' homes. +@@ -910,7 +910,7 @@ + Configuration file where all personal settings are stored. Per default + this is created in your home directory, but a different path and file + name can be specified with the \fB\-rcfile\fR option. +-.Ip "\fB/usr/tmp/nxtvdb/nxtvdb-####\fR" 4 ++.Ip "\fB/tmp/nxtvdb/nxtvdb-####\fR" 4 + Directory containing one file for each provider's database. + Can be changed with the \fB\-dbdir\fR command line option. + The last 4 digits of the file names are the hexadecimal \s-1CNI\s0 (Country +@@ -1142,7 +1142,7 @@ + + .IX Item "\fB~/.nxtvepgrc\fR" + +-.IX Item "\fB/usr/tmp/nxtvdb/nxtvdb-####\fR" ++.IX Item "\fB/tmp/nxtvdb/nxtvdb-####\fR" + + .IX Item "\fB/dev/vbi0\fR, \fB/dev/vbi1\fR, etc." + diff --git a/misc/nxtvepg/patches/patch-ae b/misc/nxtvepg/patches/patch-ae new file mode 100644 index 00000000000..9ff9cc5954c --- /dev/null +++ b/misc/nxtvepg/patches/patch-ae @@ -0,0 +1,17 @@ +$NetBSD: patch-ae,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ + +--- epgctl/epgmain.c.orig Sun Feb 11 13:14:54 2001 ++++ epgctl/epgmain.c Sun Feb 18 20:12:55 2001 +@@ -104,7 +104,12 @@ + const char *dbdir = "."; + #else + static const char *rcfile = "~/.nxtvepgrc"; ++#ifdef __NetBSD__ ++#include <paths.h> ++ const char *dbdir = _PATH_TMP "nxtvdb"; ++#else + const char *dbdir = "/usr/tmp/nxtvdb"; ++#endif + #endif + static int videoCardIndex = -1; + static bool disableAcq = FALSE; diff --git a/misc/nxtvepg/pkg/DESCR b/misc/nxtvepg/pkg/DESCR new file mode 100644 index 00000000000..1f6141664fe --- /dev/null +++ b/misc/nxtvepg/pkg/DESCR @@ -0,0 +1,6 @@ +nxtvepg is a decoder and browser for Nextview - a subscription-free +electronic TV program guide transmittet via TeleText. Nextview +currently is broadcasted in Germany, Austria, Switzerland, and France +and covers the schedules of all major TV networks in these +countries. It uses the bktr driver for data acquisition through a +TV tuner card. diff --git a/misc/nxtvepg/pkg/PLIST b/misc/nxtvepg/pkg/PLIST new file mode 100644 index 00000000000..2bb5388f6b0 --- /dev/null +++ b/misc/nxtvepg/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/18 19:17:24 tron Exp $ +bin/nxtvepg +man/man1/nxtvepg.1 |