[50742] trunk/dports/science/ng-spice

gwright at macports.org gwright at macports.org
Fri May 8 05:45:11 PDT 2009


Revision: 50742
          http://trac.macports.org/changeset/50742
Author:   gwright at macports.org
Date:     2009-05-08 05:45:11 -0700 (Fri, 08 May 2009)
Log Message:
-----------
Version bump to 19.

Modified Paths:
--------------
    trunk/dports/science/ng-spice/Portfile

Removed Paths:
-------------
    trunk/dports/science/ng-spice/files/patch-autogen.sh.diff
    trunk/dports/science/ng-spice/files/patch-hpgl.c.diff
    trunk/dports/science/ng-spice/files/patch-numparam.h.diff
    trunk/dports/science/ng-spice/files/patch-postsc.c.diff
    trunk/dports/science/ng-spice/files/patch-runcoms.c.diff
    trunk/dports/science/ng-spice/files/patch-runcoms2.c.diff
    trunk/dports/science/ng-spice/files/patch-spicenum.c.diff

Modified: trunk/dports/science/ng-spice/Portfile
===================================================================
--- trunk/dports/science/ng-spice/Portfile	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/Portfile	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,40 +1,34 @@
 # $Id$
 
 PortSystem 1.0
-name             ng-spice
-version          rework-18
-categories       science
-maintainers      nomaintainer
-description      Circuit simulator based on Spice 3f5
+
+name		ng-spice
+version		19
+categories	science cad
+maintainers	nomaintainer
+platforms       darwin
+description	Circuit simulator based on Spice 3f5
 long_description \
-                 Ngspice is a mixed-level/mixed-signal circuit simulator. Its \
-                 code is based on three open source software packages: Spice3f5, \
-                 Cider1b1 and Xspice. Ngspice is part of gEDA project, a full \
-                 GPL'd suite of Electronic Design Automation tools. \
-                 Note: this port does not compile the Cider and Xspice modules.
-homepage         http://ngspice.sourceforge.net/
-platforms        darwin
+	Ngspice is a mixed-level/mixed-signal circuit simulator. Its \
+	code is based on three open source software packages: Spice3f5, \
+	Cider1b1 and Xspice. Ngspice is part of gEDA project, a full \
+	GPL'd suite of Electronic Design Automation tools. \
+	Note: this port does not compile the Cider and Xspice modules.
 
-master_sites     sourceforge:ngspice
+homepage	http://ngspice.sourceforge.net/
+master_sites	sourceforge:ngspice
 
-depends_build    port:libtool
+patchfiles	patch-inpmkmod.c.diff
 
-checksums        md5 3ab09b939939f7d0fb8cc9d8c77ead71 \
-                 sha1 fd97cf87e164ad5b9f8ff8c73cfcef4480c4047e \
-                 rmd160 e123c97060ce427ff11e6859b61dbd471ebf0cf9
+distname	${name}-rework-${version}
+checksums	md5     52d01ef53332b8a0e58bf4f7ac7f2c42 \
+		sha1    c0036296df9b878639e8d6e38b6a991b30e7cf79 \
+		rmd160  b91659cae67c99f3dde6c63e1ebdd45c29863f0a
 
-patchfiles       patch-autogen.sh.diff \
-                 patch-postsc.c.diff \
-                 patch-hpgl.c.diff \
-                 patch-runcoms.c.diff \
-                 patch-runcoms2.c.diff \
-                 patch-numparam.h.diff \
-                 patch-spicenum.c.diff
+worksrcdir	ngspice-${version}
 
-pre-configure {
-	system "cd ${worksrcpath} && ./autogen.sh"
-}
-configure.args   --mandir=${prefix}/share/man \
-                 --infodir=${prefix}/share/info \
-                 --with-editline=yes \
-                 --enable-x
+configure.args	--mandir=${prefix}/share/man \
+		--infodir=${prefix}/share/info \
+		--with-editline=yes \
+		--enable-x
+

Deleted: trunk/dports/science/ng-spice/files/patch-autogen.sh.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-autogen.sh.diff	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/files/patch-autogen.sh.diff	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,20 +0,0 @@
---- autogen.sh.orig	2007-12-15 08:41:48.000000000 -0500
-+++ autogen.sh	2009-01-24 20:32:15.000000000 -0500
-@@ -53,7 +53,7 @@
- 	DIE=1
-         }
- 
--(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
-+(glibtoolize --version) < /dev/null > /dev/null 2>&1 || {
- 	echo
- 	echo "You must have libtool installed to compile $PROJECT."
- 	echo "See http://www.gnu.org/software/libtool/"
-@@ -160,7 +160,7 @@
- fi
- 
- echo "Running libtoolize"
--libtoolize --copy --force
-+glibtoolize --copy --force
- if [ $? -ne 0 ];then  echo "libtoolize failed"; exit 1 ; fi
- 
- echo "Running aclocal $ACLOCAL_FLAGS"

Deleted: trunk/dports/science/ng-spice/files/patch-hpgl.c.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-hpgl.c.diff	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/files/patch-hpgl.c.diff	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,11 +0,0 @@
---- src/frontend/hpgl.c.orig	2005-05-30 16:28:30.000000000 -0400
-+++ src/frontend/hpgl.c	2009-01-25 00:12:14.000000000 -0500
-@@ -75,7 +75,7 @@
-                 };
- 
- static FILE *plotfile;
--char psfont[128], psfontsize[32], psscale[32];
-+static char psfont[128], psfontsize[32], psscale[32];
- static int fontwidth  = FONTWIDTH;
- static int fontheight = FONTHEIGHT;
- static int   jgmult      = 10;

Deleted: trunk/dports/science/ng-spice/files/patch-numparam.h.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-numparam.h.diff	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/files/patch-numparam.h.diff	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,11 +0,0 @@
---- src/frontend/numparam/numparam.h.orig	2009-01-25 18:34:50.000000000 -0500
-+++ src/frontend/numparam/numparam.h	2009-01-25 18:35:16.000000000 -0500
-@@ -77,6 +77,6 @@
-  char getidtype( tdico *d, char * s);
-  int attrib( tdico *dico, char * t, char op );
- 
--char *nupa_inst_name;
--tdico *inst_dico;
-+extern char *nupa_inst_name;
-+extern tdico *inst_dico;
-  

Deleted: trunk/dports/science/ng-spice/files/patch-postsc.c.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-postsc.c.diff	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/files/patch-postsc.c.diff	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,11 +0,0 @@
---- src/frontend/postsc.c.orig	2005-05-30 16:28:30.000000000 -0400
-+++ src/frontend/postsc.c	2009-01-25 00:12:33.000000000 -0500
-@@ -59,7 +59,7 @@
- 		};
- 
- static FILE *plotfile;
--char psfont[128], psfontsize[32], psscale[32], pscolor[32];
-+static char psfont[128], psfontsize[32], psscale[32], pscolor[32];
- static int fontsize   = FONTSIZE;
- static int fontwidth  = FONTWIDTH;
- static int fontheight = FONTHEIGHT;

Deleted: trunk/dports/science/ng-spice/files/patch-runcoms.c.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-runcoms.c.diff	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/files/patch-runcoms.c.diff	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,11 +0,0 @@
---- src/frontend/runcoms.c.orig	2008-09-21 18:18:10.000000000 -0400
-+++ src/frontend/runcoms.c	2009-01-25 18:16:14.000000000 -0500
-@@ -41,7 +41,7 @@
- FILE *rawfileFp;
- bool rawfileBinary;
- #define RAWBUF_SIZE 32768
--char rawfileBuf[RAWBUF_SIZE];
-+static char rawfileBuf[RAWBUF_SIZE];
- /*To tell resume the rawfile name saj*/
- char *last_used_rawfile = NULL;
- /*end saj */

Deleted: trunk/dports/science/ng-spice/files/patch-runcoms2.c.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-runcoms2.c.diff	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/files/patch-runcoms2.c.diff	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,11 +0,0 @@
---- src/frontend/runcoms2.c.orig	2007-12-29 16:11:12.000000000 -0500
-+++ src/frontend/runcoms2.c	2009-01-25 18:16:51.000000000 -0500
-@@ -25,7 +25,7 @@
- #include "inpdefs.h"
- 
- #define RAWBUF_SIZE 32768
--char rawfileBuf[RAWBUF_SIZE];
-+static char rawfileBuf[RAWBUF_SIZE];
- 
- /* Continue a simulation. If there is non in progress, this is the
-  * equivalent of "run".

Deleted: trunk/dports/science/ng-spice/files/patch-spicenum.c.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-spicenum.c.diff	2009-05-08 12:30:35 UTC (rev 50741)
+++ trunk/dports/science/ng-spice/files/patch-spicenum.c.diff	2009-05-08 12:45:11 UTC (rev 50742)
@@ -1,12 +0,0 @@
---- src/frontend/numparam/spicenum.c.orig	2009-01-25 18:30:35.000000000 -0500
-+++ src/frontend/numparam/spicenum.c	2009-01-25 18:38:15.000000000 -0500
-@@ -27,6 +27,9 @@
- #include "numparam.h"
- #include "ngspice.h"
- 
-+char *nupa_inst_name;
-+tdico *inst_dico;
-+
- extern void txfree (void *ptr);
- 
- /* Uncomment this line to allow debug tracing */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090508/4c224a2f/attachment.html>


More information about the macports-changes mailing list