# -*- 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 106438 2013-05-26 19:35:01Z g5pw@macports.org $

PortSystem 1.0

name            source-highlight
version         3.1.7
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       rmd160  96932976fb1c83443b0f1c65ada46c51ce469fd2 \
                sha256  e1b2e007cdd94595393d42510e2a84763c36aad3409f0c3087f05fcb50a389e8


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