textproc/c2html 0.9.6_1 FreeBSD
C-language sources to HTML converter
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- textproc, www
- Package size
- 38.7 KiB, 94.5 KiB installed
Description
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 <FONT COLOR=\#XXXX> 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!
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/c2html | 0.9.6_1 |
| OpenBSD | textproc/c2html | 0.9.6 |
| NetBSD | textproc/c2html | 20070126nb10 |
| DragonFly | textproc/c2html | 0.9.6_1 |
Install
Binary package:
pkg install c2html
From the ports tree:
cd /usr/ports/textproc/c2html/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= c2html>0:textproc/c2html
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.9.6_1 | 0.9.6_1 | 0.9.6 | 0.9.6_1 | 0.9.6_1 |
| FreeBSD:14:quarterly | 0.9.6_1 | 0.9.6_1 | n/a | 0.9.6_1 | 0.9.6_1 |
| FreeBSD:15:latest | 0.9.6_1 | 0.9.6_1 | n/a | 0.9.6_1 | 0.9.6_1 |
| FreeBSD:15:quarterly | 0.9.6_1 | 0.9.6_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.9.6_1 | 0.9.6_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
Options name: textproc_c2html
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| c2html-0.9.6.tar.gz | 61195 | 652924a3030456f8fd0ed4fc5fe424750c7c7d70eb133eac0cecf0ddcbcab85a |
Master sites 1
- SUNSITE/apps/www/converters
Commit history 0
No commits in the history this site was built from.