Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 1999 22:34:52 +0200 (CEST)
From:      dada@sbox.tu-graz.ac.at
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11907: new port textproc/perl2html
Message-ID:  <199905272034.WAA14862@localhost.kfunigraz.ac.at>

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

>Number:         11907
>Category:       ports
>Synopsis:       new port textproc/perl2html
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 27 15:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Martin Kammerhofer
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
Graz University of Technology
>Environment:
>Description:

	This port is a flex program that makes colourized HTML
	out of Perl program sources.
	It works as a standalone or a CGI program.
	By adding 2 lines to 'http.conf' and installing perl2html
	into /cgi-bin it is easily integrated with apache.

	This port is very similar in behaviour and structure to
	the textproc/c2html and textproc/java2html ports.
	They make a nice toolset for colourized source tree browsing.
	(Only a shell2html is missing). 

>How-To-Repeat:
>Fix:
<============CUT HERE PLEASE===================================================
# 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:
#
#	perl2html
#	perl2html/files
#	perl2html/files/md5
#	perl2html/patches
#	perl2html/patches/patch-aa
#	perl2html/pkg
#	perl2html/pkg/COMMENT
#	perl2html/pkg/DESCR
#	perl2html/pkg/PLIST
#	perl2html/Makefile
#
echo c - perl2html
mkdir -p perl2html > /dev/null 2>&1
echo c - perl2html/files
mkdir -p perl2html/files > /dev/null 2>&1
echo x - perl2html/files/md5
sed 's/^X//' >perl2html/files/md5 << 'END-of-perl2html/files/md5'
XMD5 (perl2html-0.6.1.tar.gz) = 2c23b1cc2f74cdc25f08b5a3f2aa0adb
END-of-perl2html/files/md5
echo c - perl2html/patches
mkdir -p perl2html/patches > /dev/null 2>&1
echo x - perl2html/patches/patch-aa
sed 's/^X//' >perl2html/patches/patch-aa << 'END-of-perl2html/patches/patch-aa'
X--- Makefile.in.orig	Wed May 26 19:31:36 1999
X+++ Makefile.in	Thu May 27 21:54:22 1999
X@@ -9,7 +9,7 @@
X # for gzip because otherwise the load on the web server
X # grows without having big benefits.
X # COMPRESSION = -DCOMPRESSION=4
X-COMPRESSION = -DCOMPRESSION=1
X+COMPRESSION ?= -DCOMPRESSION=1
X 
X # Dont change things beyond this line.
X TARGET          = @PROJECT_NAME@
X@@ -40,7 +40,7 @@
X srcdir          = @srcdir@
X CPPFLAGS        = @CPPFLAGS@
X 
X-CFLAGS += -O2 -Wall
X+CFLAGS ?= -O2 -Wall
X ALL_CFLAGS = $(CFLAGS) -I$(srcdir) $(COMPRESSION) 
X 
X all: $(TARGET)
END-of-perl2html/patches/patch-aa
echo c - perl2html/pkg
mkdir -p perl2html/pkg > /dev/null 2>&1
echo x - perl2html/pkg/COMMENT
sed 's/^X//' >perl2html/pkg/COMMENT << 'END-of-perl2html/pkg/COMMENT'
XPerl sources to HTML converter
END-of-perl2html/pkg/COMMENT
echo x - perl2html/pkg/DESCR
sed 's/^X//' >perl2html/pkg/DESCR << 'END-of-perl2html/pkg/DESCR'
XPerl2html is a syntax highlighter for Perl source code that produces a
Xhighlighted html file as output.
X
XPerl2html offers the following features:
X   
X    - fast (single pass conversion using flex)
X    - doesn't change formatting - only adds <FONT COLOR=#XXXX> tags
X        and properly escapes non-ascii characters
X    - easy integration with webservers - browse your sources colourized
X    - gzips http output for browsers to save bandwidth (only in CGI mode)
X    - documentation and manpage included
END-of-perl2html/pkg/DESCR
echo x - perl2html/pkg/PLIST
sed 's/^X//' >perl2html/pkg/PLIST << 'END-of-perl2html/pkg/PLIST'
Xbin/perl2html
Xshare/doc/perl2html/AUTHORS
Xshare/doc/perl2html/NEWS
Xshare/doc/perl2html/README
X@dirrm share/doc/perl2html
END-of-perl2html/pkg/PLIST
echo x - perl2html/Makefile
sed 's/^X//' >perl2html/Makefile << 'END-of-perl2html/Makefile'
X# New ports collection makefile for:	perl2html
X# Version required:			0.6.1
X# Date created:				27 May 1999
X# Whom:					Martin Kammerhofer
X#
X# $Id$
X#
X
XDISTNAME=		perl2html-0.6.1
XCATEGORIES=		textproc www
XMASTER_SITES=		${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	apps/www/converters
X
XMAINTAINER=		mkamm@gmx.net
X
XUSE_AUTOCONF=		yes
X
XMAN1=			perl2html.1
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	${MKDIR} ${PREFIX}/share/doc/perl2html
X.for file in AUTHORS NEWS README
X	${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/perl2html
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-perl2html/Makefile
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?199905272034.WAA14862>