1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/cad/qflow/Makefile
Yuri Victorovich 27aae02583 cad/qflow: Update 1.4.85 -> 1.4.86
Reported by:	portscout
2020-07-28 06:04:12 +00:00

38 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= qflow
DISTVERSION= 1.4.86
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
COMMENT= End-to-end digital synthesis flow for ASIC designs
LICENSE= GPLv2
APP_DEPENDS= abc:cad/abc \
graywolf:cad/graywolf \
magic>0:cad/magic \
netgen-lvs>0:cad/netgen-lvs \
qrouter>0:cad/qrouter \
sta:cad/opensta \
yosys>0:cad/yosys
BUILD_DEPENDS= ${APP_DEPENDS}
RUN_DEPENDS= ${APP_DEPENDS}
USES= gmake python tar:tgz tcl tk
USE_GITHUB= yes
GH_ACCOUNT= RTimothyEdwards
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e 's|^#!ENV_PATH python3$$|#!${PYTHON_CMD}|' ${WRKSRC}/scripts/*.py.in
@${REINPLACE_CMD} -e 's|^#!TCLSH_PATH$$|#!${TCLSH}|' ${WRKSRC}/scripts/*.tcl.in
post-install:
@cd ${STAGEDIR}${PREFIX}/share/qflow/bin && \
${STRIP_CMD} vlog2Spice vlog2Verilog vlog2Def vlog2Cel vlogFanout DEF2Verilog addspacers vesta spice2delay rc2dly blif2BSpice blif2Verilog blifFanout && \
${RM} yosys-abc && ${LN} -s ${LOCALBASE}/bin/abc yosys-abc # https://github.com/RTimothyEdwards/qflow/issues/6
.include <bsd.port.mk>