diff options
author | tg <tg@FreeBSD.org> | 1995-12-21 08:05:12 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1995-12-21 08:05:12 +0000 |
commit | 60ab0eef58a54a6e545982ed5a79002bf46f5221 (patch) | |
tree | cb765e99d95fe5abe6791a2ef515bd8d262a9b0b /cad | |
parent | 50fabdd3694368f37d1f50e5c55a255f25d33eaa (diff) | |
download | FreeBSD-ports-60ab0eef58a54a6e545982ed5a79002bf46f5221.zip FreeBSD-ports-60ab0eef58a54a6e545982ed5a79002bf46f5221.tar.gz |
- Upgrade to version 0.20
- Use placeholder @PREFIX@ in patch-aa to allow for
non-standard ${PREFIX}
- New file scripts/configure
Diffstat (limited to 'cad')
-rw-r--r-- | cad/acs/Makefile | 14 | ||||
-rw-r--r-- | cad/acs/distinfo | 2 | ||||
-rw-r--r-- | cad/acs/files/patch-aa | 40 | ||||
-rw-r--r-- | cad/acs/pkg-comment | 2 | ||||
-rw-r--r-- | cad/acs/pkg-plist | 2 | ||||
-rw-r--r-- | cad/acs/scripts/configure | 19 |
6 files changed, 49 insertions, 30 deletions
diff --git a/cad/acs/Makefile b/cad/acs/Makefile index 148ae7e..850e131 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 fd6106b..2183a44 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 263c416..3ee5e83 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 bf9bd56..d083cf9 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 a2ec2ee..d57c7e3 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 0000000..9b89da6 --- /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 |