# Created by: Johnny Sorocil # $FreeBSD$ PORTNAME= yosys DISTVERSIONPREFIX= yosys- DISTVERSION= 0.8-1116 PORTREVISION= 1 DISTVERSIONSUFFIX= -g90ec2cda CATEGORIES= devel MAINTAINER= jsorocil@gmail.com COMMENT= Yosys Open SYnthesis Suite LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= abc:cad/abc \ bash:shells/bash \ gawk:lang/gawk LIB_DEPENDS= libffi.so:devel/libffi USES= bison compiler:c++11-lang gmake pkgconfig python:3.6+ readline \ shebangfix tcl SHEBANG_FILES= backends/smt2/smtbmc.py \ misc/yosys-config.in USE_GITHUB= yes GH_ACCOUNT= YosysHQ BINARY_ALIAS= python3=${PYTHON_CMD} tclsh=${TCLSH} MAKE_ARGS= ABCEXTERNAL=abc post-patch: ${REINPLACE_CMD} -e '/^CXX =/d; s/^LD = .*/LD = $$(CXX)/' \ -e '/^CONFIG/s/clang/${CHOSEN_COMPILER_TYPE}/' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/yosys .include