COMMENT =	ngspice shared library, based on Berkeley SPICE

PKGNAME =	libngspice-${V}

SHARED_LIBS +=  ngspice                0.0 # 0.0

WANTLIB += m pthread

# C++
COMPILER =		base-clang ports-gcc

CONFIGURE_ARGS +=	--with-ngshared \
			--enable-shared

# same tests as cad/ngspice/ngspice, but they assume you've built a binary
NO_TEST =	Yes

post-install:
	@rm -r ${PREFIX}/{lib,share}/ngspice/

.include <bsd.port.mk>
