From 7674520d8e4d9b7813b8c73e480303910261a574 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 9 Oct 1997 09:13:49 +0000 Subject: 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. --- devel/gtexinfo/Makefile | 22 ++++++++++++++++++++++ devel/gtexinfo/files/md5 | 1 + devel/gtexinfo/patches/patch-aa | 26 ++++++++++++++++++++++++++ devel/gtexinfo/pkg/COMMENT | 1 + devel/gtexinfo/pkg/DESCR | 9 +++++++++ devel/gtexinfo/pkg/PLIST | 23 +++++++++++++++++++++++ 6 files changed, 82 insertions(+) create mode 100644 devel/gtexinfo/Makefile create mode 100644 devel/gtexinfo/files/md5 create mode 100644 devel/gtexinfo/patches/patch-aa create mode 100644 devel/gtexinfo/pkg/COMMENT create mode 100644 devel/gtexinfo/pkg/DESCR create mode 100644 devel/gtexinfo/pkg/PLIST 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 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 ++#include ++ + 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 -- cgit v1.2.3