From owner-freebsd-ports Thu May 27 15:20:10 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 80F7E14C4E for ; Thu, 27 May 1999 15:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA57268; Thu, 27 May 1999 15:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kaa.kfunigraz.ac.at (KAA16.kfunigraz.ac.at [143.50.16.17]) by hub.freebsd.org (Postfix) with ESMTP id 876E015A30 for ; Thu, 27 May 1999 15:18:19 -0700 (PDT) (envelope-from dada@balu.kfunigraz.ac.at) Received: from balu.kfunigraz.ac.at (balu [143.50.16.16]) by kaa.kfunigraz.ac.at (8.9.2/8.9.2) with ESMTP id AAA13502 for ; Fri, 28 May 1999 00:17:08 +0200 (MDT) Received: from localhost.kfunigraz.ac.at (IDENT:qi4BZohkDZAtwPhnd/dy5fLPqD8d8ZTF@BONLINEA27.kfunigraz.ac.at [143.50.36.27]) by balu.kfunigraz.ac.at (8.9.2/8.9.2) with ESMTP id AAA15192 for ; Fri, 28 May 1999 00:17:43 +0200 (MDT) Received: (from dada@localhost) by localhost.kfunigraz.ac.at (8.8.8/x.y.z) id WAA14862; Thu, 27 May 1999 22:34:52 +0200 (CEST) (envelope-from dada) Message-Id: <199905272034.WAA14862@localhost.kfunigraz.ac.at> Date: Thu, 27 May 1999 22:34:52 +0200 (CEST) From: dada@sbox.tu-graz.ac.at Reply-To: dada@sbox.tu-graz.ac.at To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11907: new port textproc/perl2html Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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