PortSystem 1.0
PortGroup       conflicts_build 1.0

name            treecc
version         0.3.10
revision        1
categories      devel
maintainers     nomaintainer
platforms       darwin
license         GPL-2
description     Manages generation of code to handle syntax trees.
long_description        The treecc program is designed to assist in the \
			development of compilers and other language-based \
			tools. It manages the generation of code to handle \
			abstract syntax trees and operations upon the trees.
homepage		https://www.gnu.org/software/dotgnu/
master_sites    gnu:dotgnu/pnet \
		freebsd \
		macports
checksums       sha1 f905cb535559b0e2d04fa86da14de240f5b1e44f

# version from git repository from Sept. 2 -- for 64 bit cleanness
patchfiles      git-2009-09-02.diff
patch.pre_args-replace  -p0 -p1

conflicts_build texinfo

configure.args	--infodir=${prefix}/share/info --mandir=${prefix}/share/man

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
		NEWS README ${destroot}${prefix}/share/doc/${name}
}

test.run        yes
test.target     check

livecheck.type	regex
livecheck.url	${homepage}pnet-packages.html
livecheck.regex	treecc-(\[0-9\\.\]+)\\.

