aboutsummaryrefslogtreecommitdiff
path: root/devel/trellis/Makefile
blob: ef4aad6ef5fce8e531c4b97e6ecdeea87321969e (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
33
34
35
36
PORTNAME=	trellis
PORTVERSION=	g2022100712
CATEGORIES=	devel

MAINTAINER=	manu@FreeBSD.Org
COMMENT=	Documenting the Lattice ECP5 bit-stream format
WWW=		https://github.com/YosysHQ/prjtrellis

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libftdi1.so:devel/libftdi1 \
		libboost_atomic.so:devel/boost-libs \
		libboost_chrono.so:devel/boost-libs \
		libboost_date_time.so:devel/boost-libs \
		libboost_filesystem.so:devel/boost-libs \
		libboost_program_options.so:devel/boost-libs \
		${PY_BOOST} \
		libboost_thread.so:devel/boost-libs

USES=		compiler:c++14-lang cmake python:3.5+ shebangfix

SHEBANG_FILES=	${WRKSRC}/timing/util/cell_html.py \
		${WRKSRC}/timing/util/cell_timings.py

USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	YosysHQ
GH_PROJECT=	prjtrellis
GH_TAGNAME=	35f5affe10
GH_TUPLE=	YosysHQ:prjtrellis-db:35d900a94ff:database/database

CMAKE_SOURCE_PATH=	${WRKSRC}/libtrellis

.include <bsd.port.mk>