code2html converts a program source code to syntax highlighted
HTML. It may be called as a CGI script and can also handle include
commands in HTML files.
Support for the following languages:
Ada, Awk, C, C++, HTML, Java, JavaScript, m4, Makefile,
Pascal, Perl, SQL, ruby, povray, and groff.
===> The following configuration options are available for code2html-0.9.1_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
textproc/code2html: adopt and improve this useful port
- Undeprecate: the author is aware that there probably are other
syntax highlighters around that are faster and more versatile
these days, but then, if it works, why look for something else?
- Define LICENSE (MIT), do not hardcode GZIP_CMD in sed(1) call
- Install available documentation files (subject to DOCS option)
textproc/code2html: Deprecate and set expiration date to 2025-04-30
Obsolete utility, last activity upstream in 2002
Reference:
https://www.palfrader.org/code/code2html/
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.