# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name            source-highlight
version         3.0.1
categories      textproc devel
maintainers     nomaintainer
description     source-code syntax highlighter
long_description \
    This program, given a source file, produces a document with syntax      \
    highlighting. At the moment it can handle: C/C++, C#, Bib, Bison, Caml, \
    Changelog, CSS, Diff, Flex, Fortran, Html, Java,  Javascript, Latex,    \
    Logtalk, Log files, Lua, Makefile, M4, ML, Pascal, Perl, PHP,           \
    PostScript, Prolog, Python, Ruby, Shell, Sql, Tcl, and XML.

homepage        http://www.gnu.org/software/src-highlite/
platforms       darwin
master_sites    gnu:src-highlite
checksums           md5     aaef8a37f6332029e10894b45499fd37 \
                    sha1    894b1d99706281ce28ae5cc356310dcd4954b448 \
                    rmd160  c3d2ccf4d74e710a1aa149807171871be1185675

configure.args  --infodir=${prefix}/share/info \
                --mandir=${prefix}/share/man \
                --with-boost-regex=boost_regex-mt

test.run        yes
test.target     check

depends_lib     port:boost

livecheck.type  regex
livecheck.url   http://ftp.gnu.org/gnu/src-highlite/?C=M&O=D
livecheck.regex ${name}-(\\d+\\.\\d+(?:\\.\\d+)?)
