2020-03-19 03:19:57 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= netgen
|
2020-10-09 13:27:08 +00:00
|
|
|
DISTVERSION= 1.5.156
|
2020-03-19 03:19:57 +00:00
|
|
|
CATEGORIES= cad
|
|
|
|
PKGNAMESUFFIX= -lvs
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Tool for comparing netlists (a process known as LVS)
|
|
|
|
|
|
|
|
LICENSE= GPLv1
|
|
|
|
LICENSE_FILE= ${WRKSRC}/Copying
|
|
|
|
|
2020-03-22 07:22:44 +00:00
|
|
|
RUN_DEPENDS= bash:shells/bash
|
|
|
|
|
|
|
|
USES= gmake python:3.6+ shebangfix tar:tgz tcl tk xorg
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= RTimothyEdwards
|
|
|
|
SHEBANG_FILES= tcltk/netgen.sh.in
|
|
|
|
USE_XORG= x11
|
2020-03-19 03:19:57 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2020-03-22 07:22:44 +00:00
|
|
|
CONFIGURE_ENV= HAVE_PYTHON3=yes
|
|
|
|
CONFIGURE_ARGS= --with-interpreter=tcl --with-tcl=${LOCALBASE}/lib/tcl8.6 --with-tk=${LOCALBASE}/lib/tk8.6 --with-x
|
2020-03-19 03:19:57 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^#!/bin/env python3$$|#!${PYTHON_CMD}|' ${WRKSRC}/python/*.py
|
|
|
|
|
2020-03-22 07:22:44 +00:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/netgen/tcl/netgenexec ${STAGEDIR}${PREFIX}/lib/netgen/tcl/tclnetgen.so
|
2020-03-19 03:19:57 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|