# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 87005 2011-11-08 01:37:35Z dports@macports.org $

PortSystem 1.0

name            source-highlight
version         3.1.4
categories      textproc devel
license         GPL-3+
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     becf8292b84ece6b532b0f0c92b530ee \
                sha1    a9398f59200223058560f3b6b560b2ad58956e0e \
                rmd160 36be866d1fe97af2867562ba48256a36e1b18619

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+)?)
