summaryrefslogtreecommitdiff
path: root/misc/pinfo
diff options
context:
space:
mode:
authorfredb <fredb>2001-03-23 20:07:33 +0000
committerfredb <fredb>2001-03-23 20:07:33 +0000
commit1ec8cec78ce6834a033d2c46f4fcd934adb02f31 (patch)
tree845006f88087b093f820aa8da8b88f6f493cf9af /misc/pinfo
parent4133dd6cb1fdf0dfb058510f67e5dfd8ffde9788 (diff)
downloadpkgsrc-1ec8cec78ce6834a033d2c46f4fcd934adb02f31.tar.gz
Initial import of pinfo-0.6.0, Przemek's Info Viewer, a text mode,
lynx-like info file viewer. At this time, INFOPATH must be set in the environment in order to find NetBSD info files.
Diffstat (limited to 'misc/pinfo')
-rw-r--r--misc/pinfo/Makefile23
-rw-r--r--misc/pinfo/files/md53
-rw-r--r--misc/pinfo/patches/not/patch-aa13
-rw-r--r--misc/pinfo/patches/not/patch-ab13
-rw-r--r--misc/pinfo/pkg/DESCR5
-rw-r--r--misc/pinfo/pkg/PLIST10
6 files changed, 67 insertions, 0 deletions
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile
new file mode 100644
index 00000000000..ed1d48c887a
--- /dev/null
+++ b/misc/pinfo/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/23 20:07:33 fredb Exp $
+#
+
+DISTNAME= pinfo-0.6.0
+CATEGORIES= misc
+MASTER_SITES= http://zeus.polsl.gliwice.pl/~pborys/stable-version/
+
+MAINTAINER= fredb@netbsd.org
+HOMEPAGE= http://zeus.polsl.gliwice.pl/~pborys/
+COMMENT= Przemek's Info Viewer
+
+BUILD_DEPENDS+= msgfmt:../../devel/gettext
+DEPENDS+= ncurses>=5.0:../../devel/ncurses
+
+GNU_CONFIGURE= yes
+USE_LIBINTL= yes
+
+CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/pinforc ${PREFIX}/share/examples/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/pinfo/files/md5 b/misc/pinfo/files/md5
new file mode 100644
index 00000000000..e05848b763c
--- /dev/null
+++ b/misc/pinfo/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/23 20:07:33 fredb Exp $
+
+SHA1 (pinfo-0.6.0.tar.gz) = 29d742d2cfcafe5ee48ab83e4c2ecbe2caafeaad
diff --git a/misc/pinfo/patches/not/patch-aa b/misc/pinfo/patches/not/patch-aa
new file mode 100644
index 00000000000..74e0bff4db7
--- /dev/null
+++ b/misc/pinfo/patches/not/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/23 20:07:33 fredb Exp $
+
+--- configure.in.orig Wed Jul 5 05:07:48 2000
++++ configure.in
+@@ -29,7 +29,7 @@
+ KEY_END=""
+ AC_EGREP_CPP(HAVE_KEY_END,
+ [
+-#if defined(RENAMED_NCURSES) or !defined(USE_NCURSES)
++#if defined(RENAMED_NCURSES) || !defined(USE_NCURSES)
+ #include <curses.h>
+ #else
+ #include <ncurses.h>
diff --git a/misc/pinfo/patches/not/patch-ab b/misc/pinfo/patches/not/patch-ab
new file mode 100644
index 00000000000..14b82e4c09a
--- /dev/null
+++ b/misc/pinfo/patches/not/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/03/23 20:07:33 fredb Exp $
+
+--- configure.orig Wed Jul 5 05:21:21 2000
++++ configure
+@@ -1715,7 +1715,7 @@
+ #line 1716 "configure"
+ #include "confdefs.h"
+
+-#if defined(RENAMED_NCURSES) or !defined(USE_NCURSES)
++#if defined(RENAMED_NCURSES) || !defined(USE_NCURSES)
+ #include <curses.h>
+ #else
+ #include <ncurses.h>
diff --git a/misc/pinfo/pkg/DESCR b/misc/pinfo/pkg/DESCR
new file mode 100644
index 00000000000..b56440649f6
--- /dev/null
+++ b/misc/pinfo/pkg/DESCR
@@ -0,0 +1,5 @@
+Przemek's info viewer is a neat alternative to the gnu "info" program.
+The lynx-like key bindings are run-time configurable, as is the linux
+console-style color scheme. Embedded URI's become links that open into
+"lynx", and email addresses into "pine" (if either or both are installed).
+It can even give the same treatment to man pages!
diff --git a/misc/pinfo/pkg/PLIST b/misc/pinfo/pkg/PLIST
new file mode 100644
index 00000000000..eb2e77e85c7
--- /dev/null
+++ b/misc/pinfo/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/23 20:07:33 fredb Exp $
+bin/pinfo
+man/man1/pinfo.1
+share/locale/cs/LC_MESSAGES/pinfo.mo
+share/locale/de/LC_MESSAGES/pinfo.mo
+share/locale/pl/LC_MESSAGES/pinfo.mo
+share/locale/ru/LC_MESSAGES/pinfo.mo
+share/locale/sv/LC_MESSAGES/pinfo.mo
+share/examples/pinforc
+@exec if [ ! -f %D/etc/pinforc ]; then cp %D/share/examples/pinforc %D/etc/; fi