2019-06-26 16:24:39 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nextpnr
|
2019-10-27 20:53:05 +01:00
|
|
|
DISTVERSION= g20191026
|
2019-12-11 18:53:48 +01:00
|
|
|
PORTREVISION= 1
|
2019-06-26 16:24:39 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2020-04-04 16:23:03 +02:00
|
|
|
PATCH_SITES= https://github.com/YosysHQ/nextpnr/commit/
|
|
|
|
PATCHFILES= b6e2159cecdf79d0d94d0e6a9dda8cef6389cac1.patch:-p1
|
|
|
|
|
2019-09-24 05:11:04 +02:00
|
|
|
MAINTAINER= manu@FreeBSD.org
|
2019-06-26 16:24:39 +02:00
|
|
|
COMMENT= Portable FPGA place and route tool
|
|
|
|
|
|
|
|
LICENSE= ISCL
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2020-02-15 20:52:14 +01:00
|
|
|
NOT_FOR_ARCHS= i386
|
|
|
|
NOT_FOR_ARCHS_REASON= clang segfault
|
2019-11-24 02:39:41 +01:00
|
|
|
BROKEN_FreeBSD_11_powerpc64= runaway build
|
|
|
|
BROKEN_FreeBSD_12_powerpc64= runaway build
|
2019-10-14 21:23:08 +02:00
|
|
|
|
2019-06-26 16:24:39 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/trellis/database:devel/trellis \
|
|
|
|
${LOCALBASE}/share/icebox:devel/icestorm
|
|
|
|
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
|
|
|
|
libboost_filesystem.so:devel/boost-libs \
|
|
|
|
libboost_program_options.so:devel/boost-libs \
|
|
|
|
${PY_BOOST}
|
|
|
|
|
2019-09-24 05:10:37 +02:00
|
|
|
USES= compiler:c++11-lang cmake qt:5 eigen:3 python:3.5+ gl
|
2019-06-26 16:24:39 +02:00
|
|
|
USE_QT= buildtools_build core gui opengl qmake_build widgets
|
2019-10-27 20:53:05 +01:00
|
|
|
USE_GL= gl glu
|
2019-06-26 16:24:39 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= YosysHQ
|
2019-10-27 20:53:05 +01:00
|
|
|
GH_TAGNAME= 5cf0ed5
|
|
|
|
GH_TUPLE= YosysHQ:nextpnr-tests:8f93e7e:tests/tests
|
2019-06-26 16:24:39 +02:00
|
|
|
|
|
|
|
BINARY_ALIAS= python3=${PYTHON_CMD}
|
|
|
|
|
|
|
|
CMAKE_ARGS= -DARCH="ice40;ecp5" -DTRELLIS_ROOT=${LOCALBASE}/share/trellis/
|
|
|
|
|
|
|
|
PLIST_FILES= bin/nextpnr-ecp5 \
|
|
|
|
bin/nextpnr-ice40
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|