1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

- Upgrade to version 0.20

- Use placeholder @PREFIX@ in patch-aa to allow for
  non-standard ${PREFIX}
- New file scripts/configure
This commit is contained in:
Thomas Gellekum 1995-12-21 08:05:12 +00:00
parent 27963e8166
commit 75289c74e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2577
6 changed files with 49 additions and 30 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (acs016.tar.gz) = 6571b32907873f6c620b1ba06d8d66bf
MD5 (acs020.tar.gz) = e59f2751a3ccf6e68e530c86008dba93

View File

@ -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>

View File

@ -1 +1 @@
ACS is a general purpose circuit simulator.
A general purpose circuit simulator.

View File

@ -1,2 +1,2 @@
bin/acs
lib/acs.hlp
share/misc/acs.hlp

19
cad/acs/scripts/configure vendored Normal file
View File

@ -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