Date: Sun, 9 Nov 1997 19:10:40 +0300 (MSK) From: Andrey Zakhvatov <andy@icc.surw.chel.su> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/4991: New port: c2html-0.1 Message-ID: <199711091610.TAA23575@icc.surw.chel.su> Resent-Message-ID: <199711091610.IAA19321@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4991 >Category: ports >Synopsis: New port: c2html-0.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 9 08:10:00 PST 1997 >Last-Modified: >Originator: Andrey Zakhvatov >Organization: South Ural Railway ICC >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: This is a port of the C-language sources to HTML converter c2html is a syntax highlighter for C source code that produces a highlighted html file as output. The output can be read by any graphical WWW-Browser. If the browser understands the tags to change font colors (as Netscape does) the output will look like highlighted by emacs. Otherwise it will not look so nice, but readability is increased too. # 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: # # c2html-0.1 # c2html-0.1/Makefile # c2html-0.1/pkg # c2html-0.1/pkg/PLIST # c2html-0.1/pkg/COMMENT # c2html-0.1/pkg/DESCR # c2html-0.1/files # c2html-0.1/files/md5 # c2html-0.1/patches # c2html-0.1/patches/patch-aa # echo c - c2html-0.1 mkdir -p c2html-0.1 > /dev/null 2>&1 echo x - c2html-0.1/Makefile sed 's/^X//' >c2html-0.1/Makefile << 'END-of-c2html-0.1/Makefile' X# New ports collection makefile for: c2html X# Version required: 0.1 X# Date created: 28 October 1997 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= c2html-0.1 XCATEGORIES= converters www XMASTER_SITES= ${MASTER_SITE_SUNSITE} XMASTER_SITE_SUBDIR= apps/www/converters X XMAINTAINER= andy@icc.surw.chel.su X XMAN1= c2html.1 X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/c2html ${PREFIX}/bin X @ ${INSTALL_MAN} ${WRKSRC}/c2html.1 ${PREFIX}/man/man1 X @ ${MKDIR} ${PREFIX}/share/doc/c2html X.for file in COPYING README X @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/c2html X.endfor X X.include <bsd.port.mk> END-of-c2html-0.1/Makefile echo c - c2html-0.1/pkg mkdir -p c2html-0.1/pkg > /dev/null 2>&1 echo x - c2html-0.1/pkg/PLIST sed 's/^X//' >c2html-0.1/pkg/PLIST << 'END-of-c2html-0.1/pkg/PLIST' Xbin/c2html Xman/man1/c2html.1.gz Xshare/doc/c2html/COPYING Xshare/doc/c2html/README X@dirrm share/doc/c2html END-of-c2html-0.1/pkg/PLIST echo x - c2html-0.1/pkg/COMMENT sed 's/^X//' >c2html-0.1/pkg/COMMENT << 'END-of-c2html-0.1/pkg/COMMENT' XC-language sources to HTML converter END-of-c2html-0.1/pkg/COMMENT echo x - c2html-0.1/pkg/DESCR sed 's/^X//' >c2html-0.1/pkg/DESCR << 'END-of-c2html-0.1/pkg/DESCR' Xc2html is a syntax highlighter for C source code that produces a Xhighlighted html file as output. The output can be read by any Xgraphical WWW-Browser. If the browser understands the tags to change Xfont colors (as Netscape does) the output will look like highlighted Xby emacs. Otherwise it will not look so nice, but readability is Xincreased too. END-of-c2html-0.1/pkg/DESCR echo c - c2html-0.1/files mkdir -p c2html-0.1/files > /dev/null 2>&1 echo x - c2html-0.1/files/md5 sed 's/^X//' >c2html-0.1/files/md5 << 'END-of-c2html-0.1/files/md5' XMD5 (c2html-0.1.tar.gz) = 66659aec84aad813e52042576abf6662 END-of-c2html-0.1/files/md5 echo c - c2html-0.1/patches mkdir -p c2html-0.1/patches > /dev/null 2>&1 echo x - c2html-0.1/patches/patch-aa sed 's/^X//' >c2html-0.1/patches/patch-aa << 'END-of-c2html-0.1/patches/patch-aa' X*** Makefile Tue Sep 2 02:18:51 1997 X--- /home/andy/tmp/wrk/Makefile Tue Oct 28 15:47:59 1997 X*************** X*** 2,14 **** X X CC = gcc X FLEX = flex X! CFLAGS = -O2 -Wall -pedantic -ansi X X all: c2html X X c2html: c2html.l X $(FLEX) c2html.l X! $(CC) $(CFLAGS) -o c2html lex.yy.c -static -lfl X clean: X rm -rf *.o *~ c2html X X--- 2,14 ---- X X CC = gcc X FLEX = flex X! CFLAGS+= -Wall -pedantic -ansi X X all: c2html X X c2html: c2html.l X $(FLEX) c2html.l X! $(CC) $(CFLAGS) -o c2html lex.yy.c -lfl X clean: X rm -rf *.o *~ c2html X END-of-c2html-0.1/patches/patch-aa exit >How-To-Repeat: >Fix: Please, check and commit this port. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711091610.TAA23575>