mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
6ead058b02
PR: 241346 Approved by: kevinz5000@gmail.com (maintainer)
30 lines
683 B
Makefile
30 lines
683 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= verilator
|
|
DISTVERSION= 4.020
|
|
CATEGORIES= cad
|
|
MASTER_SITES= https://www.veripool.org/ftp/
|
|
|
|
MAINTAINER= kevinz5000@gmail.com
|
|
COMMENT= Synthesizable Verilog to C++ compiler
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= bison compiler:c++14-lang gmake pathfix perl5 tar:tgz
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-build:
|
|
@${STRIP_CMD} ${WRKSRC}/bin/verilator_bin
|
|
|
|
post-install:
|
|
@${RM} ${STAGEDIR}${PREFIX}/bin/verilator_bin_dbg ${STAGEDIR}${PREFIX}/bin/verilator_coverage_bin_dbg
|
|
|
|
.include <bsd.port.mk>
|