summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-09 09:13:49 +0000
committeragc <agc@pkgsrc.org>1997-10-09 09:13:49 +0000
commit7674520d8e4d9b7813b8c73e480303910261a574 (patch)
treeb9a1511a321e454a4bd1ee264351dfa6dea3fee8
parent06ebb9aa7a7ceae41b57d60178da6a8f9cf6e0c7 (diff)
downloadpkgsrc-7674520d8e4d9b7813b8c73e480303910261a574.tar.gz
Initial import of GNU texinfo package.
This is necessary because NetBSD has no default way of reading GNU info files - FreeBSD has had this in their base system since 2.2.2. This allows the default installation of package's info files, and means less differences between individual package's Makefiles in NetBSD and FreeBSD. `Renamed' to gtexinfo to distinguish it from the print/texinfo package.
-rw-r--r--devel/gtexinfo/Makefile22
-rw-r--r--devel/gtexinfo/files/md51
-rw-r--r--devel/gtexinfo/patches/patch-aa26
-rw-r--r--devel/gtexinfo/pkg/COMMENT1
-rw-r--r--devel/gtexinfo/pkg/DESCR9
-rw-r--r--devel/gtexinfo/pkg/PLIST23
6 files changed, 82 insertions, 0 deletions
diff --git a/devel/gtexinfo/Makefile b/devel/gtexinfo/Makefile
new file mode 100644
index 00000000000..1bcf596cc47
--- /dev/null
+++ b/devel/gtexinfo/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 1997/10/09 09:13:49 agc Exp $
+# New ports collection makefile for: GNU texinfo
+# Version required: 3.9
+# Date created: 7th October 1997
+# Whom: Alistair Crooks (agc@netbsd.org)
+#
+
+DISTNAME= texinfo-3.9
+PKGNAME= gtexinfo-3.9
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
+
+GNU_CONFIGURE= yes
+MAN1= info.1
+
+post-install:
+ ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/texinfo
+ ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/makeinfo.info
+ ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/info.info
+ ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/info-stnd.info
+
+.include <bsd.port.mk>
diff --git a/devel/gtexinfo/files/md5 b/devel/gtexinfo/files/md5
new file mode 100644
index 00000000000..1dba7b908eb
--- /dev/null
+++ b/devel/gtexinfo/files/md5
@@ -0,0 +1 @@
+MD5 (texinfo-3.9.tar.gz) = 94039aa7449af22dd8c7da23bdc52b6a
diff --git a/devel/gtexinfo/patches/patch-aa b/devel/gtexinfo/patches/patch-aa
new file mode 100644
index 00000000000..5846fb20a99
--- /dev/null
+++ b/devel/gtexinfo/patches/patch-aa
@@ -0,0 +1,26 @@
+--- util/install-info.c 1996/10/03 23:13:36 1.12
++++ util/install-info.c 1997/10/07 13:10:54
+@@ -338,16 +338,23 @@
+ We define this function here rather than using strerror
+ because not all systems have strerror. */
+
++#include <sys/param.h>
++#include <string.h>
++
+ char *
+ my_strerror (errnum)
+ int errnum;
+ {
++#if (defined(BSD) && BSD >= 199306)
++ return strerror(errnum);
++#else
+ extern char *sys_errlist[];
+ extern int sys_nerr;
+
+ if (errnum >= 0 && errnum < sys_nerr)
+ return sys_errlist[errnum];
+ return (char *) "Unknown error";
++#endif
+ }
+
+ /* This table defines all the long-named options, says whether they
diff --git a/devel/gtexinfo/pkg/COMMENT b/devel/gtexinfo/pkg/COMMENT
new file mode 100644
index 00000000000..fa257b07139
--- /dev/null
+++ b/devel/gtexinfo/pkg/COMMENT
@@ -0,0 +1 @@
+GNU info file manipulation utilities. NOT to be confused with print/texinfo
diff --git a/devel/gtexinfo/pkg/DESCR b/devel/gtexinfo/pkg/DESCR
new file mode 100644
index 00000000000..baf585483d1
--- /dev/null
+++ b/devel/gtexinfo/pkg/DESCR
@@ -0,0 +1,9 @@
+GNU hypertext utilities to manipulate info files.
+
+Version 3.9.
+
+The GNU project has a hypertext system called Info which
+allows the same source file to be either printed as a
+paper manual, or viewed using info. It is possible to use
+the info program from inside Emacs, or to use the stand-
+alone version described here.
diff --git a/devel/gtexinfo/pkg/PLIST b/devel/gtexinfo/pkg/PLIST
new file mode 100644
index 00000000000..fb32e0bce48
--- /dev/null
+++ b/devel/gtexinfo/pkg/PLIST
@@ -0,0 +1,23 @@
+bin/makeinfo
+bin/info
+bin/texindex
+bin/texi2dvi
+bin/install-info
+man/man1/info.1.gz
+info/dir
+info/makeinfo.info
+info/info.info
+info/info-stnd.info
+info/texinfo
+info/texinfo-1
+info/texinfo-2
+info/texinfo-3
+info/texinfo-4
+info/texinfo-5
+info/texinfo-6
+info/texinfo-7
+info/texinfo-8
+info/texinfo-9
+info/texinfo-10
+info/texinfo-11
+info/texinfo-12