Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Nov 1997 19:36:24 +0000
From:      Ian Vaudrey <i.vaudrey@cableinet.co.uk>
To:        FreeBSD-gnats-submit <FreeBSD-gnats-submit@FreeBSD.ORG>
Subject:   ports/4952: New port: texi2html
Message-ID:  <3460CAB8.BBB0590D@cableinet.co.uk>
Resent-Message-ID: <199711051940.LAA02089@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4952
>Category:       ports
>Synopsis:       New port: texi2html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov  5 11:40:00 PST 1997
>Last-Modified:
>Originator:     Ian Vaudrey
>Organization:
>Release:        FreeBSD 2.2-STABLE i386
>Environment:

        2.2-STABLE

>Description:

	This is a port of texi2html from CERN. This program makes
	a really nice job of converting Texinfo docs to html.

>How-To-Repeat:

	Please review and commit the archive in the next section.

>Fix:

	Shell archive follows. Also uploaded to
	ftp://ftp.freebsd.org/pub/FreeBSD/incoming/texi2html.port.shar.gz
	in case of corruption!

# 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:
#
#	texi2html
#	texi2html/Makefile
#	texi2html/files
#	texi2html/files/md5
#	texi2html/pkg
#	texi2html/pkg/COMMENT
#	texi2html/pkg/DESCR
#	texi2html/pkg/PLIST
#	texi2html/patches
#	texi2html/patches/patch-aa
#
echo c - texi2html
mkdir -p texi2html > /dev/null 2>&1
echo x - texi2html/Makefile
sed 's/^X//' >texi2html/Makefile << 'END-of-texi2html/Makefile'
X# New ports collection makefile for:	texi2html
X# Version required:	1.51
X# Date created:		5 Nov 1997
X# Whom:			Ian Vaudrey <i.vaudrey@cableinet.co.uk>
X#
X# $Id$
X#
X
XDISTNAME=	texi2html
XPKGNAME=	texi2html-1.51
XCATEGORIES=	textproc
XMASTER_SITES=	http://wwwcn.cern.ch/dci/texi2html/ \
X		ftp://ftp.scc.ru/pub/unix/
XEXTRACT_SUFX=	.shar.Z
X
XMAINTAINER=	i.vaudrey@cableinet.co.uk
X
XEXTRACT_CMD=	uncompress
XEXTRACT_BEFORE_ARGS=	-c
XEXTRACT_AFTER_ARGS=	| sh
XNO_WRKSUBDIR=	yes
XNO_CONFIGURE=	yes
XNO_BUILD=	yes
X
XMAN1=		texi2html.1
X
Xpost-extract:
X	@cd ${WRKDIR}; split -l 1881 texi2html texi2html.
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/texi2html.aa ${PREFIX}/bin/texi2html
X	${INSTALL_MAN} ${WRKDIR}/texi2html.ab ${PREFIX}/man/man1/${MAN1}
X
X.include <bsd.port.mk>
END-of-texi2html/Makefile
echo c - texi2html/files
mkdir -p texi2html/files > /dev/null 2>&1
echo x - texi2html/files/md5
sed 's/^X//' >texi2html/files/md5 << 'END-of-texi2html/files/md5'
XMD5 (texi2html.shar.Z) = 8547519276293f6d37533ac0aa431e97
END-of-texi2html/files/md5
echo c - texi2html/pkg
mkdir -p texi2html/pkg > /dev/null 2>&1
echo x - texi2html/pkg/COMMENT
sed 's/^X//' >texi2html/pkg/COMMENT << 'END-of-texi2html/pkg/COMMENT'
Xtexi2html - a Texinfo to HTML converter
END-of-texi2html/pkg/COMMENT
echo x - texi2html/pkg/DESCR
sed 's/^X//' >texi2html/pkg/DESCR << 'END-of-texi2html/pkg/DESCR'
Xtexi2html takes Texinfo files (and not info ones) and produces a set of HTML 
Xfiles. The quality of the output is close to the printed output and is much 
Xbetter than an info->HTML gateway. It understands most Texinfo version 2 
Xcommands and runs without problem on big Texinfo files like the GNU Emacs 19 
Xmanual.
X
XThis program is distributed under the GNU General Public License.
END-of-texi2html/pkg/DESCR
echo x - texi2html/pkg/PLIST
sed 's/^X//' >texi2html/pkg/PLIST << 'END-of-texi2html/pkg/PLIST'
Xbin/texi2html
Xman/man1/texi2html.1.gz
END-of-texi2html/pkg/PLIST
echo c - texi2html/patches
mkdir -p texi2html/patches > /dev/null 2>&1
echo x - texi2html/patches/patch-aa
sed 's/^X//' >texi2html/patches/patch-aa << 'END-of-texi2html/patches/patch-aa'
X--- texi2html.aa.orig	Wed Nov  5 15:07:06 1997
X+++ texi2html.aa	Wed Nov  5 15:08:37 1997
X@@ -1,6 +1,4 @@
X-#!/usr/local/bin/perl
X-'di ';
X-'ig 00 ';
X+#!/usr/bin/perl
X #+##############################################################################
X #                                                                              #
X # File: texi2html                                                              #
X@@ -11,8 +9,6 @@
X 
X # @(#)texi2html	1.51 09/10/96	Written (mainly) by Lionel Cons, Lionel.Cons@cern.ch
X 
X-# The man page for this program is included at the end of this file and can be
X-# viewed using the command 'nroff -man texi2html'.
X # Please read the copyright at the end of the man page.
X 
X #+++############################################################################
X@@ -1869,13 +1865,3 @@
X     $key2alpha{$a} cmp $key2alpha{$b};
X }
X 
X-##############################################################################
X-
X-	# These next few lines are legal in both Perl and nroff.
X-
X-.00 ;			# finish .ig
X- 
X-'di			\" finish diversion--previous line must be blank
X-.nr nl 0-1		\" fake up transition to first page again
X-.nr % 0			\" start at page 1
X-'; __END__ ############# From here on it's a standard manual page ############
END-of-texi2html/patches/patch-aa
exit

--------------6AD5EF0533C1A88F5C0FC27D--

>Audit-Trail:
>Unformatted:
This is a multi-part message in MIME format.
--------------6AD5EF0533C1A88F5C0FC27D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


--------------6AD5EF0533C1A88F5C0FC27D
Content-Type: text/plain; charset=us-ascii; name="texi2html.port.shar.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="texi2html.port.shar.txt"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3460CAB8.BBB0590D>