aboutsummaryrefslogtreecommitdiff
path: root/devel/systemc/Makefile
blob: bb6d40c89f2560a3eed9d038f9faf5509fdccf6d (plain) (blame)
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
PORTNAME=	systemc
DISTVERSION=	3.0.0
DISTVERSIONSUFFIX=	_pub_rev_20231129
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ classes and macros for describing complex hardware systems
WWW=		https://www.accellera.org/downloads/standards/systemc

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

ONLY_FOR_ARCHS=		aarch64 amd64 i386
ONLY_FOR_ARCHS_REASON=	configure: error: sorry...architecture not supported

USES=		compiler:c++17-lang gmake libtool
USE_CXXSTD=	c++17 # needs to match that of cad/verilator, to avoid mismatches like https://github.com/verilator/verilator/issues/4499
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	accellera-official

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-unix-layout=yes

INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	DOCS

PORTDOCS=	*

.include <bsd.port.mk>