diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2002-03-13 01:39:18 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2002-03-13 01:39:18 +0000 |
commit | 231ebb4c4f56dd120702ae2b148980c3eb097a9c (patch) | |
tree | dcf190e73aba3e4357e69e15c46b977302c150c5 /cad/electric | |
parent | 5d8fc945611c10219d610f92247909a36326e454 (diff) | |
download | pkgsrc-231ebb4c4f56dd120702ae2b148980c3eb097a9c.tar.gz |
Import electric-6.05
-----
Electric is a sophisticated electrical CAD system that can handle
many forms of circuit design, including:
Custom IC layout (ASICs), Schematic drawing, Hardware description
language specifications, Electro-mechanical hybrid layout
Electric has these CAD operations:
Design rule checking (3 options), Electrical rule checking,
Simulation and simulation interface (12 options), Generation (3 options),
Compaction, Compensation, Routing (4 options), VHDL compilation,
Silicon compilation, Network consistency checking (LVS),
Logical Effort analysis, Project Management
Electric handles these types of design:
MOS (6 CMOS variations, 1 nMOS variation), Bipolar and BiCMOS,
Schematics and printed circuits, Digital filters, Temporal logic, Artwork
Electric handles these file formats:
CIF I/O, GDS I/O, EDIF I/O, DXF I/O, SDF Input,
SUE Input, VHDL I/O, Verilog Output, EAGLE, PADS, and ECAD Output,
PostScript, HPGL, and QuickDraw output
Diffstat (limited to 'cad/electric')
-rw-r--r-- | cad/electric/DESCR | 20 | ||||
-rw-r--r-- | cad/electric/Makefile | 27 | ||||
-rw-r--r-- | cad/electric/PLIST | 380 | ||||
-rw-r--r-- | cad/electric/distinfo | 6 | ||||
-rw-r--r-- | cad/electric/patches/patch-aa | 53 | ||||
-rw-r--r-- | cad/electric/patches/patch-ab | 48 |
6 files changed, 534 insertions, 0 deletions
diff --git a/cad/electric/DESCR b/cad/electric/DESCR new file mode 100644 index 00000000000..d9c70d052b2 --- /dev/null +++ b/cad/electric/DESCR @@ -0,0 +1,20 @@ +Electric is a sophisticated electrical CAD system that can handle +many forms of circuit design, including: + Custom IC layout (ASICs), Schematic drawing, Hardware description + language specifications, Electro-mechanical hybrid layout + +Electric has these CAD operations: + Design rule checking (3 options), Electrical rule checking, + Simulation and simulation interface (12 options), Generation (3 options), + Compaction, Compensation, Routing (4 options), VHDL compilation, + Silicon compilation, Network consistency checking (LVS), + Logical Effort analysis, Project Management + +Electric handles these types of design: + MOS (6 CMOS variations, 1 nMOS variation), Bipolar and BiCMOS, + Schematics and printed circuits, Digital filters, Temporal logic, Artwork + +Electric handles these file formats: + CIF I/O, GDS I/O, EDIF I/O, DXF I/O, SDF Input, + SUE Input, VHDL I/O, Verilog Output, EAGLE, PADS, and ECAD Output, + PostScript, HPGL, and QuickDraw output diff --git a/cad/electric/Makefile b/cad/electric/Makefile new file mode 100644 index 00000000000..2f1dde93b4d --- /dev/null +++ b/cad/electric/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/13 01:39:18 dmcmahill Exp $ +# + +DISTNAME= electric-6.05 +CATEGORIES= cad +MASTER_SITES= ${MASTER_SITE_GNU:=electric/} + +MAINTAINER= dmcmahill@netbsd.org +HOMEPAGE= http://www.gnu.org/software/electric/electric.html +COMMENT= Electrical CAD system + +USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES + +post-patch: + ${MV} ${WRKSRC}/src/include/config.h ${WRKSRC}/src/include/config.h.bak + ${SED} -e 's;@prefix@;${PREFIX};g' \ + -e 's;@localbase@;${LOCALBASE};g' \ + < ${WRKSRC}/src/include/config.h.bak \ + > ${WRKSRC}/src/include/config.h + +post-install: + cd ${WRKSRC} && ${ENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.html + +.include "../../mk/motif.buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/cad/electric/PLIST b/cad/electric/PLIST new file mode 100644 index 00000000000..6b4544d2fff --- /dev/null +++ b/cad/electric/PLIST @@ -0,0 +1,380 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/13 01:39:19 dmcmahill Exp $ +bin/electric +share/electric/.cadrc +share/electric/ALS.help +share/electric/AllDialogs.c +share/electric/CL.help +share/electric/EVE.help +share/electric/QUISC.help +share/electric/evemenus.mac +share/electric/evetutor.mac +share/electric/international/fr/LC_MESSAGES/electric.mo +share/electric/international/fr/LC_MESSAGES/license.txt +share/electric/international/messages.po +share/electric/pads4u.txt +share/electric/pla_mocmos.txt +share/electric/sclib.txt +share/electric/spiceparts.txt +share/electric/tsmc25.txt +share/electric/umc18.txt +share/doc/electric/html/images/chap01-01.png +share/doc/electric/html/images/chap01-02.png +share/doc/electric/html/images/chap01-03.png +share/doc/electric/html/images/chap01-04.png +share/doc/electric/html/images/chap01-05.png +share/doc/electric/html/images/chap01-06.png +share/doc/electric/html/images/chap01-07.png +share/doc/electric/html/images/chap01-08.png +share/doc/electric/html/images/chap01-09.png +share/doc/electric/html/images/chap01-10.png +share/doc/electric/html/images/chap01-11.png +share/doc/electric/html/images/chap01-12.png +share/doc/electric/html/images/chap01-13.png +share/doc/electric/html/images/chap01-14.png +share/doc/electric/html/images/chap01-15.png +share/doc/electric/html/images/chap01-16.png +share/doc/electric/html/images/chap01-17.png +share/doc/electric/html/images/chap01-18.png +share/doc/electric/html/images/chap01-19.png +share/doc/electric/html/images/chap01-20.png +share/doc/electric/html/images/chap01-21.png +share/doc/electric/html/images/chap01-22.png +share/doc/electric/html/images/chap01-23.png +share/doc/electric/html/images/chap01-24.png +share/doc/electric/html/images/chap01-25.png +share/doc/electric/html/images/chap02-01.png +share/doc/electric/html/images/chap02-02.png +share/doc/electric/html/images/chap02-03.png +share/doc/electric/html/images/chap02-04.png +share/doc/electric/html/images/chap02-05.png +share/doc/electric/html/images/chap02-06.png +share/doc/electric/html/images/chap02-07.png +share/doc/electric/html/images/chap02-08.png +share/doc/electric/html/images/chap02-09.png +share/doc/electric/html/images/chap02-10.png +share/doc/electric/html/images/chap02-11.png +share/doc/electric/html/images/chap02-12.png +share/doc/electric/html/images/chap03-01.png +share/doc/electric/html/images/chap03-02.png +share/doc/electric/html/images/chap03-03.png +share/doc/electric/html/images/chap03-04.png +share/doc/electric/html/images/chap03-05.png +share/doc/electric/html/images/chap03-06.png +share/doc/electric/html/images/chap03-07.png +share/doc/electric/html/images/chap03-08.png +share/doc/electric/html/images/chap03-09.png +share/doc/electric/html/images/chap03-10.png +share/doc/electric/html/images/chap03-11.png +share/doc/electric/html/images/chap03-12.png +share/doc/electric/html/images/chap03-14.png +share/doc/electric/html/images/chap03-15.png +share/doc/electric/html/images/chap03-16.png +share/doc/electric/html/images/chap03-17.png +share/doc/electric/html/images/chap03-18.png +share/doc/electric/html/images/chap03-19.png +share/doc/electric/html/images/chap03-20.png +share/doc/electric/html/images/chap04-01.png +share/doc/electric/html/images/chap04-02.png +share/doc/electric/html/images/chap04-03.png +share/doc/electric/html/images/chap04-04.png +share/doc/electric/html/images/chap04-05.png +share/doc/electric/html/images/chap04-06.png +share/doc/electric/html/images/chap04-07.png +share/doc/electric/html/images/chap04-08.png +share/doc/electric/html/images/chap04-09.png +share/doc/electric/html/images/chap04-10.png +share/doc/electric/html/images/chap04-11.png +share/doc/electric/html/images/chap04-12.png +share/doc/electric/html/images/chap04-13.png +share/doc/electric/html/images/chap04-14.png +share/doc/electric/html/images/chap05-01.png +share/doc/electric/html/images/chap05-02.png +share/doc/electric/html/images/chap05-03.png +share/doc/electric/html/images/chap05-04.png +share/doc/electric/html/images/chap05-05.png +share/doc/electric/html/images/chap05-06.png +share/doc/electric/html/images/chap06-01.png +share/doc/electric/html/images/chap06-02.png +share/doc/electric/html/images/chap06-03.png +share/doc/electric/html/images/chap06-04.png +share/doc/electric/html/images/chap06-06.png +share/doc/electric/html/images/chap06-07.png +share/doc/electric/html/images/chap06-08.png +share/doc/electric/html/images/chap06-09.png +share/doc/electric/html/images/chap06-10.png +share/doc/electric/html/images/chap06-11.png +share/doc/electric/html/images/chap06-12.png +share/doc/electric/html/images/chap06-13.png +share/doc/electric/html/images/chap06-14.png +share/doc/electric/html/images/chap06-15.png +share/doc/electric/html/images/chap06-16.png +share/doc/electric/html/images/chap06-17.png +share/doc/electric/html/images/chap06-18.png +share/doc/electric/html/images/chap06-19.png +share/doc/electric/html/images/chap06-20.png +share/doc/electric/html/images/chap07-01.png +share/doc/electric/html/images/chap07-02.png +share/doc/electric/html/images/chap07-03.png +share/doc/electric/html/images/chap07-04.png +share/doc/electric/html/images/chap07-05.png +share/doc/electric/html/images/chap07-06.png +share/doc/electric/html/images/chap07-07.png +share/doc/electric/html/images/chap07-08.png +share/doc/electric/html/images/chap07-09.png +share/doc/electric/html/images/chap07-10.png +share/doc/electric/html/images/chap07-11.png +share/doc/electric/html/images/chap07-12.png +share/doc/electric/html/images/chap07-13.png +share/doc/electric/html/images/chap07-14.png +share/doc/electric/html/images/chap07-15.png +share/doc/electric/html/images/chap07-16.png +share/doc/electric/html/images/chap07-17.png +share/doc/electric/html/images/chap07-18.png +share/doc/electric/html/images/chap07-19.png +share/doc/electric/html/images/chap07-20.png +share/doc/electric/html/images/chap07-21.png +share/doc/electric/html/images/chap08-01.png +share/doc/electric/html/images/chap08-02.png +share/doc/electric/html/images/chap08-03.png +share/doc/electric/html/images/chap08-04.png +share/doc/electric/html/images/chap08-05.png +share/doc/electric/html/images/chap08-06.png +share/doc/electric/html/images/chap08-07.png +share/doc/electric/html/images/chap08-08.png +share/doc/electric/html/images/chap08-09.png +share/doc/electric/html/images/chap08-10.png +share/doc/electric/html/images/chap08-11.png +share/doc/electric/html/images/chap08-12.png +share/doc/electric/html/images/chap08-13.png +share/doc/electric/html/images/chap08-14.png +share/doc/electric/html/images/chap08-15.png +share/doc/electric/html/images/chap08-16.png +share/doc/electric/html/images/chap08-17.png +share/doc/electric/html/images/chap08-18.png +share/doc/electric/html/images/chap08-19.png +share/doc/electric/html/images/chap08-20.png +share/doc/electric/html/images/chap08-21.png +share/doc/electric/html/images/chap08-22.png +share/doc/electric/html/images/chap08-23.png +share/doc/electric/html/images/chap09-01.png +share/doc/electric/html/images/chap09-02.png +share/doc/electric/html/images/chap09-03.png +share/doc/electric/html/images/chap09-04.png +share/doc/electric/html/images/chap09-05.png +share/doc/electric/html/images/chap09-06.png +share/doc/electric/html/images/chap09-07.png +share/doc/electric/html/images/chap09-08.png +share/doc/electric/html/images/chap09-09.png +share/doc/electric/html/images/chap09-10.png +share/doc/electric/html/images/chap09-11.png +share/doc/electric/html/images/chap09-12.png +share/doc/electric/html/images/chap09-13.png +share/doc/electric/html/images/chap09-14.png +share/doc/electric/html/images/chap09-15.png +share/doc/electric/html/images/chap09-16.png +share/doc/electric/html/images/chap09-17.png +share/doc/electric/html/images/chap09-18.png +share/doc/electric/html/images/chap09-19.png +share/doc/electric/html/images/chap09-20.png +share/doc/electric/html/images/chap09-21.png +share/doc/electric/html/images/chap09-22.png +share/doc/electric/html/images/chap09-23.png +share/doc/electric/html/images/chap10-01.png +share/doc/electric/html/images/chap10-02.png +share/doc/electric/html/images/chap10-03.png +share/doc/electric/html/images/chap10-04.png +share/doc/electric/html/images/chap10-05.png +share/doc/electric/html/images/chap10-06.png +share/doc/electric/html/images/chap11-01.png +share/doc/electric/html/images/chap11-02.png +share/doc/electric/html/images/chap11-03.png +share/doc/electric/html/images/chap11-04.png +share/doc/electric/html/images/chap11-05.png +share/doc/electric/html/images/chap11-06.png +share/doc/electric/html/images/chap12-01.png +share/doc/electric/html/images/chap12-02.png +share/doc/electric/html/images/chap12-03.png +share/doc/electric/html/images/chap12-04.png +share/doc/electric/html/images/chap12-05.png +share/doc/electric/html/images/chap12-06.png +share/doc/electric/html/images/chap12-07.png +share/doc/electric/html/images/chap12-08.png +share/doc/electric/html/images/chap12-09.png +share/doc/electric/html/images/chap12-10.png +share/doc/electric/html/images/chap12-11.png +share/doc/electric/html/images/chap12-12.png +share/doc/electric/html/images/chap12-13.png +share/doc/electric/html/images/chap12-14.png +share/doc/electric/html/images/chap12-15.png +share/doc/electric/html/images/chap12-16.png +share/doc/electric/html/images/chap12-17.png +share/doc/electric/html/images/chap12-18.png +share/doc/electric/html/images/chap12-19.png +share/doc/electric/html/images/chap12-20.png +share/doc/electric/html/images/chap12-21.png +share/doc/electric/html/images/chap12-22.png +share/doc/electric/html/images/chap12-23.png +share/doc/electric/html/images/chap12-24.png +share/doc/electric/html/images/chap12-25.png +share/doc/electric/html/images/chap12-26.png +share/doc/electric/html/images/chap12-27.png +share/doc/electric/html/images/chap12-28.png +share/doc/electric/html/images/chap12-29.png +share/doc/electric/html/images/chap12-30.png +share/doc/electric/html/images/chap12-31.png +share/doc/electric/html/images/chap12-32.png +share/doc/electric/html/images/chap12-33.png +share/doc/electric/html/images/chap12-34.png +share/doc/electric/html/images/chap12-35.png +share/doc/electric/html/images/chap12-36.png +share/doc/electric/html/images/chap12-37.png +share/doc/electric/html/images/chap12-38.png +share/doc/electric/html/images/chap12-39.png +share/doc/electric/html/images/chap12-40.png +share/doc/electric/html/images/chap12-41.png +share/doc/electric/html/images/chap12-42.png +share/doc/electric/html/images/chap12-43.png +share/doc/electric/html/images/chap12-44.png +share/doc/electric/html/images/chap12-45.png +share/doc/electric/html/images/chap12-46.png +share/doc/electric/html/images/chap12-47.png +share/doc/electric/html/images/chap12-48.png +share/doc/electric/html/images/chap12-49.png +share/doc/electric/html/images/chap12-50.png +share/doc/electric/html/images/chap12-51.png +share/doc/electric/html/images/chap12-52.png +share/doc/electric/html/images/chap12-53.png +share/doc/electric/html/images/chap12-54.png +share/doc/electric/html/images/chap12-55.png +share/doc/electric/html/images/chap12-56.png +share/doc/electric/html/images/chap12-57.png +share/doc/electric/html/images/chap12-58.png +share/doc/electric/html/images/iconbackarrow.png +share/doc/electric/html/images/iconcommand.png +share/doc/electric/html/images/iconcontarrow.png +share/doc/electric/html/images/iconforearrow.png +share/doc/electric/html/images/iconplug.png +share/doc/electric/html/images/iconwindows.png +share/doc/electric/html/images/indent.png +share/doc/electric/html/images/screenshotbusy.png +share/doc/electric/html/index.html +share/doc/electric/html/text/chap01-01.html +share/doc/electric/html/text/chap01-02.html +share/doc/electric/html/text/chap01-03.html +share/doc/electric/html/text/chap01-04.html +share/doc/electric/html/text/chap01-05.html +share/doc/electric/html/text/chap01-06.html +share/doc/electric/html/text/chap01-07.html +share/doc/electric/html/text/chap01-08.html +share/doc/electric/html/text/chap01-09.html +share/doc/electric/html/text/chap01-10.html +share/doc/electric/html/text/chap01-11.html +share/doc/electric/html/text/chap02-01.html +share/doc/electric/html/text/chap02-02.html +share/doc/electric/html/text/chap02-03.html +share/doc/electric/html/text/chap02-04.html +share/doc/electric/html/text/chap02-05.html +share/doc/electric/html/text/chap02-06.html +share/doc/electric/html/text/chap03-01.html +share/doc/electric/html/text/chap03-02.html +share/doc/electric/html/text/chap03-03.html +share/doc/electric/html/text/chap03-04.html +share/doc/electric/html/text/chap03-05.html +share/doc/electric/html/text/chap03-06.html +share/doc/electric/html/text/chap03-07.html +share/doc/electric/html/text/chap03-08.html +share/doc/electric/html/text/chap03-09.html +share/doc/electric/html/text/chap03-10.html +share/doc/electric/html/text/chap03-11.html +share/doc/electric/html/text/chap03-12.html +share/doc/electric/html/text/chap04-01.html +share/doc/electric/html/text/chap04-02.html +share/doc/electric/html/text/chap04-03.html +share/doc/electric/html/text/chap04-04.html +share/doc/electric/html/text/chap04-05.html +share/doc/electric/html/text/chap04-06.html +share/doc/electric/html/text/chap04-07.html +share/doc/electric/html/text/chap04-08.html +share/doc/electric/html/text/chap04-09.html +share/doc/electric/html/text/chap04-10.html +share/doc/electric/html/text/chap04-11.html +share/doc/electric/html/text/chap05-01.html +share/doc/electric/html/text/chap05-02.html +share/doc/electric/html/text/chap05-03.html +share/doc/electric/html/text/chap05-04.html +share/doc/electric/html/text/chap05-05.html +share/doc/electric/html/text/chap06-01.html +share/doc/electric/html/text/chap06-02.html +share/doc/electric/html/text/chap06-03.html +share/doc/electric/html/text/chap06-04.html +share/doc/electric/html/text/chap06-05.html +share/doc/electric/html/text/chap06-06.html +share/doc/electric/html/text/chap06-07.html +share/doc/electric/html/text/chap06-08.html +share/doc/electric/html/text/chap06-09.html +share/doc/electric/html/text/chap06-10.html +share/doc/electric/html/text/chap06-11.html +share/doc/electric/html/text/chap06-12.html +share/doc/electric/html/text/chap07-01.html +share/doc/electric/html/text/chap07-02.html +share/doc/electric/html/text/chap07-03.html +share/doc/electric/html/text/chap07-04.html +share/doc/electric/html/text/chap07-05.html +share/doc/electric/html/text/chap07-06.html +share/doc/electric/html/text/chap07-07.html +share/doc/electric/html/text/chap07-08.html +share/doc/electric/html/text/chap07-09.html +share/doc/electric/html/text/chap08-01.html +share/doc/electric/html/text/chap08-02.html +share/doc/electric/html/text/chap08-03.html +share/doc/electric/html/text/chap08-04.html +share/doc/electric/html/text/chap08-05.html +share/doc/electric/html/text/chap08-06.html +share/doc/electric/html/text/chap08-07.html +share/doc/electric/html/text/chap08-08.html +share/doc/electric/html/text/chap08-09.html +share/doc/electric/html/text/chap08-10.html +share/doc/electric/html/text/chap09-01.html +share/doc/electric/html/text/chap09-02.html +share/doc/electric/html/text/chap09-03.html +share/doc/electric/html/text/chap09-04.html +share/doc/electric/html/text/chap09-05.html +share/doc/electric/html/text/chap09-06.html +share/doc/electric/html/text/chap09-07.html +share/doc/electric/html/text/chap09-08.html +share/doc/electric/html/text/chap09-09.html +share/doc/electric/html/text/chap09-10.html +share/doc/electric/html/text/chap09-11.html +share/doc/electric/html/text/chap09-12.html +share/doc/electric/html/text/chap10-01.html +share/doc/electric/html/text/chap10-02.html +share/doc/electric/html/text/chap10-03.html +share/doc/electric/html/text/chap10-04.html +share/doc/electric/html/text/chap10-05.html +share/doc/electric/html/text/chap10-06.html +share/doc/electric/html/text/chap10-07.html +share/doc/electric/html/text/chap10-08.html +share/doc/electric/html/text/chap10-09.html +share/doc/electric/html/text/chap11-01.html +share/doc/electric/html/text/chap11-02.html +share/doc/electric/html/text/chap11-03.html +share/doc/electric/html/text/chap11-04.html +share/doc/electric/html/text/chap11-05.html +share/doc/electric/html/text/chap12-01.html +share/doc/electric/html/text/chap12-02.html +share/doc/electric/html/text/chap12-03.html +share/doc/electric/html/text/chap12-04.html +share/doc/electric/html/text/chap12-05.html +share/doc/electric/html/text/chap12-06.html +share/doc/electric/html/text/chap12-07.html +share/doc/electric/html/text/chap12-08.html +share/doc/electric/html/text/chap12-09.html +share/doc/electric/html/text/chap12-10.html +@dirrm share/doc/electric/html/text +@dirrm share/doc/electric/html/images +@dirrm share/doc/electric/html +@dirrm share/doc/electric +@dirrm share/electric/international/fr/LC_MESSAGES +@dirrm share/electric/international/fr +@dirrm share/electric/international +@dirrm share/electric diff --git a/cad/electric/distinfo b/cad/electric/distinfo new file mode 100644 index 00000000000..cc383474235 --- /dev/null +++ b/cad/electric/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/03/13 01:39:19 dmcmahill Exp $ + +SHA1 (electric-6.05.tar.gz) = b11eb18bcca5745a4f2f380ef563ce6abbd080a6 +Size (electric-6.05.tar.gz) = 3786505 bytes +SHA1 (patch-aa) = ba0a2a33dfec20a6f0c93f23f66072c83007eb96 +SHA1 (patch-ab) = b45e27726deddf517e6fa572691482cf0efe31e8 diff --git a/cad/electric/patches/patch-aa b/cad/electric/patches/patch-aa new file mode 100644 index 00000000000..182cb80e885 --- /dev/null +++ b/cad/electric/patches/patch-aa @@ -0,0 +1,53 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/03/13 01:39:20 dmcmahill Exp $ + +--- Makefile.in.orig Mon Feb 25 21:20:07 2002 ++++ Makefile.in Tue Mar 5 15:33:22 2002 +@@ -811,9 +811,9 @@ + BUILDDIR = obj + HDS = src/include +-CFLAGS = $(GRAPH_FLAGS) $(DEBUG) $(ARCHFLAGS) -I$(HDS) \ ++CFLAGS = @CPPFLAGS@ $(GRAPH_FLAGS) $(DEBUG) $(ARCHFLAGS) -I$(HDS) \ + $(LANGLISPCFLAGS) $(LANGTCLCFLAGS) $(LANGJAVACFLAGS) $(IRSIMCFLAGS) \ + $(CADENCECFLAGS) $(SUNCFLAGS) $(INTERNATIONALCFLAGS) +-XCFLAGS = $(CFLAGS) $(TIFFLAGS) $(XPOWER) $(TRUETYPECFLAGS) $(QTINC) +-LIBS = @X_PRE_LIBS@ @X_LIBS@ $(TRUETYPE_LIBS) $(GRAPH_LIBS) -lX11 -lm @X_EXTRA_LIBS@ $(LANGJAVALIBS) ++XCFLAGS = @CPPFLAGS@ $(CFLAGS) $(TIFFLAGS) $(XPOWER) $(TRUETYPECFLAGS) $(QTINC) ++LIBS = @LDFLAGS@ @X_PRE_LIBS@ @X_LIBS@ $(TRUETYPE_LIBS) $(GRAPH_LIBS) -lX11 -lm @X_EXTRA_LIBS@ $(LANGJAVALIBS) + FIND = find + INSTALL = install +@@ -931,25 +931,25 @@ + + install: all +- $(INSTALL) -d -m755 @bindir@ $(prefix)/lib/electric ++ $(INSTALL) -d -m755 @bindir@ $(prefix)/share/electric + $(INSTALL) -m755 $(PROGNAME) @bindir@/$(PROGNAME) +- $(INSTALL) -m644 lib/.cadrc $(prefix)/lib/electric ++ $(INSTALL) -m644 lib/.cadrc $(prefix)/share/electric + @(cd lib ; \ + for d in `$(FIND) . -type d -print`; do \ +- $(INSTALL) -d -m755 $(prefix)/lib/electric/$$d ; \ ++ $(INSTALL) -d -m755 $(prefix)/share/electric/$$d ; \ + (cd $$d ; \ +- for f in `$(FIND) . -type f -maxdepth 1 -print`; do \ +- install -m644 $$f $(prefix)/lib/electric/$$d/$$f ; \ ++ for f in `ls -1`; do \ ++ if [ -f $$f ] ; then install -m644 $$f $(prefix)/share/electric/$$d/$$f ; fi ; \ + done ) ; \ + done ) ; + + install.html: +- $(INSTALL) -d -m755 $(prefix)/doc/electric/html ++ $(INSTALL) -d -m755 $(prefix)/share/doc/electric/html + @(cd html/manual ; \ +- $(INSTALL) -m644 index.html $(prefix)/doc/electric/html ; \ ++ $(INSTALL) -m644 index.html $(prefix)/share/doc/electric/html ; \ + for d in `$(FIND) . -type d -print`; do \ +- $(INSTALL) -d -m755 $(prefix)/doc/electric/html/$$d ; \ ++ $(INSTALL) -d -m755 $(prefix)/share/doc/electric/html/$$d ; \ + (cd $$d ; \ +- for f in `$(FIND) . -type f -maxdepth 1 -print`; do \ +- install -m644 $$f $(prefix)/doc/electric/html/$$d/$$f ; \ ++ for f in `ls -1`; do \ ++ if [ -f $$f ]; then install -m644 $$f $(prefix)/share/doc/electric/html/$$d/$$f ; fi ;\ + done ) ; \ + done ) ; diff --git a/cad/electric/patches/patch-ab b/cad/electric/patches/patch-ab new file mode 100644 index 00000000000..f9899f2e23c --- /dev/null +++ b/cad/electric/patches/patch-ab @@ -0,0 +1,48 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/03/13 01:39:20 dmcmahill Exp $ + +- not all !sparcs are little endian. + +- don't assume /usr/local + +--- src/include/config.h.orig Tue Mar 5 14:22:45 2002 ++++ src/include/config.h Tue Mar 5 15:01:41 2002 +@@ -32,4 +32,6 @@ + #define _CONFIG_H_ 1 + ++#include <sys/endian.h> ++ + /********************* MACHINE DETERMINATION *********************/ + +@@ -112,5 +114,5 @@ + # include <X11/Intrinsic.h> + # endif +-# ifdef sparc ++# if BYTE_ORDER == BIG_ENDIAN + # define BYTES_SWAPPED 1 /* bytes are MSB first */ + # endif +@@ -120,15 +122,15 @@ + # define NONFILECH '?' /* character that cannot be in file name */ + # define CADRCFILENAME ".cadrc" /* CAD startup file */ +-# define LIBDIR "/usr/local/lib/electric/" /* location of library files */ +-# define DOCDIR "/usr/local/doc/electric/html/" /* location of HTML files */ +-# define ESIMLOC "/usr/local/bin/esim" +-# define RSIMLOC "/usr/local/bin/rsim" +-# define PRESIMLOC "/usr/local/bin/presim" +-# define RNLLOC "/usr/local/bin/rnl" +-# define SPICELOC "/usr/local/bin/spice" +-# define FASTHENRYLOC "/usr/local/bin/fasthenry" ++# define LIBDIR "@prefix@/share/electric/" /* location of library files */ ++# define DOCDIR "@prefix@/share/doc/electric/html/" /* location of HTML files */ ++# define ESIMLOC "@prefix@/bin/esim" ++# define RSIMLOC "@prefix@/bin/rsim" ++# define PRESIMLOC "@prefix@/bin/presim" ++# define RNLLOC "@prefix@/bin/rnl" ++# define SPICELOC "@localbase@/bin/spice3" ++# define FASTHENRYLOC "@localbase@/bin/fasthenry" + # define SORTLOC "/usr/bin/sort" +-# define FLATDRCLOC "/usr/local/bin/ffindshort" +-# define SFLATDRCLOC "/usr/local/bin/findshort" ++# define FLATDRCLOC "@prefix@/bin/ffindshort" ++# define SFLATDRCLOC "@prefix@/bin/findshort" + # ifdef sun + # define u_int64_t uint64_t |