Commit graph

47 commits

Author SHA1 Message Date
mef
fd7a92489b Update to 3.1.8 (from the file NEWS)
---------------
Version 3.1.8

   * fixed some compilation bugs in some systems
   * fixed tcl.lang
   * fixed bash.lang
   * New language definition files:
   * added coffeescript
   * added Cucumber / feature
   * added Go
   * added Groovy
   * added Json
   * added Zsh
   * New output formats:
   * added HTML5
   * added S-expressions
   * added Groff
2015-04-30 00:09:59 +00:00
adam
4606c07235 Revbump after updating devel/boost-libs 2015-04-17 15:52:56 +00:00
adam
8e3b70e314 Revbump after updating boost 2014-11-07 19:39:24 +00:00
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
adam
72ed0307eb Revbump after boost-libs update 2014-08-13 10:57:32 +00:00
joerg
eba4b7774b Override stdbool.h test, it can't work with a proper C++ implementation. 2013-12-08 22:35:11 +00:00
gls
fd3886e3f1 Update textproc/source-highlight to version 3.1.7
Upstream changes:
=================


Version 3.1.7

   * fixed compilation bugs in MacOsX systems (thanks to
     Trevor Spiteri)
   * language definition for Lilypond (thanks to Federico Bruni)
   * language definition for R statistics programming language
   * language definition for ISLISP (thanks to Christian Jullien)
   * improved Erlang definition file (thanks to Erik Søe Sørensen)
   * new output format: ESC 256 ascii code (thanks to
     Xavier-Emmanuel Vincent).

Version 3.1.6

   * language definition file for T/Foswiki TML markup (thanks to
     Paul W. Harvey)
   * new output format: ODF (e.g. for LibreOffice or to generate ODF
     color-highlighted snippets to be used by ODF back-ends,
     like asciidoc-odf).  Thanks to Dag Wieers.
   * new output format: MediaWiki thanks to Abe Skolnik

Version 3.1.5

   * boost m4 macro finds boost in lib64
   * boost m4 macro files are not installed
   * updated php lang definition with new php 5 keywords
   * language definition for Scheme (thanks to Orlando Hill)
   * language definition for Po files (thanks to Mikel Olasagasti)
   * language definition for Opa (thanks to Valentin Gatien-Baron)
   * language definition for Javalog (thanks to Mark Silberbauer)
   * language definition for UPC (thanks to Viraj Sinha)
   * fixed a bug in scala.lang dealing with keywords
   * updated sql.lang (thanks to Xavier-Emmanuel Vincent)
   * Emacs lisp files highlighted as Lisp (thanks to Xavier-Emmanuel Vincent)
   * improved logtalk.lang (thanks to Paulo Moura)
   * embed inputlang in the output file (thanks to Masatake Yamato)
   * highlight _ in variable declarations (thanks to Masatake Yamato)
   * correctly highlight for less when filenames contain spaces
2013-11-23 18:29:14 +00:00
adam
81059da3bd Revbump after updating devel/boost-libs 2013-11-20 20:04:35 +00:00
obache
be6a7bf66d recursive bump from boost-lib shlib major bump. 2013-11-20 13:23:41 +00:00
obache
07659b9b8d recursive bump from boost-lib shlib update. 2013-02-15 11:53:59 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
obache
fb0eef126f Recursive bump from boost-libs update. 2012-08-29 11:22:09 +00:00
adam
9fde0ec108 Revbump after updating boost 2012-07-02 13:37:35 +00:00
hans
718bbf4bcf Recursive bump from devel/boost-libs update. 2012-02-29 16:32:19 +00:00
obache
368da44445 gsed related clean up.
* Stop to treat NetBSD's sed as GNU sed, not full compatible.
  * Then, no need to reset TOOLS_PLATFORM.gsed for NetBSD if USE_TOOLS+=gsed and
    real GNU sed is required.
  * In addition, convert simple USE_TOOLS+=gsed to conditionally, without NetBSD.
* convert {BUILD_,}DEPENDS+=gsed to USE_TOOLS, all tools from gsed are real gsed.
2012-01-14 07:44:33 +00:00
obache
78cb977b26 Recursive bump from boost-libs shlib bump. 2012-01-09 02:54:24 +00:00
obache
9725d3de74 Recursive Bump from boost-libs ABI bump. 2011-10-19 06:12:58 +00:00
ryoon
fd42dad15e Fix typo in comment. 2011-02-23 22:01:36 +00:00
adam
8e473f93a6 Changes 3.1.4:
* fixed compilation problems for Sun CC
* php handles embedded html
* html handles embedded css and javascript
* Google's Protocol Buffers language definition added
* CakePhp template files highlighted as php
* haskell literate programming highlighting
* vala language definition
* lisp language definition

Changes 3.1.3:
* --tab option is correcly handled
* install script with the executable bit
* bash is highlighted

Changes 3.1.2:
* infer language for files starting with <? and <!doctype
* language definition for manifest files, asm, applescript,
  vbscript, awk, bat, clipper, cobol, D, Erlang
* lang def file for compiler output errors
* style for label and path
* label element recognized in C/C++
* qmake based build system available
* searches for home directory also on windows
* improved logtalk.lang
* improved email regular expression in url.lang
2010-12-02 18:00:14 +00:00
joerg
341be7550a Follow boost library name changes. 2009-12-03 14:31:14 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
wiz
d0f7cc146b Update to 2.9:
Version 2.9

   * language definition for C (not C++) files
   * language definition for properties files
   * language definition for KDE desktop and ini files
   * language definition for lsm files (Linux Software Map)
   * language definition for rpm spec files
   * language definition for Haxe files (thanks to Jos Hirth)
   * style.defaults for associating a style for an element (whose style is
     not specified) to the style of another element
   * highlight some KDE programming files (e.g., .rc, .kcfg, etc.)
   * correctly highlight for less when filenames contain paths
   * fixed a bug in file inclusion of langdef files
   * fixed compilation problems for fileutil.cc (thanks to Adrian Reber)
   * xml elements are correctly recognized when containing .
     (thanks to Toby White)
   * references for xhtml output files

Version 2.8

   * lang definition for slang (by John E. Davis)
   * correctly handle words in ' and ` regular expression strings
   * the right delimiter of a delim element can refer to marked subexpressions
     in the left delimiter
   * fixed the definition of C-style comments which are not nested
   * improved perl syntax highlighting
   * javascript regular expression highlighting
   * padding character for line numbers can be specified (thanks to
     Roger Nilsson)
   * removed non standard % make rules

Version 2.7

   * fixed language association for log files.
   * use standard sed arguments
   * check that the ctags program supports the options used by source-highlight
     and disable ctags tests if it does not
   * removed some memory leaks from scanners and parsers
   * fixed regular expression highlighting strings in perl
     (thanks to Elias Pipping)
   * regexp language element
   * infer script languages also checking for the env specification
   * improved error reporting for lang definition files
   * ` ` syntax for regular expressions that permits backreferences
     and conditionals
   * explicit naming for subexpressions syntax
   * added a program, check-regexp, for checking regular expressions
     on the command line
   * fix html tag definitions
   * fix ruby regexp definition
   * --doc option and references for docbook output
   * xhtml output with non fixed font

Version 2.6

   * language definition for makefiles
   * language definition for css files
   * language definition for m4 files
   * fixed some problems in xml.lang
   * fixed some problems in sh.lang
   * the ctags found during configure is correctly used in makefiles
   * --quiet option showing no progress information
     (thanks to C. Michael Pilato)
   * handle direct color specifications in double quotes in style files
   * in style files can specify formatting options for more than one
     element on the same line
   * accept css specifications as style specifications (limited support)
   * handle background color for some output formats (e.g., xhtml)
   * in style files the background color (for the entire output)
     can be specified
   * fixed a problem in configure script on some BSD systems
     (thanks to Thomas Klausner)
2008-03-13 16:45:33 +00:00
jmmv
9032d7984a Bump PKGREVISION due to boost update to 1.34.1. 2008-01-04 20:05:11 +00:00
joerg
bdb47b8960 Fix booost::regex test. This feels like a deja-vu, not sure where I hit
this before. Most likly a broken upstream macro.
2007-03-07 18:52:18 +00:00
wiz
163cf8010a Update to 2.5:
Version 2.5

   * fixed lang.map for php files
   * fixed url.lang
   * --debug-langdef can be interactive
   * nohilite.lang that does not perform any highlighting, but
     only formats the input file into the output format (dealing
     with output format special characters)
   * default.lang to which source-highlight falls back when no
     input language is specified or available
   * infer script languages
   * --header and --footer options do not require --doc option
   * --statistics print elapsed time
   * highlight cls, dtx and sty LaTeX files
   * language definition for Tcl
   * language definition for Sql
   * language definition for bibtex
   * infer language of script files

Version 2.4

   * language definition for C# (thanks to Hemmi Shigeru)
   * language definition for XML (thanks to Andy Buckley)
   * language definition for shell scripts (thanks to Dirk Jagdmann)
   * fixed language definition for HTML (tags with numbers are highlighted,
     e.g., <h1>)
   * updated language definition for logtalk (thanks to Paulo Moura)
   * produces the list of elements of a language definition file
     (--show-lang-elements)
   * output format definition for HTML where fonts by default are
     not fixed width.
   * bug fix in url regular expressions
   * bug fix with nonsensitive keywords (thanks to Andrea Ercolino)
   * improved documentation concerning installation of Boost regex library

Version 2.3

   * the regex automaton is printed on the standard output
     (instead of the standard error)
   * language definition for postscript
   * DocBook output format
   * fixed bug in .map files with \r characters
   * fixed expression for email

Version 2.2

   * fixed a bug that sigsegv when more than one input file
     is provided
   * fixed a compilation error with gcc 4.0
   * generate references using ctags
   * fixed a bug with LaTeX output of " with some inputencs
     and with latexcolor
   * handle direct color specifications independently from HTML
   * fixed conversion of hexadecimal characters in output language
     definitions
   * fixed compilation error with regex 1.33
   * include man page
   * language definition for diff output
   * fixed bugs in generation of the regular expression automaton
   * extended documentation with some tutorials on input language
     definitions
   * generate more compact output (reduced size)
   * in LaTeX output longtable is not used anymore
2007-02-22 20:35:34 +00:00
jlam
90bc26e8c2 List info files directly in the PLIST and honor PKG{INFO,MAN}DIR. 2006-04-07 19:54:16 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
seb
37d945e229 Lower expectations, both others' and mine: relinquish stewardship 2005-12-27 13:54:57 +00:00
tv
db1dd6cc4a In a == conditional involving a variable, the LHS must not be enclosed in
double quotes (breaks on older NetBSD make and bootstrap/bmake).
2005-10-10 20:13:45 +00:00
seb
edad95b9f6 Update to version 2.1.2.
Add build dependencies on GNU make and GNU sed for 'test' target's benefit.

Support for input chroot, via make variable SOURCE_HIGHLIGHT_INPUT_CHROOT,
deactivated otherwise the build is broken.

XXX Is 'TOOLS_PLATFORM.gsed= # empty' the proper way to override a
the platform sed tool ?

Relinquish stewardship.

Changes since last packaged version (1.11):
Version 2.1.2
   * fixed conversion of hexadecimal characters in output language
     definitions
   * fixed compilation error with regex 1.33
   * include man page
   * fixed a bug with LaTeX output of " with some inputencs

Version 2.1.1
   * fixed a bug that sigsegv when more than one input file
     is provided
   * fixed a compilation error with gcc 4.0

Version 2.1
   * Included obsolete man page.
   * output language format specifications are read at run-time
     so that new output languages can be easily added dynamically
     (without recompiling the sources) by using a simple syntax.
   * "fixed" and "notfixed" styles can be specified.
   * fixed the handling of end-of-line (processed only once)
   * LaTeX output
   * TeXinfo output
   * debug of a language definition
   * tags.j2h files are now called style files.
   * renamed --tags-file option in --style-file
   * allows to specify a prefix for the generated line number anchors
   * --header and --footer do not imply --doc
   * language definition for LogTalk and LaTeX

Version 2.0
   * Language specifications are read at run-time, so that
     new languages can be easily added dynamically (without recompiling
     the sources) by using a simple syntax.
   * "nonsensitive" for simple definitions
   * cgi version not built automatically
   * failsafe option to simply output the input file when no
     language definition is found
   * functionalities with less improved.

Version 1.11.1
   * fixed compilations problems on some Unix compilers
2005-10-10 09:05:59 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
seb
6075bf3b69 Update to version 1.11
Changes since last packaged version (1.10):
* errors in tags error files are reported more correctly and make
  the program exit
* more tag options added
* "linenum" tag for specifying the style of line numbers

Package changes:
* set USE_LANGUAGES
* fix HTML installation directory in manpage
2004-10-21 00:15:47 +00:00
seb
80c952e3a8 Update to version 1.10.
Changes since last packaged version:

Version 1.10
   * Added scanner for log files (also for iptables and apache logs)
     thanks to Jan Tatarik
   * Fixed some bugs in the perl scanner (thanks to Geir Nilsen)
   * configure checks for ios_base
   * check for the right ar to use, fixes problems under Sun compilers
     (thanks to Paul Townsend)
2004-08-16 15:21:45 +00:00
seb
50d96f3595 Fix build with older GNU libstdc++ (mentioned in PR pkg/25590).
While here add support for test target.
2004-05-16 12:22:40 +00:00
seb
c86fca8622 Update to version 1.9.
Changes since last packaged version:
   * --no-doc option added to cancel the --doc option even if
     it is implied (e.g., when css is given) (as suggested by Keith Lea
     and Grant McLean)
   * deal with \r correctly (reported by barrett@9hells.org)
   * added scanner for language LUA (thanks to Marc Côté)
   * added scanner for CAML and SML (with the help of Jean-Baptiste Rouquier
     and James Riely)
   * fixed a bug in C++ scanner concerning tabs after # (reported by
     Don Stauffer).
   * If not specified, the source language will be guessed from the
     input file extension.
   * Added src-hilite-lesspipe.sh a script that can be used with less
     in order to higlight the files processed with less
     (suggested by Konstantine Serebriany)
   * fixed a bug in perl scanning when \" is used in regular expressions
     (reported by Geir Nilsen)
   * html attribute values are generated in quotes (bug fixed by
     Patrick Wagstrom)
   * can generate anchors for line numbers (thanks to Oliver Fischer)
2004-05-15 14:55:38 +00:00
seb
8e020c1ca2 Shorter HOMEPAGE. 2004-05-07 14:08:13 +00:00
snj
87dcd14864 Convert to buildlink3. 2004-04-25 06:46:09 +00:00
seb
c23957f89e Update to version 1.8.
Changes in version 1.8:
   * scanner for Javascript
   * new output format: ESC ascii code (e.g. for less, with the
     help of Konstantine Serebriany <kcc@mcst.ru>).
   * tab character are correctly handled by --tab option is given
     (thanks to Don Stauffer <Don@Skyler.com>).
   * presence of getopt_long is handled in a cleaner way.
   * some changes in how changelog files are highlighted
   * =head =cut sections in perl sources are correctly handled
     (reported by Grant McLean <grant@catalyst.net.nz>)
   * added Java keywords true and false
2003-10-03 14:42:38 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
seb
afef40e1c0 Sync description with the supported language.
Make the comment somewhat more accurate.
2003-06-12 01:24:57 +00:00
seb
49a0b7d092 Update to version 1.7.
Changes in version 1.7:
   * scanner for Ruby programming language (thanks to Noritsugu Nakamura
     <nnakamur@mxq.mesh.ne.jp>).
   * fixed explicit rules in Makefiles that generated errors with some
     versions of non-GNU makes.
2003-06-12 01:17:30 +00:00
seb
2ff554b89e Update to 1.6.3
News from version 1.6.1 the latest packaged version:

Version 1.6.3

   * Fixed problems in compilation in systems that do not provide
     getopt_long and yywrap (reported by Jackie Goodwin
     <goodwja@northropgrumman.com>).
   * Added .spec file for generating .rpm and .rpm.src (thanks to
     Christian W. Zuckschwerdt <zany@triq.net>).

Version 1.6.2

   * compliant to C++ standard headers (iostream etc.), no more
     backward compatibility warnings with gcc 3.2 (Thanks to
     Maurizio Loreti <loreti@pd.infn.it> for the report).
2003-02-16 20:53:47 +00:00
seb
d69cfdf258 Update to 1.6.1.
Lots of changes and new features: you want to update!

Changes since latest packaged version:
Version 1.6.1

   * fixed a bug in the configure phase that used to make the compilation
     fail with compilers not providing the function getop_long
     (reported by Horacio Montenegro <horaciom@unicamp.br>).

Version 1.6

   * scanners for flex and ChangeLog added by John Millaway <millaway@acm.org>
   * default to stdout when no --output is given along with the -i option
     and when --output="STDOUT" (as suggested by Hugh S. Myers,
     <hsmyers@sdragons.com>)
   * fixed a problem with string comments in Python scanner
   * a separate executable is built, source-highlight-cgi, that can be
     used as a CGI program

Version 1.5.1

   * xhtml doctype generated correctly (thanks to Christian W. Zuckschwerdt
     <zany@triq.net> and Josh Ghiloni <josh@joshghiloni.net>) reported
     by Martin Gebert <Murphy.Gebert@gmx.de>
   * Anonymous CVS Access is now available
     http://savannah.gnu.org/projects/src-highlite

Version 1.5

   * xhtml output format is now handled (thanks to Christian W. Zuckschwerdt
     <zany@triq.net> and Josh Ghiloni <josh@joshghiloni.net>)
   * assert is now recognized as a Java keyword (thanks to Fabio Calefato
     <calefato@libero.it>)
   * a scanner for Python has been written by Martin Gebert
     <Murphy.Gebert@gmx.de>.
   * when in Php3 strings can span more than one lines and line numbers are
     correctly formatted.

Version 1.4

   * fixed compilation error with some compilers due to headers istream.h
     and ostream.h (thanks to Dan barthel <dbarthel@mac.com>)
   * a scanner for Php3 has been written by Alain Barbet
     <alian@alianwebserver.com>
   * reading from stdin does not kill line numbers (notified by Keith
     Robertson <keithr@nortelnetworks.com>)
   * line number count is correctly reset when handling multiple files (bug
     fixed)
   * for Java sources, if, while, and other keywords that use '(' ')' are
     now correctly highlighted as keywords instead of as functions (reported
     by Manuel Kauers <manuel@kauers.de> and Fabio Calefato
     <calefato@libero.it>)
   * tabs are correctly handled for Prolog and Perl sources (reported by
     Martin Gebert <Murphy.Gebert@gmx.de>)

Version 1.3

   * now there is only one program, namely source-highlight, that accepts a
     command line option, --src-lang or -s, specifying the source language
     (for the moment java, cpp and prolog).  Previous programs, java2html
     and cpp2html are provided as shell scripts, just for compatibility, but
     their use is not advised.
   * --out-format, -f, command line option added for specifying the output
     format (for the moment only html is accepted).  Though only html is
     handled, this option is required.
   * a scanner for Prolog has been written by Martin Gebert
     <Murphy.Gebert@gmx.de>.  This scanner is still to be considered beta,
     and actually it was written for Visual Prolog, so it should be tested
     against other Prolog dialects.
   * a scanner for Perl has been written by Alain Barbet
     <alian@alianwebserver.com>
   * Correctly check whether it is possible to write to a file (notified by
     Martin)
   * --tab option is correctly handled even for C/C++ files (bug fixed,
     notified by Martin)
   * Added option --line-number (-n) in order to print line numbers (as
     suggested by Ed Scott and Andre Charbonneau).
   * Man page added.
2002-12-23 22:27:48 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
agc
03cad03e6a Update source-highlight package from version 1.1 to version 1.2.1.
Provided in PR 15330 by Kevin Lo (kevlo@midassol.com).

Changes since previous version:
+ More modern versions of getopt.c, getopt1.c, getopt.h taken from
the GNU C library
+ miscellaneous bug fixes and additional checks
+ tags2.j2h added
+ Added NormalGenerator for normal text
2002-01-22 10:40:01 +00:00
seb
c2b4100752 Initial import of source-highlight version 1.1
This package contains GNU java2html version 1.9 and GNU cpp2html version 1.5:
- java2html highlights the syntax of a Java source file into a HTML document,
- cpp2html highlights the syntax of a C or C++ source file into a HTML document.
2001-11-18 23:55:11 +00:00