2013-06-13 17:58:20 +02:00
|
|
|
# Created by: AMAKAWA Shuhei <amakawa@jp.FreeBSD.org>
|
2002-02-09 11:03:42 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ngspice_rework
|
2020-06-25 08:12:16 +02:00
|
|
|
PORTVERSION= 32
|
2002-02-09 11:03:42 +01:00
|
|
|
CATEGORIES= cad
|
2009-08-22 02:15:15 +02:00
|
|
|
MASTER_SITES= SF/ngspice/ng-spice-rework/${PORTVERSION}
|
2013-06-13 17:58:20 +02:00
|
|
|
DISTNAME= ngspice-${PORTVERSION}
|
2002-02-09 11:03:42 +01:00
|
|
|
|
2013-06-13 17:58:20 +02:00
|
|
|
MAINTAINER= kevinz5000@gmail.com
|
|
|
|
COMMENT= Mixed-signal circuit simulator derived from Spice and Cider
|
2002-02-09 11:03:42 +01:00
|
|
|
|
2017-07-27 01:09:46 +02:00
|
|
|
LICENSE= BSD3CLAUSE BSD4CLAUSE LGPL21+
|
|
|
|
LICENSE_COMB= multi
|
2014-01-27 17:22:55 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2013-06-13 17:58:20 +02:00
|
|
|
|
2018-09-22 18:30:26 +02:00
|
|
|
LIB_DEPENDS= libfftw3.so:math/fftw3
|
|
|
|
|
|
|
|
FLAVORS= x11 shlib
|
|
|
|
shlib_PKGNAMESUFFIX= -shlib
|
|
|
|
shlib_CONFLICTS_INSTALL= ngspice_rework-2*
|
|
|
|
x11_CONFLICTS_INSTALL= ngspice_rework-shlib-2*
|
|
|
|
|
2020-06-25 08:12:16 +02:00
|
|
|
USES= gmake libtool ncurses readline autoreconf pkgconfig
|
2018-09-22 18:30:26 +02:00
|
|
|
|
2017-07-27 01:09:46 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-02-09 11:03:42 +01:00
|
|
|
|
2018-09-22 18:30:26 +02:00
|
|
|
CONFIGURE_ARGS= --enable-cider --enable-shared --enable-xspice --with-readline=yes
|
2016-11-03 18:38:51 +01:00
|
|
|
|
2018-09-22 18:30:26 +02:00
|
|
|
OPTIONS_DEFINE= DEBUG
|
2017-07-27 01:09:46 +02:00
|
|
|
|
2018-09-22 18:30:26 +02:00
|
|
|
.if ${FLAVOR:U} == shlib
|
|
|
|
CONFIGURE_ARGS+= --with-ngshared
|
|
|
|
PLIST_SUB+= SHLIB="" X11="@comment "
|
|
|
|
.else
|
2019-11-01 16:34:21 +01:00
|
|
|
USES+= xorg
|
2020-06-25 08:12:16 +02:00
|
|
|
USE_XORG= ice sm x11 xaw xext xmu xt xft
|
2018-09-22 18:30:26 +02:00
|
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
PLIST_SUB+= SHLIB="@comment " X11=""
|
|
|
|
.endif
|
2017-07-27 01:09:46 +02:00
|
|
|
|
|
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-strip
|
2009-03-24 16:32:31 +01:00
|
|
|
|
2002-02-09 11:03:42 +01:00
|
|
|
.include <bsd.port.mk>
|