mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
IRSIM version 9.2
This commit is contained in:
parent
73d815c6db
commit
0066f3c971
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=594
7 changed files with 116 additions and 0 deletions
14
cad/irsim/Makefile
Normal file
14
cad/irsim/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# New ports collection makefile for: magic
|
||||||
|
# Version required: 6.4.4
|
||||||
|
# Date created: 18 Dec 1994
|
||||||
|
# Whom: swallace
|
||||||
|
#
|
||||||
|
# $Id: Makefile,v 1.2 1994/10/06 07:52:04 swallace Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
DISTNAME= irsim-9.2
|
||||||
|
EXTRACT_SUFX= .tar.Z
|
||||||
|
MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/magic/6.4/
|
||||||
|
WRKSRC= ${.CURDIR}/work/irsim
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
19
cad/irsim/files/Makefile
Normal file
19
cad/irsim/files/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
CFLAGS = -USYS_V -UNO_SIGIO -DULTRIX_VERSION=4 -O2 -m486
|
||||||
|
|
||||||
|
all:
|
||||||
|
@(cd src/utils; make)
|
||||||
|
@(cd src/irsim; make SYSF="${CFLAGS}")
|
||||||
|
@(cd src/fsim; make SYSF="${CFLAGS}")
|
||||||
|
@(cd src/other/h2a; make SYSF="${CFLAGS}")
|
||||||
|
@(cd src/other/inet2sim; make SYSF="${CFLAGS}")
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -cs -o bin -g bin -m 555 src/irsim/irsim ${PREFIX}/bin
|
||||||
|
install -cs -o bin -g bin -m 555 src/fsim/ifsim ${PREFIX}/bin
|
||||||
|
install -cs -o bin -g bin -m 555 src/other/h2a/h2a ${PREFIX}/bin
|
||||||
|
install -cs -o bin -g bin -m 555 src/other/inet2sim/inet2sim ${PREFIX}/bin
|
||||||
|
install -c -o bin -g bin -m 444 man/irsim.1 ${PREFIX}/man/man1
|
||||||
|
install -c -o bin -g bin -m 444 man/irsim-analyzer.3 ${PREFIX}/man/man3
|
||||||
|
install -c -o bin -g bin -m 444 man/netchange.5 ${PREFIX}/man/man5
|
||||||
|
install -c -o bin -g bin -m 444 calibrate/scmos1_6um.prm ${PREFIX}/lib
|
||||||
|
install -c -o bin -g bin -m 444 calibrate/scmos2um.prm ${PREFIX}/lib
|
56
cad/irsim/files/patch-aa
Normal file
56
cad/irsim/files/patch-aa
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
*** src/irsim/fio.c.orig Fri Jan 15 11:45:14 1993
|
||||||
|
--- src/irsim/fio.c Sun Dec 18 13:58:41 1994
|
||||||
|
***************
|
||||||
|
*** 15,21 ****
|
||||||
|
--- 15,23 ----
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <defs.h>
|
||||||
|
|
||||||
|
+ #ifndef __FreeBSD__ /* clearerr defined as macro in stdio.h */
|
||||||
|
extern void clearerr();
|
||||||
|
+ #endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
*** src/utils/Export/export.c.orig Sun Dec 23 01:15:04 1990
|
||||||
|
--- src/utils/Export/export.c Sun Dec 18 13:52:22 1994
|
||||||
|
***************
|
||||||
|
*** 36,41 ****
|
||||||
|
--- 36,42 ----
|
||||||
|
extern String mktemp();
|
||||||
|
String outfname;
|
||||||
|
char syscmd[ 512 ];
|
||||||
|
+ char name[18];
|
||||||
|
FILE *tmp;
|
||||||
|
int r;
|
||||||
|
int i;
|
||||||
|
***************
|
||||||
|
*** 46,53 ****
|
||||||
|
signal( SIGINT, abnorm );
|
||||||
|
signal( SIGQUIT, abnorm );
|
||||||
|
|
||||||
|
! tmpname = mktemp( "/tmp/exportXXXXXX" );
|
||||||
|
! fout = fopen( tmpname, "w", stdout );
|
||||||
|
if( fout == NULL )
|
||||||
|
Crash( "can't write %s", tmpname );
|
||||||
|
|
||||||
|
--- 47,55 ----
|
||||||
|
signal( SIGINT, abnorm );
|
||||||
|
signal( SIGQUIT, abnorm );
|
||||||
|
|
||||||
|
! strcpy( name, "/tmp/exportXXXXXX" );
|
||||||
|
! tmpname = mktemp( name );
|
||||||
|
! fout = fopen( tmpname, "w" );
|
||||||
|
if( fout == NULL )
|
||||||
|
Crash( "can't write %s", tmpname );
|
||||||
|
|
||||||
|
*** src/irsim/gentbl.c.orig Fri Jan 15 11:45:14 1993
|
||||||
|
--- src/irsim/gentbl.c Sun Dec 18 18:56:39 1994
|
||||||
|
***************
|
||||||
|
*** 188,191 ****
|
||||||
|
--- 188,192 ----
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fprintf( out, "\n};\n" );
|
||||||
|
+ return 0;
|
||||||
|
}
|
1
cad/irsim/pkg-comment
Normal file
1
cad/irsim/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
IRSIM 9.2
|
10
cad/irsim/pkg-descr
Normal file
10
cad/irsim/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
IRSIM version 9.2
|
||||||
|
|
||||||
|
Irsim is an event-driven logic-level simulator for MOS circuits
|
||||||
|
|
||||||
|
To run irsim, users should set CAD_HOME to the base installation directory
|
||||||
|
where magic was installed, e.g. /usr/local. Alternatively, the system
|
||||||
|
administrator can create a dummy user named 'cad' with its home
|
||||||
|
directory set to the installation directory.
|
||||||
|
|
||||||
|
Ported to FreeBSD by Steven Wallace, swallace@freebsd.org
|
10
cad/irsim/pkg-plist
Normal file
10
cad/irsim/pkg-plist
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
@cwd /usr/local
|
||||||
|
bin/irsim
|
||||||
|
bin/ifsim
|
||||||
|
bin/h2a
|
||||||
|
bin/inet2sim
|
||||||
|
man/man1/irsim.1
|
||||||
|
man/man3/irsim-analyzer.3
|
||||||
|
man/man5/netchange.5
|
||||||
|
lib/scmos1_6um.prm
|
||||||
|
lib/scmos2um.prm
|
6
cad/irsim/scripts/post-configure
Normal file
6
cad/irsim/scripts/post-configure
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# $Id: post-configure,v 1.2 1994/10/04 15:12:51 jkh Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
cp ${CURDIR}/files/Makefile ${WRKSRC}
|
Loading…
Add table
Reference in a new issue