ports/99357: [NEW PORT] cad/gspiceui: GUI frontend for gnucap/ng-spice circuit simulators
Stanislav Sedov
stas at 310.ru
Fri Jun 23 15:00:45 UTC 2006
The following reply was made to PR ports/99357; it has been noted by GNATS.
From: Stanislav Sedov <stas at 310.ru>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/99357: [NEW PORT] cad/gspiceui: GUI frontend for
gnucap/ng-spice circuit simulators
Date: Fri, 23 Jun 2006 18:53:20 +0400
This is a multi-part message in MIME format.
--Multipart=_Fri__23_Jun_2006_18_53_20_+0400_7oOBN59J_hgXZIDk
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Add OPTIONS to select capture backend.
--Multipart=_Fri__23_Jun_2006_18_53_20_+0400_7oOBN59J_hgXZIDk
Content-Type: text/plain;
name="Makefile.diff"
Content-Disposition: attachment;
filename="Makefile.diff"
Content-Transfer-Encoding: 7bit
--- Makefile.orig Fri Jun 23 18:11:41 2006
+++ Makefile Fri Jun 23 18:51:51 2006
@@ -60,8 +60,20 @@
opamp-lmx358-2.sch \
opamp-ua741.sch
+OPTIONS= NGSPICE "Use ng-spice as backend" on \
+ GNUCAP "Use gnucap as backend" off \
+ MODELS "Install example models" on
+
.include <bsd.port.pre.mk>
+.if defined(WITH_NGSPICE)
+RUN_DEPENDS+= ngspice:${PORTSDIR}/cad/ngspice_rework
+.endif
+
+.if defined(WITH_GNUCAP)
+RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
@@ -96,11 +108,5 @@
.else
PLIST_SUB+= MODELS="@comment "
.endif
-
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "If you want to install sample models and schemes use"
- @${ECHO_MSG} "WITH_MODELS flag"
- @${ECHO_MSG} ""
.include <bsd.port.post.mk>
--Multipart=_Fri__23_Jun_2006_18_53_20_+0400_7oOBN59J_hgXZIDk--
More information about the freebsd-ports-bugs
mailing list