summaryrefslogtreecommitdiff
path: root/textproc/rtfm
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-01-17 23:35:42 +0000
committerhubertf <hubertf>2001-01-17 23:35:42 +0000
commit7a141a023f59cace1ebeac03f20964701b4d3bd4 (patch)
treef6545d28b7fd7ac177033c8e79df890e4a7b6055 /textproc/rtfm
parent03db413cc415471f511073dbaf039da22bc66af6 (diff)
downloadpkgsrc-7a141a023f59cace1ebeac03f20964701b4d3bd4.tar.gz
Add rtfm-1.0:
NetBSD documentation and GNU Texinfo files search mechanism rtfm(1) is a FreeBSD documentation search program that currently is able to search the FreeBSD manual pages and the GNU Texinfo pages. Modified for NetBSD by Tomasz Luchowski <zuntum@eik.pl> Pkg provided by Tomasz Luchowski <zuntum@eik.pl> in PR 11978
Diffstat (limited to 'textproc/rtfm')
-rw-r--r--textproc/rtfm/Makefile11
-rw-r--r--textproc/rtfm/files/md53
-rw-r--r--textproc/rtfm/files/patch-sum5
-rw-r--r--textproc/rtfm/patches/patch-aa40
-rw-r--r--textproc/rtfm/patches/patch-ab13
-rw-r--r--textproc/rtfm/patches/patch-ac13
-rw-r--r--textproc/rtfm/pkg/COMMENT1
-rw-r--r--textproc/rtfm/pkg/DESCR3
-rw-r--r--textproc/rtfm/pkg/PLIST3
9 files changed, 92 insertions, 0 deletions
diff --git a/textproc/rtfm/Makefile b/textproc/rtfm/Makefile
new file mode 100644
index 00000000000..ca7b8a6a398
--- /dev/null
+++ b/textproc/rtfm/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/17 23:35:42 hubertf Exp $
+# FreeBSD Id: ports/misc/rtfm/Makefile,v 1.10 2001/01/16 17:31:43 sobomax Exp
+
+DISTNAME= rtfm-1.0
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \
+ ftp://ftp.pl.freebsd.org/pub/FreeBSD/ports/distfiles/
+
+MAINTAINER= zuntum@eik.pl
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/rtfm/files/md5 b/textproc/rtfm/files/md5
new file mode 100644
index 00000000000..247b8c88dda
--- /dev/null
+++ b/textproc/rtfm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/01/17 23:35:42 hubertf Exp $
+
+MD5 (rtfm-1.0.tar.gz) = aee8b617f03bafcce49919d8799e7ae6
diff --git a/textproc/rtfm/files/patch-sum b/textproc/rtfm/files/patch-sum
new file mode 100644
index 00000000000..373b4ec670b
--- /dev/null
+++ b/textproc/rtfm/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/01/17 23:35:42 hubertf Exp $
+
+MD5 (patch-aa) = 608efa744af0b4c978ffb68d5e4a8162
+MD5 (patch-ab) = 216fee8bd64baa51871ad27b4dfe1865
+MD5 (patch-ac) = ecc496b11e2e2dec85cb658ff71ed0ee
diff --git a/textproc/rtfm/patches/patch-aa b/textproc/rtfm/patches/patch-aa
new file mode 100644
index 00000000000..c83e9d90be0
--- /dev/null
+++ b/textproc/rtfm/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/01/17 23:35:42 hubertf Exp $
+
+--- rtfm.c.orig Tue Jan 18 06:16:45 2000
++++ rtfm.c
+@@ -51,25 +51,24 @@
+
+ static int cflag, dflag, iflag, mflag, tflag, wflag;
+
+-/* From /usr/src/contrib/texinfo/info/filesys.h */
++/* From /usr/src/gnu/dist/texinfo/info/filesys.h */
+ const char *info_paths[] = {
+- "/usr/local/info",
+- "/usr/info",
+- "/usr/local/lib/info",
++ "/usr/pkg/info",
++ "/usr/pkg/lib/info",
+ "/usr/lib/info",
+- "/usr/local/gnu/info",
+- "/usr/local/gnu/lib/info",
++ "/usr/pkg/gnu/info",
++ "/usr/pkg/gnu/lib/info",
+ "/usr/gnu/info",
+ "/usr/gnu/lib/info",
+ "/opt/gnu/info",
+ "/usr/share/info",
+ "/usr/share/lib/info",
+- "/usr/local/share/info",
+- "/usr/local/share/lib/info",
++ "/usr/pkg/share/info",
++ "/usr/pkg/share/lib/info",
+ "/usr/gnu/lib/emacs/info",
+- "/usr/local/gnu/lib/emacs/info",
+- "/usr/local/lib/emacs/info",
+- "/usr/local/emacs/info",
++ "/usr/pkg/gnu/lib/emacs/info",
++ "/usr/pkg/lib/emacs/info",
++ "/usr/pkg/emacs/info",
+ ".",
+ NULL
+ };
diff --git a/textproc/rtfm/patches/patch-ab b/textproc/rtfm/patches/patch-ab
new file mode 100644
index 00000000000..61a9ffc7470
--- /dev/null
+++ b/textproc/rtfm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/01/17 23:35:42 hubertf Exp $
+
+--- rtfm.1.orig Tue Jan 18 06:17:36 2000
++++ rtfm.1
+@@ -37,7 +37,7 @@
+ .Nm
+ searches for
+ .Va keyword
+-in the FreeBSD manual pages and the GNU Texinfo pages.
++in the NetBSD manual pages and the GNU Texinfo pages.
+ .Pp
+ The following options are availible:
+ .Bl -tag -width indent
diff --git a/textproc/rtfm/patches/patch-ac b/textproc/rtfm/patches/patch-ac
new file mode 100644
index 00000000000..f04d3086ed3
--- /dev/null
+++ b/textproc/rtfm/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/01/17 23:35:42 hubertf Exp $
+
+--- Makefile.orig Tue Jan 18 06:33:15 2000
++++ Makefile
+@@ -4,7 +4,7 @@
+ ${CC} -o rtfm rtfm.c ${CFLAGS} ${LDFLAGS}
+
+ install: rtfm
+- install -c -s -o root -g wheel -m 0755 rtfm /usr/local/bin
++ install -c -s -o root -g wheel -m 0755 rtfm ${PREFIX}/bin
+ install -c -o root -g wheel -m 0644 rtfm.1 ${PREFIX}/man/man1
+
+ clean:
diff --git a/textproc/rtfm/pkg/COMMENT b/textproc/rtfm/pkg/COMMENT
new file mode 100644
index 00000000000..bf8c6c5f9f3
--- /dev/null
+++ b/textproc/rtfm/pkg/COMMENT
@@ -0,0 +1 @@
+NetBSD documentation and GNU Texinfo files search mechanism
diff --git a/textproc/rtfm/pkg/DESCR b/textproc/rtfm/pkg/DESCR
new file mode 100644
index 00000000000..c7bb34f0788
--- /dev/null
+++ b/textproc/rtfm/pkg/DESCR
@@ -0,0 +1,3 @@
+rtfm(1) is a FreeBSD documentation search program that currently is
+able to search the FreeBSD manual pages and the GNU Texinfo pages.
+Modified for NetBSD by Tomasz Luchowski <zuntum@eik.pl>
diff --git a/textproc/rtfm/pkg/PLIST b/textproc/rtfm/pkg/PLIST
new file mode 100644
index 00000000000..e78190d5efe
--- /dev/null
+++ b/textproc/rtfm/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/17 23:35:42 hubertf Exp $
+bin/rtfm
+man/man1/rtfm.1