blob: f06f7e75c26521b70042a13a2047eeb56aa76f27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.9 2022/06/28 11:31:02 wiz Exp $
DISTNAME= verilator-4.100
PKGREVISION= 2
CATEGORIES= cad
MASTER_SITES= https://www.veripool.org/ftp/
EXTRACT_SUFX= .tgz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://www.veripool.org/wiki/verilator
COMMENT= Verilog HDL simulator
LICENSE= gnu-lgpl-v3 OR artistic-2.0
GNU_CONFIGURE= yes
FLEX_REQD= 2.6.4
USE_TOOLS+= bison flex gmake perl pkg-config
USE_LANGUAGES= c c++
TOOLS_PLATFORM.flex= # Use flex from pkgsrc
REPLACE_PERL+= bin/*
REPLACE_PERL+= test_regress/*.pl
REPLACE_PERL+= test_regress/t/*.pl
CONFIGURE_ENV+= ac_cv_path_YACC=bison
# for long tests
TEST_DEPENDS+= p5-Unix-Processors-[0-9]*:../../sysutils/p5-Unix-Processors
CONFIGURE_ARGS+= --enable-longtests
TEST_TARGET= test
PKGCONFIG_OVERRIDE+= verilator.pc.in
.include "../../mk/bsd.pkg.mk"
|