# -*- 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
description GPL Cver is an open-source, interpreted Verilog simulator by Pragmatic C Software
Open-source interpreted Verilog simulator with a feature set and performance \
similar to Verilog-XL. Implements all IEEE 1364-1995 features along with some \
Verilog-2001 features. Full support for Verilog PLIs.
homepage http://sourceforge.net/projects/gplcver
master_sites sourceforge:project/gplcver/gplcver/${version}
checksums md5 857a15a9ebc8ef63ece01502509cbeb7 \
sha1 946bb35b6279646c6e10c309922ed17deb2aca8a \
rmd160 5af004b345142ac5400c9defc7125bbe127d2c49
distname ${name}-${version}.src
build.dir "${worksrcpath}/src"
build.args -f makefile.osx \
ARCHFLGS="[get_canonical_archflags cc]"
patchfiles patch-inst_tst.sh.diff \
xinstall -m 755 -W ${worksrcpath} bin/cver ${destroot}${prefix}/bin
# create directory for everything else
set docdir "${destroot}${prefix}/share/doc/"
xinstall -m 755 -d ${docdir}
file copy ${worksrcpath}/doc ${docdir}
file rename ${docdir}/doc ${docdir}${name}
set docdir "${docdir}${name}"
xinstall -m 644 -W ${worksrcpath} \
COPYING Changelog LICENSE NEW.CVER.2001.RELEASE.NOTES OUR_PHILOSOPHY README \
file copy ${worksrcpath}/doc/README ${docdir}/README_doc
# install the systasks man page
file copy ${worksrcpath}/doc/systasks.1 ${destroot}${prefix}/share/man/man1/
file delete ${docdir}/systasks.1
# create directory for everything else