# -*- 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$ PortSystem 1.0 name gplcver version 2.12a revision 1 categories science maintainers nomaintainer license GPL-2 description GPL Cver is an open-source, interpreted Verilog simulator by Pragmatic C Software long_description \ 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 platforms darwin master_sites sourceforge:project/gplcver/gplcver/${version} checksums md5 857a15a9ebc8ef63ece01502509cbeb7 \ sha1 946bb35b6279646c6e10c309922ed17deb2aca8a \ rmd160 5af004b345142ac5400c9defc7125bbe127d2c49 use_bzip2 yes distname ${name}-${version}.src use_configure no variant universal {} build.dir "${worksrcpath}/src" build.args -f makefile.osx \ CC=${configure.cc} \ ARCHFLGS="[get_canonical_archflags cc]" patchfiles patch-inst_tst.sh.diff \ patch-makefile.osx.diff destroot { # install executable 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 \ ${docdir} 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 set exampledir "${destroot}${prefix}/share/examples/${name}" xinstall -m 755 -d ${exampledir} # copy files file copy ${worksrcpath}/pli_incs ${exampledir} file copy ${worksrcpath}/pli_src ${exampledir} file copy ${worksrcpath}/tests_and_examples ${exampledir} file copy ${worksrcpath}/ver_src ${exampledir} } # Run the installation tests test.run yes test.cmd "${worksrcpath}/tests_and_examples/install.tst/inst_tst.sh" test.target test.dir "${worksrcpath}/tests_and_examples/install.tst"