From owner-svn-ports-head@FreeBSD.ORG Mon May 20 14:57:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ACB17643; Mon, 20 May 2013 14:57:47 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9F093F08; Mon, 20 May 2013 14:57:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4KEvlNN018656; Mon, 20 May 2013 14:57:47 GMT (envelope-from zeising@svn.freebsd.org) Received: (from zeising@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4KEvl99018654; Mon, 20 May 2013 14:57:47 GMT (envelope-from zeising@svn.freebsd.org) Message-Id: <201305201457.r4KEvl99018654@svn.freebsd.org> From: Niclas Zeising Date: Mon, 20 May 2013 14:57:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318603 - head/cad/gspiceui X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 14:57:47 -0000 Author: zeising Date: Mon May 20 14:57:46 2013 New Revision: 318603 URL: http://svnweb.freebsd.org/changeset/ports/318603 Log: Do quite a bit of cleanup work for cad/gspiceui. This means: - Trim Makefile header - Take maintainership - Install a nice-looking desktop icon (and bump PORTREVISION) - Remove LICENSE_FILE for standard license - Improve OPTIONS now that we have optionsng - Update pkg-descr and WWW Pass maitanership to submitter PR: ports/178678 Submitted by: Kevin Zheng Modified: head/cad/gspiceui/Makefile head/cad/gspiceui/pkg-descr Modified: head/cad/gspiceui/Makefile ============================================================================== --- head/cad/gspiceui/Makefile Mon May 20 14:51:33 2013 (r318602) +++ head/cad/gspiceui/Makefile Mon May 20 14:57:46 2013 (r318603) @@ -1,29 +1,31 @@ -# New ports collection makefile for: gspiceui -# Date created: 30 April 2006 -# Whom: Stanislav Sedov -# +# Created by: Stanislav Sedov # $FreeBSD$ -# PORTNAME= gspiceui PORTVERSION= 1.0.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/gSpiceUI/${PORTNAME}-v${PORTVERSION} DISTNAME= ${PORTNAME}-v${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= GUI frontend for gnucap/ng-spice circuit simulators +MAINTAINER= kevinz5000@gmail.com +COMMENT= GUI frontend to gnucap and ngspice circuit simulators LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/License -RUN_DEPENDS= gwave:${PORTSDIR}/cad/gwave +RUN_DEPENDS= # none if no options are set -OPTIONS_DEFINE= NGSPICE GNUCAP EXAMPLES DOCS -OPTIONS_DEFAULT= NGSPICE -NGSPICE_DESC= Use ng-spice as backend -GNUCAP_DESC= Use gnucap as backend +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_GROUP= BACKEND VIEWER + +OPTIONS_GROUP_BACKEND= GNUCAP NGSPICE +OPTIONS_GROUP_VIEWER= GWAVE + +GNUCAP_DESC= Depend on gnucap as a simulation backend +NGSPICE_DESC= Depend on ngspice as a simulation backend +GWAVE_DESC= Depend on gwave waveform viewer + +OPTIONS_DEFAULT= NGSPICE GWAVE USE_WX= 2.6+ WX_UNICODE= yes @@ -31,19 +33,27 @@ USE_GCC= 4.6+ USE_GMAKE= yes MAKE_JOBS_SAFE= yes +DESKTOP_ENTRIES= "GSpiceUI" "Circuit Simulator GUI" \ + "${PREFIX}/share/pixmaps/gspiceui-48x48.xpm" \ + "gspiceui" "Science;Electronics;" false + MAN1= gspiceui.1 PORTDOCS= * PORTEXAMPLES= * -PLIST_FILES= bin/gspiceui +PLIST_FILES= bin/gspiceui share/pixmaps/gspiceui-48x48.xpm .include +.if ${PORT_OPTIONS:MGNUCAP} +RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap +.endif + .if ${PORT_OPTIONS:MNGSPICE} RUN_DEPENDS+= ngspice:${PORTSDIR}/cad/ngspice_rework .endif -.if ${PORT_OPTIONS:MGNUCAP} -RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap +.if ${PORT_OPTIONS:MGWAVE} +RUN_DEPENDS+= gwave:${PORTSDIR}/cad/gwave .endif post-patch: @@ -53,10 +63,13 @@ post-patch: s|$$(WXCFG)|$$(WX_CONFIG)|g ; \ s|$$(CC)|$$(CXX)|g' ${WRKSRC}/src/Makefile @${REINPLACE_CMD} -e \ - 's|share/gspiceui|share/doc/gspiceui|g' ${WRKSRC}/src/main/HelpTasks.cpp + 's|share/gspiceui|${DOCSDIR}|g' \ + ${WRKSRC}/src/main/HelpTasks.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/gspiceui ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/src/icons/gspiceui-48x48.xpm \ + ${PREFIX}/share/pixmaps ${INSTALL_MAN} ${WRKSRC}/gspiceui.1 ${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} Modified: head/cad/gspiceui/pkg-descr ============================================================================== --- head/cad/gspiceui/pkg-descr Mon May 20 14:51:33 2013 (r318602) +++ head/cad/gspiceui/pkg-descr Mon May 20 14:57:46 2013 (r318603) @@ -1,16 +1,6 @@ -This port provides a GUI for two freely available SPICE electronic circuit -simulation engines: GNU-Cap and Ng-Spice. +GSpiceUI (GNU Spice GUI) is intended to provide a graphical frontend to freely +available circuit simulators, including gnucap and ngspice. It can use +gnetlist to import schematics or net list files and gwave to display +simulation results. -Current features: - Import gschem schematic files using gentlist. - Load and parse circuit description (net list) files. - Provides a GUI interface for GNU-Cap OP, DC, AC and Transient - analyses and generates appropriate simulator commands - based on user input. - Provides a GUI interface for Ng-Spice DC, AC and Transient - analyses and generates appropriate simulator commands - based on user input. - The raw output may be viewed for any processes initiated by gspiceui. - Formatting of simulator output so that it may be plotted using gwave. - -WWW: http://www.geda.seul.org/tools/gspiceui/index.html +WWW: http://sourceforge.net/projects/gspiceui/