diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-26 19:29:56 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-26 19:29:56 +0000 |
commit | f3153e61d474df7ed3ae2c011bd98ed440fd04ff (patch) | |
tree | e8124070c378a5bdafd460fc7644d89f7483712d /www/gnuinfo | |
parent | Activate the dungeon, krubik, ptkei, speyes, and wolfpack ports. (diff) |
Initial import of gnuinfo version 1.3.
A CGI program to convert GNU .info files into html.
PR: 14311
Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Notes
Notes:
svn path=/head/; revision=23384
Diffstat (limited to 'www/gnuinfo')
-rw-r--r-- | www/gnuinfo/Makefile | 27 | ||||
-rw-r--r-- | www/gnuinfo/distinfo | 1 | ||||
-rw-r--r-- | www/gnuinfo/files/gnuinfo.X11R6 | 3 | ||||
-rw-r--r-- | www/gnuinfo/files/gnuinfo.local | 3 | ||||
-rw-r--r-- | www/gnuinfo/files/patch-aa | 24 | ||||
-rw-r--r-- | www/gnuinfo/pkg-comment | 1 | ||||
-rw-r--r-- | www/gnuinfo/pkg-descr | 20 | ||||
-rw-r--r-- | www/gnuinfo/pkg-plist | 3 |
8 files changed, 82 insertions, 0 deletions
diff --git a/www/gnuinfo/Makefile b/www/gnuinfo/Makefile new file mode 100644 index 000000000000..6ab671a79f4e --- /dev/null +++ b/www/gnuinfo/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: gnuinfo +# Version required: 1.3 +# Date created: Tue Oct 12 00:02:04 MET DST 1999 +# Whom: Juergen Lock <nox@jelal.kn-bremen.de> +# +# $FreeBSD$ +# + +DISTNAME= gnuinfo-1.3 +CATEGORIES= www +MASTER_SITES= http://user.cs.tu-berlin.de/~kraxel/info2html/ + +MAINTAINER= nox@jelal.kn-bremen.de + +NO_WRKSUBDIR= yes + +### +# Use these options for Apache: +### +CGIDIR= ${PREFIX}/share/apache/cgi-bin + +do-install: + ${MKDIR} ${CGIDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/gnuinfo ${CGIDIR} + ${INSTALL_SCRIPT} ${FILESDIR}/gnuinfo.local ${FILESDIR}/gnuinfo.X11R6 ${CGIDIR} + +.include <bsd.port.mk> diff --git a/www/gnuinfo/distinfo b/www/gnuinfo/distinfo new file mode 100644 index 000000000000..78f25bf1d5cd --- /dev/null +++ b/www/gnuinfo/distinfo @@ -0,0 +1 @@ +MD5 (gnuinfo-1.3.tar.gz) = 80fb4f812d50a3d85fc5158aeb57e006 diff --git a/www/gnuinfo/files/gnuinfo.X11R6 b/www/gnuinfo/files/gnuinfo.X11R6 new file mode 100644 index 000000000000..3e5a5c75a833 --- /dev/null +++ b/www/gnuinfo/files/gnuinfo.X11R6 @@ -0,0 +1,3 @@ +#! /bin/sh +export INFOPATH=/usr/X11R6/info:/usr/share/info:/usr/local/info +exec ${SCRIPT_FILENAME%/*}/gnuinfo diff --git a/www/gnuinfo/files/gnuinfo.local b/www/gnuinfo/files/gnuinfo.local new file mode 100644 index 000000000000..4b8e131eb5d4 --- /dev/null +++ b/www/gnuinfo/files/gnuinfo.local @@ -0,0 +1,3 @@ +#! /bin/sh +export INFOPATH=/usr/local/info:/usr/share/info:/usr/X11R6/info +exec ${SCRIPT_FILENAME%/*}/gnuinfo diff --git a/www/gnuinfo/files/patch-aa b/www/gnuinfo/files/patch-aa new file mode 100644 index 000000000000..ca79c60c9f2e --- /dev/null +++ b/www/gnuinfo/files/patch-aa @@ -0,0 +1,24 @@ +Index: Makefile +@@ -1,9 +1,10 @@ + +-INFO_DIRS=\"/usr/info\" ++INFO_DIRS=\"/usr/share/info:/usr/local/info:/usr/X11R6/info\" + GZIP=\"/usr/bin/gzip\" + +-CC=gcc +-CFLAGS=-g -Wall -ansi -pedantic -O2 -DINFODIRS=$(INFO_DIRS) -DGZIP=$(GZIP) ++#CC=gcc ++#CFLAGS=-g -Wall -ansi -pedantic -O2 -DINFODIRS=$(INFO_DIRS) -DGZIP=$(GZIP) ++CFLAGS+=-Wall -ansi -pedantic -DINFODIRS=$(INFO_DIRS) -DGZIP=$(GZIP) + + VERSION=1.3 + OBJS=info2html.o convert.o +@@ -18,7 +19,7 @@ + convert.o: convert.c info2html.h + + convert.c: convert.lex +- flex -t convert.lex > convert.c ++ lex -t convert.lex > convert.c + + + install: gnuinfo diff --git a/www/gnuinfo/pkg-comment b/www/gnuinfo/pkg-comment new file mode 100644 index 000000000000..9a881d9414ba --- /dev/null +++ b/www/gnuinfo/pkg-comment @@ -0,0 +1 @@ +CGI program to convert GNU .info files into html diff --git a/www/gnuinfo/pkg-descr b/www/gnuinfo/pkg-descr new file mode 100644 index 000000000000..21acbb7259b7 --- /dev/null +++ b/www/gnuinfo/pkg-descr @@ -0,0 +1,20 @@ +This is a cgi program that allows you to read the GNU .info files +installed on a machine with any web browser. Needs a running web +server (like apache, in /usr/ports/www). The quality of the html +isn't as good as that generated by the texi2html converter (in +/usr/ports/textproc) but the advantage of this one is that it +doesn't need access to the .texinfo files which are usually only +available in the original source archives of the installed programs +and not installed by default. + +The port actually installs three cgis: gnuinfo, with the search +path preset to /usr/share/info:/usr/local/info:/usr/X11R6/info, +and gnuinfo.local as well as gnuinfo.X11R6, with just /usr/local/info +and /usr/X11R6/info, respectively. Use these to get at the toplevel +`dir' files for the other dirs, and to get at info pages for which +there are different versions with the same name in the different +directories, like the two gcc.info* you have when you installed +gcc 2.95.1 (/usr/ports/lang/egcs) in addition to the (less recent) +system compiler. + +WWW: http://user.cs.tu-berlin.de/~kraxel/info2html/gnuinfo.html diff --git a/www/gnuinfo/pkg-plist b/www/gnuinfo/pkg-plist new file mode 100644 index 000000000000..38493bbdf22e --- /dev/null +++ b/www/gnuinfo/pkg-plist @@ -0,0 +1,3 @@ +share/apache/cgi-bin/gnuinfo +share/apache/cgi-bin/gnuinfo.local +share/apache/cgi-bin/gnuinfo.X11R6 |