aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cad/acs/Makefile14
-rw-r--r--cad/acs/distinfo2
-rw-r--r--cad/acs/files/patch-aa40
-rw-r--r--cad/acs/pkg-comment2
-rw-r--r--cad/acs/pkg-plist2
-rw-r--r--cad/acs/scripts/configure19
6 files changed, 49 insertions, 30 deletions
diff --git a/cad/acs/Makefile b/cad/acs/Makefile
index 148ae7ea00f1..850e131695db 100644
--- a/cad/acs/Makefile
+++ b/cad/acs/Makefile
@@ -3,18 +3,16 @@
# Date created: 01 January 1995
# Whom: thomas@ghpc8.ihf.rwth-aachen.de
#
-# $Id: Makefile,v 1.3 1995/04/11 20:12:47 asami Exp $
+# $Id: Makefile,v 1.4 1995/05/02 08:59:56 asami Exp $
#
-# note: there's a new version out (rewrite in C++).
-# i think i'll let that settle for a while;
-# at least as long as 0.16 is still available --tg
-
-DISTNAME= acs016
-PKGNAME= acs-0.16
+DISTNAME= acs020
+PKGNAME= acs-0.20
CATEGORIES+= cad
KEYWORDS+= cad "circuit simulation" spice
-MASTER_SITES= ftp://cs.rit.edu/pub/acs/
+MASTER_SITES= ftp://mammoth.lle.rochester.edu/pub/local/acs/ \
+ ftp://cs.rit.edu/pub/acs/ \
+ ftp://ee.rochester.edu/pub/acs/
MAINTAINER= thomas@ghpc8.ihf.rwth-aachen.de
diff --git a/cad/acs/distinfo b/cad/acs/distinfo
index fd6106b3fa18..2183a44be30c 100644
--- a/cad/acs/distinfo
+++ b/cad/acs/distinfo
@@ -1 +1 @@
-MD5 (acs016.tar.gz) = 6571b32907873f6c620b1ba06d8d66bf
+MD5 (acs020.tar.gz) = e59f2751a3ccf6e68e530c86008dba93
diff --git a/cad/acs/files/patch-aa b/cad/acs/files/patch-aa
index 263c4164e300..3ee5e83d3ad5 100644
--- a/cad/acs/files/patch-aa
+++ b/cad/acs/files/patch-aa
@@ -1,31 +1,33 @@
-*** src/_unix.h.orig Sat Dec 17 08:50:39 1994
---- src/_unix.h Sun Jan 1 12:18:58 1995
+*** src/md_unix.h.orig Sat Nov 4 20:34:48 1995
+--- src/md_unix.h Tue Dec 5 14:52:51 1995
***************
-*** 29,35 ****
+*** 27,40 ****
+ #define ENDDIR "/"
+ #define PATHSEP ':'
+ #define SYSTEMSTARTFILE "acs.rc"
+! #define SYSTEMSTARTPATH getenv("PATH")
+ #define USERSTARTFILE ".acsrc"
+ #define USERSTARTPATH getenv("HOME")
+ #define EDITFILE "/tmp/EXXXXXX"
#define STEPFILE "/tmp/SXXXXXX"
#define PLOTFILE "acs.plot"
#define HELPFILE "acs.hlp"
! #define HELPPATH getenv("PATH")
/* standard collection of includes */
- #include <ctype.h>
---- 29,35 ----
+ #include <assert.h>
+--- 27,40 ----
+ #define ENDDIR "/"
+ #define PATHSEP ':'
+ #define SYSTEMSTARTFILE "acs.rc"
+! #define SYSTEMSTARTPATH "@PREFIX@/share/misc"
+ #define USERSTARTFILE ".acsrc"
+ #define USERSTARTPATH getenv("HOME")
+ #define EDITFILE "/tmp/EXXXXXX"
#define STEPFILE "/tmp/SXXXXXX"
#define PLOTFILE "acs.plot"
#define HELPFILE "acs.hlp"
-! #define HELPPATH "/usr/local/lib"
+! #define HELPPATH "@PREFIX@/share/misc"
/* standard collection of includes */
- #include <ctype.h>
-*** /dev/null Sun Jan 1 11:16:29 1995
---- Makefile Sun Jan 1 12:24:21 1995
-***************
-*** 0 ****
---- 1,7 ----
-+ all:
-+ (cd src; make freebsd)
-+
-+ install:
-+ (cd src/FreeBSD; install -c -s -m 755 -g bin -o bin acs ${PREFIX}/bin)
-+ (cd doc; install -c -m 644 -g bin -o bin acs.hlp ${PREFIX}/lib)
-+
+ #include <assert.h>
diff --git a/cad/acs/pkg-comment b/cad/acs/pkg-comment
index bf9bd5685bdc..d083cf9b206c 100644
--- a/cad/acs/pkg-comment
+++ b/cad/acs/pkg-comment
@@ -1 +1 @@
-ACS is a general purpose circuit simulator.
+A general purpose circuit simulator.
diff --git a/cad/acs/pkg-plist b/cad/acs/pkg-plist
index a2ec2ee8b131..d57c7e3a7898 100644
--- a/cad/acs/pkg-plist
+++ b/cad/acs/pkg-plist
@@ -1,2 +1,2 @@
bin/acs
-lib/acs.hlp
+share/misc/acs.hlp
diff --git a/cad/acs/scripts/configure b/cad/acs/scripts/configure
new file mode 100644
index 000000000000..9b89da606624
--- /dev/null
+++ b/cad/acs/scripts/configure
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# fill in $PREFIX
+sedpgm=`eval echo \'s,@PREFIX@,$PREFIX,g\'`
+sed -e "$sedpgm" <${WRKSRC}/src/md_unix.h >/tmp/sed$$
+cp /tmp/sed$$ ${WRKSRC}/src/md_unix.h
+rm /tmp/sed$$
+
+# write a simple Makefile to $WRKSRC
+cat >${WRKSRC}/Makefile <<EOF
+all:
+ (cd src; make freebsd)
+
+install:
+ @mkdir -p ${PREFIX}/share/misc
+ (cd src/FreeBSD; install -c -s -m 755 -g bin -o bin acs ${PREFIX}/bin)
+ (cd doc; install -c -m 644 -g bin -o bin acs.hlp ${PREFIX}/share/misc)
+
+EOF