diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1995-05-29 13:46:42 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1995-05-29 13:46:42 +0000 |
commit | 444bcd3c2ed803274c8deafa2c3fa03f8a394653 (patch) | |
tree | 297f74782436a0f973b6b89d60c10f399af9a135 /cad | |
parent | Remove comment about not being able to undefine a variable, as we *can* (diff) |
This commit was manufactured by cvs2svn to create tagrelease/2.0.5
'RELENG_2_0_5_RELEASE'.
Notes
Notes:
svn path=/head/; revision=1803
svn path=/tags/RELENG_2_0_5_RELEASE/; revision=1807; tag=release/2.0.5
Diffstat (limited to 'cad')
-rw-r--r-- | cad/Makefile | 6 | ||||
-rw-r--r-- | cad/acs/Makefile | 21 | ||||
-rw-r--r-- | cad/acs/distinfo | 1 | ||||
-rw-r--r-- | cad/acs/files/patch-aa | 31 | ||||
-rw-r--r-- | cad/acs/pkg-comment | 1 | ||||
-rw-r--r-- | cad/acs/pkg-descr | 48 | ||||
-rw-r--r-- | cad/acs/pkg-plist | 2 | ||||
-rw-r--r-- | cad/irsim/Makefile | 16 | ||||
-rw-r--r-- | cad/irsim/distinfo | 1 | ||||
-rw-r--r-- | cad/irsim/files/Makefile | 19 | ||||
-rw-r--r-- | cad/irsim/files/patch-aa | 75 | ||||
-rw-r--r-- | cad/irsim/pkg-comment | 1 | ||||
-rw-r--r-- | cad/irsim/pkg-descr | 10 | ||||
-rw-r--r-- | cad/irsim/pkg-plist | 10 | ||||
-rw-r--r-- | cad/irsim/scripts/post-configure | 6 | ||||
-rw-r--r-- | cad/magic/Makefile | 26 | ||||
-rw-r--r-- | cad/magic/distinfo | 1 | ||||
-rw-r--r-- | cad/magic/files/patch-aa | 494 | ||||
-rw-r--r-- | cad/magic/files/patch-ab | 38 | ||||
-rw-r--r-- | cad/magic/pkg-comment | 1 | ||||
-rw-r--r-- | cad/magic/pkg-descr | 10 | ||||
-rw-r--r-- | cad/magic/pkg-plist | 51 | ||||
-rw-r--r-- | cad/magic/scripts/post-configure | 9 | ||||
-rw-r--r-- | cad/pcb/Makefile | 22 | ||||
-rw-r--r-- | cad/pcb/distinfo | 1 | ||||
-rw-r--r-- | cad/pcb/pkg-comment | 1 | ||||
-rw-r--r-- | cad/pcb/pkg-descr | 4 | ||||
-rw-r--r-- | cad/pcb/pkg-plist | 102 |
28 files changed, 0 insertions, 1008 deletions
diff --git a/cad/Makefile b/cad/Makefile deleted file mode 100644 index 54379e5fb3c9..000000000000 --- a/cad/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# $Id: Makefile,v 1.2 1995/01/13 14:00:40 jkh Exp $ -# - -SUBDIR= acs irsim magic pcb - -.include <bsd.port.subdir.mk> diff --git a/cad/acs/Makefile b/cad/acs/Makefile deleted file mode 100644 index 148ae7ea00f1..000000000000 --- a/cad/acs/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# New ports collection makefile for: acs -# Version required: 0.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 $ -# - -# 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 -CATEGORIES+= cad -KEYWORDS+= cad "circuit simulation" spice -MASTER_SITES= ftp://cs.rit.edu/pub/acs/ - -MAINTAINER= thomas@ghpc8.ihf.rwth-aachen.de - -.include <bsd.port.mk> diff --git a/cad/acs/distinfo b/cad/acs/distinfo deleted file mode 100644 index fd6106b3fa18..000000000000 --- a/cad/acs/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (acs016.tar.gz) = 6571b32907873f6c620b1ba06d8d66bf diff --git a/cad/acs/files/patch-aa b/cad/acs/files/patch-aa deleted file mode 100644 index 263c4164e300..000000000000 --- a/cad/acs/files/patch-aa +++ /dev/null @@ -1,31 +0,0 @@ -*** src/_unix.h.orig Sat Dec 17 08:50:39 1994 ---- src/_unix.h Sun Jan 1 12:18:58 1995 -*************** -*** 29,35 **** - #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 ---- - #define STEPFILE "/tmp/SXXXXXX" - #define PLOTFILE "acs.plot" - #define HELPFILE "acs.hlp" -! #define HELPPATH "/usr/local/lib" - - /* 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) -+ diff --git a/cad/acs/pkg-comment b/cad/acs/pkg-comment deleted file mode 100644 index bf9bd5685bdc..000000000000 --- a/cad/acs/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -ACS is a general purpose circuit simulator. diff --git a/cad/acs/pkg-descr b/cad/acs/pkg-descr deleted file mode 100644 index efc0bfdaf161..000000000000 --- a/cad/acs/pkg-descr +++ /dev/null @@ -1,48 +0,0 @@ -ACS is a general purpose circuit simulator. It performs nonlinear -dc and transient analyses, fourier analysis, and ac analysis -linearized at an operating point. It is fully interactive and -command driven. It can also be run in batch mode or as a server. -The output is produced as it simulates. Spice compatible models -for the MOSFET (level 1 and 2) and diode are included in this -release. - -Since it is fully interactive, it is possible to make changes and -re-simulate quickly. The interactive design makes it well suited -to the typical iterative design process used it optimizing a circuit -design. It is also well suited to undergraduate teaching where -Spice in batch mode can be quite intimidating. This version, while -still officially in beta test, should be stable enough for basic -undergraduate teaching and courses in MOS design, but not for -bipolar design. - -In batch mode it is mostly Spice compatible, so it is often possible -to use the same file for both ACS and Spice. - -The analog simulation is based on traditional nodal analysis with -iteration by Newton's method and LU decomposition. An event queue -and incremental matrix update speed up the solution for large -circuits. - -It also has digital devices for mixed signal simulation. The -digital devices may be implemented as either analog subcircuits or -as true digital models. The simulator will automatically determine -which to use. Networks of digital devices are simulated as digital, -with no conversions to analog between gates. This results in -digital circuits being simulated faster than on a typical analog -simulator, even with behavioral models. The digital mode is -experimental and needs work. There will be substantial improvements -in future releases. - -ACS also has a simple behavioral modeling language that allows -simple behavioral descriptions of most components including capacitors -and inductors. Unfortunately, it is not well documented. - -ACS uses an object oriented approach to modeling. Complex models -like MOSFETS are made of simpler ones like resistors, capacitors, -diodes, and any other models that may already exist. The model -designer does not need to worry about details like convergence -checking, bypass checking, integration, or how the new device plugs -into the solution matrix because these are already taken care of -by the basic models. This results in a dramatic improvement in -the time it takes a researcher or model designer to install a new -model, compared to Spice. diff --git a/cad/acs/pkg-plist b/cad/acs/pkg-plist deleted file mode 100644 index a2ec2ee8b131..000000000000 --- a/cad/acs/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/acs -lib/acs.hlp diff --git a/cad/irsim/Makefile b/cad/irsim/Makefile deleted file mode 100644 index cd6ef4c7cac3..000000000000 --- a/cad/irsim/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# New ports collection makefile for: irsim -# Version required: 9.2 -# Date created: 18 Dec 1994 -# Whom: swallace -# -# $Id: Makefile,v 1.2 1995/04/01 12:44:13 jkh Exp $ -# - -DISTNAME= irsim-9.2 -CATEGORIES+= cad -MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/magic/6.4/ -EXTRACT_SUFX= .tar.Z - -WRKSRC= ${.CURDIR}/work/irsim - -.include <bsd.port.mk> diff --git a/cad/irsim/distinfo b/cad/irsim/distinfo deleted file mode 100644 index 5de8b375d062..000000000000 --- a/cad/irsim/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (irsim-9.2.tar.Z) = 691342514168dd14e59aae85ca4f912b diff --git a/cad/irsim/files/Makefile b/cad/irsim/files/Makefile deleted file mode 100644 index 586b1bc6f533..000000000000 --- a/cad/irsim/files/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -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 diff --git a/cad/irsim/files/patch-aa b/cad/irsim/files/patch-aa deleted file mode 100644 index e54496b59109..000000000000 --- a/cad/irsim/files/patch-aa +++ /dev/null @@ -1,75 +0,0 @@ -*** 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; - } -*** src/ana11/Makefile.ORIG Fri Jan 15 20:47:47 1993 ---- src/ana11/Makefile Sun Jan 22 13:57:51 1995 -*************** -*** 19,25 **** - - LIBS = - -! CDIRS = -I../include - - CSW = -O - ---- 19,25 ---- - - LIBS = - -! CDIRS = -I../include -I${X11BASE}/include - - CSW = -O - diff --git a/cad/irsim/pkg-comment b/cad/irsim/pkg-comment deleted file mode 100644 index d428541970fb..000000000000 --- a/cad/irsim/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -IRSIM 9.2 diff --git a/cad/irsim/pkg-descr b/cad/irsim/pkg-descr deleted file mode 100644 index c1a63feb88b7..000000000000 --- a/cad/irsim/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -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 diff --git a/cad/irsim/pkg-plist b/cad/irsim/pkg-plist deleted file mode 100644 index ce875fb3190b..000000000000 --- a/cad/irsim/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -@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 diff --git a/cad/irsim/scripts/post-configure b/cad/irsim/scripts/post-configure deleted file mode 100644 index 3acb40fd1609..000000000000 --- a/cad/irsim/scripts/post-configure +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# -# $Id: post-configure,v 1.2 1994/10/04 15:12:51 jkh Exp $ -# - -cp ${CURDIR}/files/Makefile ${WRKSRC} diff --git a/cad/magic/Makefile b/cad/magic/Makefile deleted file mode 100644 index c0a2d3344d7a..000000000000 --- a/cad/magic/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# New ports collection makefile for: magic -# Version required: 6.4.4 -# Date created: 18 Dec 1994 -# Whom: swallace -# -# $Id: Makefile,v 1.6 1995/04/22 12:43:38 asami Exp $ -# - -DISTNAME= magic-6.4.4 -CATEGORIES+= cad -MASTER_SITES= ftp://gatekeeper.dec.com/pub/DEC/magic/6.4/ -EXTRACT_SUFX= .tar.Z - -USE_GMAKE= yes - -do-install: - @(cd ${WRKSRC}; ${MAKE} PREFIX=${PREFIX} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) - @(cd ${PREFIX}; chmod 555 bin/magic bin/ext2dlys bin/ext2sim bin/fsleeper bin/magicusage bin/net2ir bin/extcheck bin/X11Helper) - @(cd ${PREFIX}; chmod 444 man/man8/prleak.8 man/man8/prleak.8 man/man1/ext2dlys.1 man/man1/ext2spice.1 man/man1/extcheck.1 man/man1/magic.1 man/man1/magicusage.1 man/man1/grsunprog.1 man/man1/ext2sim.1 man/man1/net2ir.1 man/man1/rsleeper.1 man/man1/sim2spice.1 man/man1/sleeper.1 man/man1/fsleeper.1 man/man5/cmap.5 man/man5/displays.5 man/man5/dlys.5 man/man5/sim.5 man/man5/dstyle.5 man/man5/ext.5 man/man5/glyphs.5 man/man5/magic.5 man/man5/net.5 man/man3/mpack.3 man/man3/dqueue.3 man/man3/extflat.3 man/man3/geometry.3 man/man3/hash.3 man/man3/heap.3 man/man3/libmalloc.3 man/man3/list.3 man/man3/magicutils.3 man/man3/malloc.3 man/man3/path.3 man/man3/runstats.3 man/man3/set.3 man/man3/show.3 man/man3/stack.3 man/man3/string.3 lib/mpack.h lib/libmpack.a) - @(cd ${PREFIX}; chmod -R a+rX,go-w lib/magic) - @(cd ${PREFIX}; strip bin/magic bin/ext2dlys bin/ext2sim bin/fsleeper bin/magicusage bin/net2ir bin/extcheck bin/X11Helper) - @(cd ${PREFIX}; chown bin.bin bin/magic bin/ext2dlys bin/ext2sim bin/fsleeper bin/magicusage bin/net2ir bin/extcheck bin/X11Helper) - @(cd ${PREFIX}; chown bin.bin man/man8/prleak.8 man/man8/prleak.8 man/man1/ext2dlys.1 man/man1/ext2spice.1 man/man1/extcheck.1 man/man1/magic.1 man/man1/magicusage.1 man/man1/grsunprog.1 man/man1/ext2sim.1 man/man1/net2ir.1 man/man1/rsleeper.1 man/man1/sim2spice.1 man/man1/sleeper.1 man/man1/fsleeper.1 man/man5/cmap.5 man/man5/displays.5 man/man5/dlys.5 man/man5/sim.5 man/man5/dstyle.5 man/man5/ext.5 man/man5/glyphs.5 man/man5/magic.5 man/man5/net.5 man/man3/mpack.3 man/man3/dqueue.3 man/man3/extflat.3 man/man3/geometry.3 man/man3/hash.3 man/man3/heap.3 man/man3/libmalloc.3 man/man3/list.3 man/man3/magicutils.3 man/man3/malloc.3 man/man3/path.3 man/man3/runstats.3 man/man3/set.3 man/man3/show.3 man/man3/stack.3 man/man3/string.3 lib/mpack.h lib/libmpack.a) - @(cd ${PREFIX}; chown -R bin.bin lib/magic) - -.include <bsd.port.mk> diff --git a/cad/magic/distinfo b/cad/magic/distinfo deleted file mode 100644 index 7c2698241c7f..000000000000 --- a/cad/magic/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (magic-6.4.4.tar.Z) = debcd9d89fac25731c7df6c0431f195b diff --git a/cad/magic/files/patch-aa b/cad/magic/files/patch-aa deleted file mode 100644 index d62525dc6cbf..000000000000 --- a/cad/magic/files/patch-aa +++ /dev/null @@ -1,494 +0,0 @@ -*** extflat/extflat.h.orig Tue Jul 12 14:29:15 1994 ---- extflat/extflat.h Sat Dec 17 15:53:53 1994 -*************** -*** 23,29 **** ---- 23,31 ---- - int err0 = Need_to_include_magic_header; - #endif _MAGIC - -+ #ifndef __FreeBSD__ - typedef unsigned char u_char; -+ #endif - - /* - * Arguments to EFFlatBuild(). -*** misc/CFLAGS.orig Fri Jul 29 17:46:00 1994 ---- misc/CFLAGS Sat Dec 17 23:51:53 1994 -*************** -*** 1 **** -! -g ---- 1 ---- -! -m486 -O2 -*** misc/patchlevel.c.orig Fri Jul 29 12:34:47 1994 ---- misc/patchlevel.c Sat Dec 17 23:43:48 1994 -*************** -*** 57,62 **** ---- 57,63 ---- - strcat(patchstr, "release-6.4"); - strcat(patchstr, ", linux1"); - -+ strcat(patchstr, ", FreeBSD1"); - /* NEW PATCH LINES GO RIGHT BEFORE THIS LINE */ - return patchstr; - } -*** misc/paths.h.orig Thu Jul 7 15:26:29 1994 ---- misc/paths.h Sat Dec 17 23:28:58 1994 -*************** -*** 53,59 **** - # define PAGERDIR "/usr/bin/pg" - # endif - #else -! # ifdef linux - # define PAGERDIR "/usr/bin/more" - # else - # define PAGERDIR "/usr/ucb/more" ---- 53,59 ---- - # define PAGERDIR "/usr/bin/pg" - # endif - #else -! # if linux || __FreeBSD__ - # define PAGERDIR "/usr/bin/more" - # else - # define PAGERDIR "/usr/ucb/more" -*** plot/plotPixels.c.orig Fri Jul 29 15:05:41 1994 ---- plot/plotPixels.c Sat Dec 17 16:03:24 1994 -*************** -*** 1336,1342 **** ---- 1336,1344 ---- - FILE *file; /* File stream on which to dump it. */ - { - int i; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - extern int errno; - int r,g,b; - -*** plot/plotRutils.c.orig Mon Jul 11 11:10:50 1994 ---- plot/plotRutils.c Sat Dec 17 16:06:21 1994 -*************** -*** 394,400 **** ---- 394,402 ---- - FILE *file; /* File in which to dump it. */ - { - int count; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - extern int errno; - - count = write(fileno(file), (char *) raster->ras_bits, -*** plow/PlowMain.c.orig Fri Jul 29 17:08:25 1994 ---- plow/PlowMain.c Sat Dec 17 15:44:56 1994 -*************** -*** 22,27 **** ---- 22,28 ---- - static char rcsid[]="$Header: /home/ncvs/ports/cad/magic/patches/patch-aa,v 1.4 1995/02/25 21:35:19 ats Exp $"; - #endif not lint - -+ #include <sys/types.h> - #include <sys/time.h> - #include <sys/resource.h> - #include <stdio.h> -*** prleak/prleak.c.orig Thu Sep 13 13:27:43 1990 ---- prleak/prleak.c Sat Dec 17 15:50:19 1994 -*************** -*** 51,59 **** - static char allName[] = "/tmp/prlaaXXXXX"; - - long ftell(); - long getw(); - FILE *uopen(); -! int cleanup(); - - int aflag = 0; /* -a: print all calls to malloc/free */ - int dflag = 0; /* -d: print duplicate frees */ ---- 51,61 ---- - static char allName[] = "/tmp/prlaaXXXXX"; - - long ftell(); -+ #ifndef __FreeBSD__ - long getw(); -+ #endif - FILE *uopen(); -! void cleanup(); - - int aflag = 0; /* -a: print all calls to malloc/free */ - int dflag = 0; /* -d: print duplicate frees */ -*************** -*** 280,286 **** - { - if (ap = (struct active *) HashGetValue(he)) - { -! putw(he->h_key.h_ptr, fd); - putw(ap->a_size, fd); - putw(ap->a_seek, fd); - FREE((char *) ap); ---- 282,288 ---- - { - if (ap = (struct active *) HashGetValue(he)) - { -! putw((int)he->h_key.h_ptr, fd); - putw(ap->a_size, fd); - putw(ap->a_seek, fd); - FREE((char *) ap); -*************** -*** 615,621 **** - return (ret); - } - -! cleanup() - { - unlink(dupName); - unlink(leakName); ---- 617,623 ---- - return (ret); - } - -! void cleanup() - { - unlink(dupName); - unlink(leakName); -*** utils/getrect.c.orig Mon Jul 18 14:12:35 1994 ---- utils/getrect.c Sat Dec 17 17:34:16 1994 -*************** -*** 64,75 **** ---- 64,83 ---- - #define FILE_SET_PTR(fin, cp) ((fin)->_IO_read_ptr = (cp)) - - #else -+ #ifdef __FreeBSD__ -+ #define FILE_CNT(fin) ((fin)->_r) -+ #define FILE_PTR(fin) ((char *) (fin)->_p) -+ #define FILE_DEC_CNT(fin, n) ((fin)->_r -= (n)) -+ #define FILE_SET_PTR(fin, cp) ((fin)->_p = (cp)) -+ -+ #else - #define FILE_CNT(fin) ((fin)->_cnt) - #define FILE_PTR(fin) ((char *) fin->_ptr) - #define FILE_DEC_CNT(fin, n) ((fin)->_cnt -= (n)) - #define FILE_SET_PTR(fin, cp) ((fin)->_ptr = (cp)) - - #endif -+ #endif - - bool - GetRect(fin, skip, rect) -*************** -*** 115,121 **** - rect->r_ytop = isNegative ? -n : n; - - /* Adjust the stdio pointers to reflect the characters read */ -! FILE_DEC_CNT(fin, cp - (char *) fin->_ptr); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - - /* Make sure we skip to end of line or EOF */ ---- 123,129 ---- - rect->r_ytop = isNegative ? -n : n; - - /* Adjust the stdio pointers to reflect the characters read */ -! FILE_DEC_CNT(fin, cp - FILE_PTR(fin)); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - - /* Make sure we skip to end of line or EOF */ -*************** -*** 125,131 **** - - /* Adjust the stdio pointers to reflect the characters read */ - fastbad: -! FILE_DEC_CNT(fin, cp - (char *) fin->_ptr); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - goto bad; - ---- 133,139 ---- - - /* Adjust the stdio pointers to reflect the characters read */ - fastbad: -! FILE_DEC_CNT(fin, cp - FILE_PTR(fin)); - FILE_SET_PTR(fin, (STDIOCHAR *) cp); - goto bad; - -*** utils/malloc.c.orig Thu Aug 25 14:22:18 1994 ---- utils/malloc.c Sat Dec 17 16:08:04 1994 -*************** -*** 643,649 **** ---- 643,651 ---- - int cursize; - extern etext; - extern int errno; -+ #ifndef __FreeBSD__ - extern char *sys_errlist[]; -+ #endif - - /* - * Hmmmm. Somebody's not giving us enough memory. -*** utils/port.c.orig Thu Aug 18 13:14:30 1994 ---- utils/port.c Sat Dec 17 17:38:57 1994 -*************** -*** 19,24 **** ---- 19,25 ---- - static char rcsid[] = "$Header: /home/ncvs/ports/cad/magic/patches/patch-aa,v 1.4 1995/02/25 21:35:19 ats Exp $"; - #endif not lint - -+ #include <stdlib.h> - #include <stdio.h> - #include <math.h> - #include "magic.h" -*** windows/windCmdAM.c.orig Fri Jul 29 16:57:18 1994 ---- windows/windCmdAM.c Sat Dec 17 16:12:01 1994 -*************** -*** 281,287 **** - { - #define NUM_FD 20 /* max number of open files per process */ - extern int errno, sys_nerr; -! #ifndef ALPHA - extern char *sys_errlist[]; - #endif - int fd; ---- 281,287 ---- - { - #define NUM_FD 20 /* max number of open files per process */ - extern int errno, sys_nerr; -! #if !ALPHA && !__FreeBSD__ - extern char *sys_errlist[]; - #endif - int fd; -*** garouter/Makefile.orig Thu Aug 4 13:16:59 1994 ---- garouter/Makefile Sat Dec 17 16:50:47 1994 -*************** -*** 22,31 **** - - LINTFLAGS= ${IFLAGS} -u - LINTLIBS= -! #LINTLIBS= ${LIB}/lint/database.ln \ -! ${LIB}/lint/gcr.ln ${LIB}/lint/grouter.ln \ -! ${LIB}/lint/signals.ln ${LIB}/lint/textio.ln \ -! ${LIB}/lint/tiles.ln ${LIB}/lint/utils.ln - .SUFFIXES: .po - - ${MODULE}.o: ${OBJS} ---- 22,28 ---- - - LINTFLAGS= ${IFLAGS} -u - LINTLIBS= -! #LINTLIBS= ${LIB}/lint/database.ln ${LIB}/lint/gcr.ln ${LIB}/lint/grouter.ln ${LIB}/lint/signals.ln ${LIB}/lint/textio.ln ${LIB}/lint/tiles.ln ${LIB}/lint/utils.ln - .SUFFIXES: .po - - ${MODULE}.o: ${OBJS} -*** fsleeper/fsleeper.c.orig Thu Jul 7 15:47:35 1994 ---- fsleeper/fsleeper.c Sat Dec 17 16:35:09 1994 -*************** -*** 44,49 **** ---- 44,58 ---- - #endif - #endif - -+ #ifdef __FreeBSD__ -+ #ifndef gtty -+ #define gtty(fd, buf) ioctl(fd, TIOCGETP, buf) -+ #endif -+ #ifndef stty -+ #define stty(fd, buf) ioctl(fd, TIOCSETP, buf) -+ #endif -+ #endif -+ - main(argc, argv) - char *argv[]; - { -*** misc/magic.h.orig Tue Aug 2 15:18:15 1994 ---- misc/magic.h Sat Dec 17 15:31:52 1994 -*************** -*** 217,222 **** ---- 217,226 ---- - #define IS_LITTLE_ENDIAN /* Digital Alpha AXP */ - #endif - -+ #ifdef i386 -+ #define IS_LITTLE_ENDIAN /* i386 CPU */ -+ #endif -+ - /* Well, how'd we do? */ - - #if !defined(IS_BIG_ENDIAN) && !defined(IS_LITTLE_ENDIAN) -*************** -*** 298,304 **** - #ifdef SYSV - extern int sprintf(); - #else -! #ifndef ALPHA - extern char* sprintf(); - #endif - #endif ---- 302,308 ---- - #ifdef SYSV - extern int sprintf(); - #else -! #if !ALPHA && !__FreeBSD__ - extern char* sprintf(); - #endif - #endif -*** scmos/Makefile.ORIG Thu Aug 4 22:17:03 1994 ---- scmos/Makefile Thu Feb 23 18:54:29 1995 -*************** -*** 75,81 **** - uufile: $(SRC) - uuencode scmos_tech.tar.Z scmos_tech.tar.Z > scmos_tech.uu - -! clean:; - rm -f scmos.tech$(VERSION) scmos-ibm.tech$(VERSION) \ - scmos-hp.tech$(VERSION) *.tar.Z *.tar .version3 .version4 - ---- 75,81 ---- - uufile: $(SRC) - uuencode scmos_tech.tar.Z scmos_tech.tar.Z > scmos_tech.uu - -! clean: - rm -f scmos.tech$(VERSION) scmos-ibm.tech$(VERSION) \ - scmos-hp.tech$(VERSION) *.tar.Z *.tar .version3 .version4 - -*** doc/Makefile.ORIG Thu Aug 4 22:30:40 1994 ---- doc/Makefile Fri Feb 24 09:03:09 1995 -*************** -*** 106,109 **** - cd tutcells; make install CADDIR=${CADDIR} - - force: -! ---- 106,109 ---- - cd tutcells; make install CADDIR=${CADDIR} - - force: -! -*** doc/man/Makefile.ORIG Wed Jul 13 21:06:03 1994 ---- doc/man/Makefile Fri Feb 24 09:06:26 1995 -*************** -*** 206,209 **** - cp prleak.8 ${MANDIR}/man8 - - force: -! ---- 206,209 ---- - cp prleak.8 ${MANDIR}/man8 - - force: -! -*** graphics/Makefile.orig Mon Sep 19 23:41:19 1994 ---- graphics/Makefile Fri Feb 24 09:14:43 1995 -*************** -*** 10,16 **** - LIB= ${MAGICDIR}/lib - SYSLIB= ${CADDIR}/lib/magic/sys - BIN= ${CADDIR}/bin -! IFLAGS= -I. -I${H} -I/usr/openwin/include - # - # Configuration for flags and libraries - # ---- 10,16 ---- - LIB= ${MAGICDIR}/lib - SYSLIB= ${CADDIR}/lib/magic/sys - BIN= ${CADDIR}/bin -! IFLAGS= -I. -I${H} -I${X11BASE}/include - # - # Configuration for flags and libraries - # -*************** -*** 140,146 **** - installhelp: - @(for i in ${HELPER_PROGS}; \ - do \ -! make ${MFLAGS} CADDIR=${CADDIR} ${BIN}/$$i; \ - done) - - installhdrs: ${H}/${MODULE}.h ${H}/graphicsInt.h ${H}/glyphs.h \ ---- 140,146 ---- - installhelp: - @(for i in ${HELPER_PROGS}; \ - do \ -! ${MAKE} ${MFLAGS} CADDIR=${CADDIR} ${BIN}/$$i; \ - done) - - installhdrs: ${H}/${MODULE}.h ${H}/graphicsInt.h ${H}/glyphs.h \ -*** Makefile.orig Tue Sep 20 22:55:57 1994 ---- Makefile Fri Feb 24 14:58:41 1995 -*************** -*** 18,23 **** ---- 18,24 ---- - # - - SHELL=/bin/sh -+ MAKE=gmake - - # - # NOTE: tiles and tech must be before database in this list -*************** -*** 38,65 **** - :status Makefile READ_ME - DIRS = include cadlib - CMD = echo Need to define your command via 'make cmd CMD=command' -! CADDIR = `:findcad` - CADDIR_SUB = `../:findcad` - - everything: ${MODULES} .config - /bin/csh :makeall installhdrs ${MODULES} - /bin/csh :makeall install ${MODULES} - /bin/csh :makemains ${PROGRAMS} - - install: everything directories install-tech -! cd windows; make installcad CADDIR=${CADDIR_SUB} - cd doc; make installcad CADDIR=${CADDIR_SUB} -! /bin/csh :execmod "make installcad CADDIR=${CADDIR}" ${PROGRAMS} - - install-tech: -! cd scmos; make install CADDIR=${CADDIR_SUB} - - directories: -! :mkdir ${CADDIR}/bin -! :mkdir ${CADDIR}/lib -! :mkdir ${CADDIR}/lib/magic -! :mkdir ${CADDIR}/lib/magic/sys -! :mkdir ${CADDIR}/man - - # Remakes the binary in 'lib', if needed. Used for recompiling on - # a remote machine. ---- 39,68 ---- - :status Makefile READ_ME - DIRS = include cadlib - CMD = echo Need to define your command via 'make cmd CMD=command' -! CADDIR = `./:findcad` - CADDIR_SUB = `../:findcad` - -+ all: everything -+ - everything: ${MODULES} .config - /bin/csh :makeall installhdrs ${MODULES} - /bin/csh :makeall install ${MODULES} - /bin/csh :makemains ${PROGRAMS} - - install: everything directories install-tech -! cd windows; ${MAKE} installcad CADDIR=${CADDIR_SUB} - cd doc; make installcad CADDIR=${CADDIR_SUB} -! /bin/csh :execmod "${MAKE} installcad CADDIR=${CADDIR}" ${PROGRAMS} - - install-tech: -! cd scmos; ${MAKE} install CADDIR=${CADDIR_SUB} - - directories: -! ./:mkdir ${CADDIR}/bin -! ./:mkdir ${CADDIR}/lib -! ./:mkdir ${CADDIR}/lib/magic -! ./:mkdir ${CADDIR}/lib/magic/sys -! ./:mkdir ${CADDIR}/man - - # Remakes the binary in 'lib', if needed. Used for recompiling on - # a remote machine. -*************** -*** 146,149 **** - echo ${MODULES} - - forceit: -! ---- 149,152 ---- - echo ${MODULES} - - forceit: -! diff --git a/cad/magic/files/patch-ab b/cad/magic/files/patch-ab deleted file mode 100644 index 23fe0c22ad11..000000000000 --- a/cad/magic/files/patch-ab +++ /dev/null @@ -1,38 +0,0 @@ -*** :makeall.ORIG Thu Sep 13 22:22:01 1990 ---- :makeall Mon Feb 13 11:34:57 1995 -*************** -*** 11,17 **** - echo ------- Doing $mod ------- - echo -n "pushd " - pushd $mod -! make -k $name - echo -n "popd " - popd - end ---- 11,17 ---- - echo ------- Doing $mod ------- - echo -n "pushd " - pushd $mod -! gmake -k $name - echo -n "popd " - popd - end -*** :makemains.ORIG Thu Sep 13 22:22:01 1990 ---- :makemains Mon Feb 13 11:35:29 1995 -*************** -*** 10,16 **** - echo ------- Doing program $mod ------- - echo -n "pushd " - pushd $mod -! make -k - echo -n "popd " - popd - end ---- 10,16 ---- - echo ------- Doing program $mod ------- - echo -n "pushd " - pushd $mod -! gmake -k - echo -n "popd " - popd - end diff --git a/cad/magic/pkg-comment b/cad/magic/pkg-comment deleted file mode 100644 index ae4c112f8c45..000000000000 --- a/cad/magic/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Magic CAD Tool 6.4.4 diff --git a/cad/magic/pkg-descr b/cad/magic/pkg-descr deleted file mode 100644 index e16b141fec0c..000000000000 --- a/cad/magic/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Magic 6.4.4 - -Magic is an interactive editor for VLSI layouts that runs under BSD. - -To run magic, 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 diff --git a/cad/magic/pkg-plist b/cad/magic/pkg-plist deleted file mode 100644 index 0df19acd8422..000000000000 --- a/cad/magic/pkg-plist +++ /dev/null @@ -1,51 +0,0 @@ -@cwd /usr/local -bin/magic -bin/ext2dlys -bin/ext2spice -bin/ext2sim -bin/fsleeper -bin/magicusage -bin/net2ir -bin/extcheck -bin/X11Helper -man/man8/prleak.8 -man/man1/ext2dlys.1 -man/man1/ext2spice.1 -man/man1/extcheck.1 -man/man1/magic.1 -man/man1/magicusage.1 -man/man1/grsunprog.1 -man/man1/ext2sim.1 -man/man1/net2ir.1 -man/man1/rsleeper.1 -man/man1/sim2spice.1 -man/man1/sleeper.1 -man/man1/fsleeper.1 -man/man5/cmap.5 -man/man5/displays.5 -man/man5/dlys.5 -man/man5/sim.5 -man/man5/dstyle.5 -man/man5/ext.5 -man/man5/glyphs.5 -man/man5/magic.5 -man/man5/net.5 -man/man3/mpack.3 -man/man3/dqueue.3 -man/man3/extflat.3 -man/man3/geometry.3 -man/man3/hash.3 -man/man3/heap.3 -man/man3/libmalloc.3 -man/man3/list.3 -man/man3/magicutils.3 -man/man3/malloc.3 -man/man3/path.3 -man/man3/runstats.3 -man/man3/set.3 -man/man3/show.3 -man/man3/stack.3 -man/man3/string.3 -lib/mpack.h -lib/libmpack.a -lib/magic diff --git a/cad/magic/scripts/post-configure b/cad/magic/scripts/post-configure deleted file mode 100644 index f7788e4811ea..000000000000 --- a/cad/magic/scripts/post-configure +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# -# $Id: post-configure,v 1.1.1.1 1994/12/18 21:12:09 swallace Exp $ -# - -cp ${CURDIR}/files/vfont.h ${WRKSRC}/include -echo echo $PREFIX > ${WRKSRC}/:findcad -chmod -R a+rX ${WRKSRC} -date > ${WRKSRC}/.config diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile deleted file mode 100644 index a173cfa33442..000000000000 --- a/cad/pcb/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# New ports collection makefile for: PCB -# Version required: 1.2 patchlevel 3 -# Date created: 19 October 1994 -# Whom: mr -# -# $Id: Makefile,v 1.9 1995/04/11 20:13:02 asami Exp $ -# - -DISTNAME= pcb-1.2.patch_03 -PKGNAME= pcb-1.2.3 -CATEGORIES+= cad -MASTER_SITES= ftp://pluto.medizin.uni-ulm.de/pub/pcb-1.2/ -EXTRACT_SUFX= .tar.gz - -EXEC_DEPENDS= gm4:${PORTSDIR}/devel/m4 - -MAKE_FLAGS= -f -MAKEFILE= makefile -USE_IMAKE= yes -NO_INSTALL_MANPAGES= yes - -.include <bsd.port.mk> diff --git a/cad/pcb/distinfo b/cad/pcb/distinfo deleted file mode 100644 index d2412dd603d1..000000000000 --- a/cad/pcb/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (pcb-1.2.patch_03.tar.gz) = f46db604cc35d538c6ef739418f4a70b diff --git a/cad/pcb/pkg-comment b/cad/pcb/pkg-comment deleted file mode 100644 index 8ffe16c3cca2..000000000000 --- a/cad/pcb/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -This is the Pcb Vers 1.2 diff --git a/cad/pcb/pkg-descr b/cad/pcb/pkg-descr deleted file mode 100644 index 246ff4a90421..000000000000 --- a/cad/pcb/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ - Pcb - X11 interactive printed circuit board layout system. - Pcb is a handy tool for the X Window Systemm build to - design printed circuit boards. All coordinate units are - 1/1000 inch. diff --git a/cad/pcb/pkg-plist b/cad/pcb/pkg-plist deleted file mode 100644 index 777b8fcfd48d..000000000000 --- a/cad/pcb/pkg-plist +++ /dev/null @@ -1,102 +0,0 @@ -@cd ${X11BASE} -@mode 755 -@owner bin -@group bin -bin/pcb -@mode 644 -@owner bin -@group bin -lib/X11/pcb/default_font -lib/X11/pcb/circuits -lib/X11/pcb/circuits/27512 -lib/X11/pcb/circuits/ti34010_plcc -lib/X11/pcb/circuits/scsi_connector_50pin -lib/X11/pcb/circuits/rtc62421 -lib/X11/pcb/circuits/r_tr_400 -lib/X11/pcb/circuits/r_sil_1x8 -lib/X11/pcb/circuits/r_sil_1x4 -lib/X11/pcb/circuits/r_400 -lib/X11/pcb/circuits/plcc84 -lib/X11/pcb/circuits/plcc68 -lib/X11/pcb/circuits/plcc52 -lib/X11/pcb/circuits/oscillator -lib/X11/pcb/circuits/mc68hc11_plcc -lib/X11/pcb/circuits/mc68882_pga -lib/X11/pcb/circuits/mc68030_pga -lib/X11/pcb/circuits/mc68008_plcc -lib/X11/pcb/circuits/mc68000_dil -lib/X11/pcb/circuits/max691 -lib/X11/pcb/circuits/max690 -lib/X11/pcb/circuits/max680 -lib/X11/pcb/circuits/max667 -lib/X11/pcb/circuits/max233 -lib/X11/pcb/circuits/max232 -lib/X11/pcb/circuits/max222 -lib/X11/pcb/circuits/jumper -lib/X11/pcb/circuits/dil8 -lib/X11/pcb/circuits/dil64 -lib/X11/pcb/circuits/dil40 -lib/X11/pcb/circuits/dil32 -lib/X11/pcb/circuits/dil28 -lib/X11/pcb/circuits/dil24wide -lib/X11/pcb/circuits/dil24small -lib/X11/pcb/circuits/dil20 -lib/X11/pcb/circuits/dil18 -lib/X11/pcb/circuits/dil16 -lib/X11/pcb/circuits/d_300 -lib/X11/pcb/circuits/crystal_300 -lib/X11/pcb/circuits/connector_50pin -lib/X11/pcb/circuits/connector_20pin -lib/X11/pcb/circuits/connector_10pin -lib/X11/pcb/circuits/c_uni_100_small -lib/X11/pcb/circuits/c_uni_100_med -lib/X11/pcb/circuits/c_bi_100_small -lib/X11/pcb/circuits/c_bi_100_med -lib/X11/pcb/circuits/bt484_plcc -lib/X11/pcb/circuits/82077_plcc -lib/X11/pcb/circuits/7485 -lib/X11/pcb/circuits/74688 -lib/X11/pcb/circuits/74645 -lib/X11/pcb/circuits/74592 -lib/X11/pcb/circuits/74574 -lib/X11/pcb/circuits/74573 -lib/X11/pcb/circuits/74541 -lib/X11/pcb/circuits/74538 -lib/X11/pcb/circuits/74519 -lib/X11/pcb/circuits/74373 -lib/X11/pcb/circuits/74367 -lib/X11/pcb/circuits/7432 -lib/X11/pcb/circuits/74292 -lib/X11/pcb/circuits/74245 -lib/X11/pcb/circuits/74244 -lib/X11/pcb/circuits/74157 -lib/X11/pcb/circuits/74148 -lib/X11/pcb/circuits/74145 -lib/X11/pcb/circuits/74139 -lib/X11/pcb/circuits/74138 -lib/X11/pcb/circuits/7410 -lib/X11/pcb/circuits/7407 -lib/X11/pcb/circuits/7404 -lib/X11/pcb/circuits/7401 -lib/X11/pcb/circuits/7400 -lib/X11/pcb/circuits/68681 -lib/X11/pcb/circuits/628128 -lib/X11/pcb/circuits/62256 -lib/X11/pcb/circuits/514100 -lib/X11/pcb/circuits/511000 -lib/X11/pcb/circuits/wd33c93a_dil -lib/X11/pcb/packages/dil14.pkg -lib/X11/pcb/packages/plcc68.pkg -lib/X11/pcb/packages/plcc52.pkg -lib/X11/pcb/packages/dil8.pkg -lib/X11/pcb/packages/dil64.pkg -lib/X11/pcb/packages/dil40.pkg -lib/X11/pcb/packages/dil32.pkg -lib/X11/pcb/packages/dil28.pkg -lib/X11/pcb/packages/dil24wide.pkg -lib/X11/pcb/packages/dil24small.pkg -lib/X11/pcb/packages/dil20.pkg -lib/X11/pcb/packages/dil18.pkg -lib/X11/pcb/packages/dil16.pkg -lib/X11/pcb/packages/plcc84.pkg -lib/X11/app-defaults/Pcb |