The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD textproc : c2html

C-language sources to HTML converter

 C2html is a syntax highlighter for C source code that produces a
highlighted html file as output.

C2html offers the following features:
   
    - fast (single pass conversion using flex)
    - doesn't change formatting - only adds  tags
        and properly escapes non-ascii characters
    - easy integration with webservers - browse your sources colourized!
    - gzips http output for browsers to save bandwidth (only in CGI mode)
    - documentation and manpage included

Please use the java2html port for converting C++ sources!
 

http://user.cs.tu-berlin.de/~schintke/x2html/



c2html history


v. 1.16
date: 2006/06/04 16:06:39;  author: erwin;  state: Exp;  lines: +1 -1
Update to 0.9.6

PR:		98490
Submitted by:	Martin Wilke 
Approved by:	maintainer

v. 1.15 date: 2006/05/01 16:46:23; author: krion; state: Exp; lines: +1 -1 Update to 0.9.5 Use DOCSDIR macro in plist. PR: ports/96586 Submitted by: Ion-Mihai "IOnut" Tetcu
v. 1.14 date: 2005/11/15 06:51:14; author: ade; state: Exp; lines: +1 -1 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
v. 1.13 date: 2004/03/14 06:17:25; author: ade; state: Exp; lines: +1 -1 Whoa there, boy, that's a mighty big commit y'all have there... Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
v. 1.12 date: 2003/02/21 13:42:32; author: knu; state: Exp; lines: +2 -1 De-pkg-comment.
v. 1.11 date: 2001/02/05 16:34:28; author: olgeni; state: Exp; lines: +2 -2 More style fixes for ports/textproc.
v. 1.10 date: 2000/05/28 04:11:29; author: steve; state: Exp; lines: +2 -2 Update to version 0.9.2.
v. 1.9 date: 2000/04/30 00:29:39; author: steve; state: Exp; lines: +2 -3 Update to version 0.9.1. PR: 18183 Submitted by: maintainer
v. 1.8 date: 2000/04/09 21:52:11; author: cpiazza; state: Exp; lines: +3 -3 Update with the new PORTNAME/PORTVERSION variables
v. 1.7 date: 1999/12/25 01:37:45; author: steve; state: Exp; lines: +3 -3 Update to version 0.7.2. PR: 15562 Submitted by: maintainer
v. 1.6 date: 1999/09/28 01:20:27; author: dan; state: Exp; lines: +2 -2 Update c2html to version 0.6.3 PR: potrs/14005 Submitted by: Martin Kammerhofer
v. 1.5 date: 1999/08/31 02:09:00; author: peter; state: Exp; lines: +1 -1 $Id$ -> $FreeBSD$
v. 1.4 date: 1999/05/29 04:14:27; author: steve; state: Exp; lines: +2 -7 Update to version 0.6.1. PR: 11904 Submitted by: maintainer
v. 1.3 date: 1999/05/07 05:27:30; author: mharo; state: Exp; lines: +7 -2 update to version 0.5 PR: 11461 Submitted by: Martin Kammerhofer dada@sbox.tu-graz.ac.at
v. 1.2 date: 1999/04/02 03:58:53; author: steve; state: Exp; lines: +13 -10 Update to version 0.4. PR: 10732 Submitted by: Martin Kammerhofer
v. 1.1 date: 1997/11/22 00:30:17; author: jseger; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1997/11/22 00:30:17; author: jseger; state: Exp; lines: +0 -0 Reimport c2html v0.1 into the ports/textproc/c2html directory. Submitted by: andy@icc.surw.chel.su ============================================================================= v. 1.16 date: 2006/06/04 16:06:39; author: erwin; state: Exp; lines: +1 -1 Update to 0.9.6 PR: 98490 Submitted by: Martin Wilke Approved by: maintainer
v. 1.15 date: 2006/05/01 16:46:23; author: krion; state: Exp; lines: +1 -1 Update to 0.9.5 Use DOCSDIR macro in plist. PR: ports/96586 Submitted by: Ion-Mihai "IOnut" Tetcu
v. 1.14 date: 2005/11/15 06:51:14; author: ade; state: Exp; lines: +1 -1 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
v. 1.13 date: 2004/03/14 06:17:25; author: ade; state: Exp; lines: +1 -1 Whoa there, boy, that's a mighty big commit y'all have there... Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
v. 1.12 date: 2003/02/21 13:42:32; author: knu; state: Exp; lines: +2 -1 De-pkg-comment.
v. 1.11 date: 2001/02/05 16:34:28; author: olgeni; state: Exp; lines: +2 -2 More style fixes for ports/textproc.
v. 1.10 date: 2000/05/28 04:11:29; author: steve; state: Exp; lines: +2 -2 Update to version 0.9.2.
v. 1.9 date: 2000/04/30 00:29:39; author: steve; state: Exp; lines: +2 -3 Update to version 0.9.1. PR: 18183 Submitted by: maintainer
v. 1.8 date: 2000/04/09 21:52:11; author: cpiazza; state: Exp; lines: +3 -3 Update with the new PORTNAME/PORTVERSION variables
v. 1.7 date: 1999/12/25 01:37:45; author: steve; state: Exp; lines: +3 -3 Update to version 0.7.2. PR: 15562 Submitted by: maintainer
v. 1.6 date: 1999/09/28 01:20:27; author: dan; state: Exp; lines: +2 -2 Update c2html to version 0.6.3 PR: potrs/14005 Submitted by: Martin Kammerhofer
v. 1.5 date: 1999/08/31 02:09:00; author: peter; state: Exp; lines: +1 -1 $Id$ -> $FreeBSD$
v. 1.4 date: 1999/05/29 04:14:27; author: steve; state: Exp; lines: +2 -7 Update to version 0.6.1. PR: 11904 Submitted by: maintainer
v. 1.3 date: 1999/05/07 05:27:30; author: mharo; state: Exp; lines: +7 -2 update to version 0.5 PR: 11461 Submitted by: Martin Kammerhofer dada@sbox.tu-graz.ac.at
v. 1.2 date: 1999/04/02 03:58:53; author: steve; state: Exp; lines: +13 -10 Update to version 0.4. PR: 10732 Submitted by: Martin Kammerhofer
v. 1.1 date: 1997/11/22 00:30:17; author: jseger; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1997/11/22 00:30:17; author: jseger; state: Exp; lines: +0 -0 Reimport c2html v0.1 into the ports/textproc/c2html directory. Submitted by: andy@icc.surw.chel.su ============================================================================= v. 1.16 date: 2006/06/04 16:06:39; author: erwin; state: Exp; lines: +1 -1 Update to 0.9.6 PR: 98490 Submitted by: Martin Wilke Approved by: maintainer
v. 1.15 date: 2006/05/01 16:46:23; author: krion; state: Exp; lines: +1 -1 Update to 0.9.5 Use DOCSDIR macro in plist. PR: ports/96586 Submitted by: Ion-Mihai "IOnut" Tetcu
v. 1.14 date: 2005/11/15 06:51:14; author: ade; state: Exp; lines: +1 -1 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
v. 1.13 date: 2004/03/14 06:17:25; author: ade; state: Exp; lines: +1 -1 Whoa there, boy, that's a mighty big commit y'all have there... Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
v. 1.12 date: 2003/02/21 13:42:32; author: knu; state: Exp; lines: +2 -1 De-pkg-comment.
v. 1.11 date: 2001/02/05 16:34:28; author: olgeni; state: Exp; lines: +2 -2 More style fixes for ports/textproc.
v. 1.10 date: 2000/05/28 04:11:29; author: steve; state: Exp; lines: +2 -2 Update to version 0.9.2.
v. 1.9 date: 2000/04/30 00:29:39; author: steve; state: Exp; lines: +2 -3 Update to version 0.9.1. PR: 18183 Submitted by: maintainer
v. 1.8 date: 2000/04/09 21:52:11; author: cpiazza; state: Exp; lines: +3 -3 Update with the new PORTNAME/PORTVERSION variables
v. 1.7 date: 1999/12/25 01:37:45; author: steve; state: Exp; lines: +3 -3 Update to version 0.7.2. PR: 15562 Submitted by: maintainer
v. 1.6 date: 1999/09/28 01:20:27; author: dan; state: Exp; lines: +2 -2 Update c2html to version 0.6.3 PR: potrs/14005 Submitted by: Martin Kammerhofer
v. 1.5 date: 1999/08/31 02:09:00; author: peter; state: Exp; lines: +1 -1 $Id$ -> $FreeBSD$
v. 1.4 date: 1999/05/29 04:14:27; author: steve; state: Exp; lines: +2 -7 Update to version 0.6.1. PR: 11904 Submitted by: maintainer
v. 1.3 date: 1999/05/07 05:27:30; author: mharo; state: Exp; lines: +7 -2 update to version 0.5 PR: 11461 Submitted by: Martin Kammerhofer dada@sbox.tu-graz.ac.at
v. 1.2 date: 1999/04/02 03:58:53; author: steve; state: Exp; lines: +13 -10 Update to version 0.4. PR: 10732 Submitted by: Martin Kammerhofer
v. 1.1 date: 1997/11/22 00:30:17; author: jseger; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1997/11/22 00:30:17; author: jseger; state: Exp; lines: +0 -0 Reimport c2html v0.1 into the ports/textproc/c2html directory. Submitted by: andy@icc.surw.chel.su =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm