Date: Thu, 14 Oct 1999 00:04:31 +0200 (MET DST) From: Juergen Lock <nox@jelal.kn-bremen.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14311: new port: www/gnuinfo Message-ID: <199910132204.AAA15884@saturn.kn-bremen.de>
next in thread | raw e-mail | index | archive | help
>Number: 14311 >Category: ports >Synopsis: new port: www/gnuinfo >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 13 15:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Juergen Lock >Release: FreeBSD 3.3-STABLE i386 >Organization: me? organized? >Environment: 3.3-STABLE i386 with a web server (i'm using apache) >Description: 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 >How-To-Repeat: n/a >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # files/ # files/gnuinfo.X11R6 # files/gnuinfo.local # files/md5 # patches/ # patches/patch-aa # pkg/ # pkg/COMMENT # pkg/DESCR # pkg/PLIST # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: gnuinfo X# Version required: 1.3 X# Date created: Tue Oct 12 00:02:04 MET DST 1999 X# Whom: Juergen Lock <nox@jelal.kn-bremen.de> X# X# $FreeBSD: $ X# X XDISTNAME= gnuinfo-1.3 XCATEGORIES= www XMASTER_SITES= http://user.cs.tu-berlin.de/~kraxel/info2html/ X XMAINTAINER= nox@jelal.kn-bremen.de X XNO_WRKSUBDIR= yes X X### X# Use these options for Apache: X### XCGIDIR= ${PREFIX}/share/apache/cgi-bin X Xdo-install: X ${MKDIR} ${CGIDIR} X ${INSTALL_PROGRAM} ${WRKSRC}/gnuinfo ${CGIDIR} X ${INSTALL_SCRIPT} ${FILESDIR}/gnuinfo.local ${FILESDIR}/gnuinfo.X11R6 ${CGIDIR} X X.include <bsd.port.mk> END-of-Makefile echo c - files/ mkdir -p files/ > /dev/null 2>&1 echo x - files/gnuinfo.X11R6 sed 's/^X//' >files/gnuinfo.X11R6 << 'END-of-files/gnuinfo.X11R6' X#! /bin/sh Xexport INFOPATH=/usr/X11R6/info Xexec ${SCRIPT_FILENAME%/*}/gnuinfo END-of-files/gnuinfo.X11R6 echo x - files/gnuinfo.local sed 's/^X//' >files/gnuinfo.local << 'END-of-files/gnuinfo.local' X#! /bin/sh Xexport INFOPATH=/usr/local/info Xexec ${SCRIPT_FILENAME%/*}/gnuinfo END-of-files/gnuinfo.local echo x - files/md5 sed 's/^X//' >files/md5 << 'END-of-files/md5' XMD5 (gnuinfo-1.3.tar.gz) = 80fb4f812d50a3d85fc5158aeb57e006 END-of-files/md5 echo c - patches/ mkdir -p patches/ > /dev/null 2>&1 echo x - patches/patch-aa sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa' XIndex: Makefile X@@ -1,9 +1,10 @@ X X-INFO_DIRS=\"/usr/info\" X+INFO_DIRS=\"/usr/share/info:/usr/local/info:/usr/X11R6/info\" X GZIP=\"/usr/bin/gzip\" X X-CC=gcc X-CFLAGS=-g -Wall -ansi -pedantic -O2 -DINFODIRS=$(INFO_DIRS) -DGZIP=$(GZIP) X+#CC=gcc X+#CFLAGS=-g -Wall -ansi -pedantic -O2 -DINFODIRS=$(INFO_DIRS) -DGZIP=$(GZIP) X+CFLAGS+=-Wall -ansi -pedantic -DINFODIRS=$(INFO_DIRS) -DGZIP=$(GZIP) X X VERSION=1.3 X OBJS=info2html.o convert.o X@@ -18,7 +19,7 @@ X convert.o: convert.c info2html.h X X convert.c: convert.lex X- flex -t convert.lex > convert.c X+ lex -t convert.lex > convert.c X X X install: gnuinfo END-of-patches/patch-aa echo c - pkg/ mkdir -p pkg/ > /dev/null 2>&1 echo x - pkg/COMMENT sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT' Xcgi program to convert GNU .info files into html END-of-pkg/COMMENT echo x - pkg/DESCR sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR' XThis is a cgi program that allows you to read the GNU .info files Xinstalled on a machine with any web browser. Needs a running web Xserver (like apache, in /usr/ports/www). The quality of the html Xisn't as good as that generated by the texi2html converter (in X/usr/ports/textproc) but the advantage of this one is that it Xdoesn't need access to the .texinfo files which are usually only Xavailable in the original source archives of the installed programs Xand not installed by default. X XThe port actually installs three cgis: gnuinfo, with the search Xpath preset to /usr/share/info:/usr/local/info:/usr/X11R6/info, Xand gnuinfo.local as well as gnuinfo.X11R6, with just /usr/local/info Xand /usr/X11R6/info, respectively. Use these to get at the toplevel X`dir' files for the other dirs, and to get at info pages for which Xthere are different versions with the same name in the different Xdirectories, like the two gcc.info* you have when you installed Xgcc 2.95.1 (/usr/ports/lang/egcs) in addition to the (less recent) Xsystem compiler. X XWWW: http://user.cs.tu-berlin.de/~kraxel/info2html/gnuinfo.html END-of-pkg/DESCR echo x - pkg/PLIST sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST' Xshare/apache/cgi-bin/gnuinfo Xshare/apache/cgi-bin/gnuinfo.local Xshare/apache/cgi-bin/gnuinfo.X11R6 END-of-pkg/PLIST exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910132204.AAA15884>