# $Id: Portfile 83849 2011-09-11 23:53:37Z jmr@macports.org $

PortSystem 1.0

name                vbpp
version             1.2.0
categories          science
maintainers         nomaintainer
description         Verilog preprocessor
long_description \
    VBPP is a Verilog preprocessor. It has support for most Verilog \
    preprocessing directives and additional directives.
homepage            http://www.verilog.net/free.html
platforms           darwin

master_sites        http://www.verilog.net
checksums           md5     493ac8a83f92018649a0bdc50d65c24b \
                    sha1    79a05739977f98ab85678a7af16a189695dbd02d \
                    rmd160  177ee8bd4a3ea53f367f307476117de4bb7c1bb9

use_parallel_build  no

post-destroot {
    xinstall -d 755 ${destroot}${prefix}/share/doc/${name}
    xinstall -d 755 ${destroot}${prefix}/share/examples/${name}

    xinstall -m 444 -W ${worksrcpath} AUTHORS COPYING NEWS README ChangeLog \
        ${destroot}${prefix}/share/doc/${name}
    eval xinstall -m 444 [glob ${worksrcpath}/EXAMPLES/*] \
        ${destroot}${prefix}/share/examples/${name}
}
