diff options
author | stas <stas@FreeBSD.org> | 2006-09-30 09:41:07 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2006-09-30 09:41:07 +0000 |
commit | 4e8a2adb1015f01e5cefa4e8ad9fb8802fcaad5a (patch) | |
tree | bd6ca7b1f76738ebc1000ff7a14058239a6649d1 | |
parent | f692b18e681c2650823734093e4226184b878fb6 (diff) | |
download | FreeBSD-ports-4e8a2adb1015f01e5cefa4e8ad9fb8802fcaad5a.zip FreeBSD-ports-4e8a2adb1015f01e5cefa4e8ad9fb8802fcaad5a.tar.gz |
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
Author: Static Free Software & Sun Microsystems, Inc.
WWW: http://www.staticfreesoft.com/
PR: ports/100355
Submitted by: me (stas)
Approved by: sem (mentor)
-rw-r--r-- | cad/Makefile | 1 | ||||
-rw-r--r-- | cad/electric-ng/Makefile | 49 | ||||
-rw-r--r-- | cad/electric-ng/distinfo | 3 | ||||
-rw-r--r-- | cad/electric-ng/files/electric-ng.in | 18 | ||||
-rw-r--r-- | cad/electric-ng/pkg-descr | 31 |
5 files changed, 102 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile index 6620f28..89abf31 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -18,6 +18,7 @@ SUBDIR += dinotrace SUBDIR += dxf2fig SUBDIR += electric + SUBDIR += electric-ng SUBDIR += fandango SUBDIR += feappv SUBDIR += geda diff --git a/cad/electric-ng/Makefile b/cad/electric-ng/Makefile new file mode 100644 index 0000000..2b30d49 --- /dev/null +++ b/cad/electric-ng/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: electric-ng +# Date created: 2006-07-14 +# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> +# +# $MBSDlabs$ +# $FreeBSD$ +# + +PORTNAME= electric-ng +PORTVERSION= 8.03 +CATEGORIES= cad java +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= ${PORTNAME:S/-ng//} +DISTNAME= electric-${PORTVERSION} +EXTRACT_SUFX= .jar +EXTRACT_ONLY= + +MAINTAINER= stas@FreeBSD.org +COMMENT= A sophisticated VLSI design system + +USE_JAVA= yes +JAVA_VERSION= 1.3+ +NO_BUILD= yes +PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \ + bin/electric-ng +SUB_LIST+= LIBFILES="${LIBFILES}" \ + JARFILE="${JARFILE}" +SUB_FILES= electric-ng + +OPTIONS= BSH "Enable embedded java interpreter via BSH" off + +JARFILE= ${DISTNAME}${EXTRACT_SUFX} + +.include <bsd.port.pre.mk> + +.if exists(${JAVALIBDIR}/bsh.jar) +WITH_BSH= yes +.endif +.if defined(WITH_BSH) +RUN_DEPENDS+= ${JAVALIBDIR}/bsh.jar:${PORTSDIR}/java/bsh +LIBFILES+= bsh +.endif + +do-install: + @${MKDIR} ${JAVAJARDIR} + ${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${JAVAJARDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/electric-ng ${PREFIX}/bin + +.include <bsd.port.post.mk> diff --git a/cad/electric-ng/distinfo b/cad/electric-ng/distinfo new file mode 100644 index 0000000..9597a4e --- /dev/null +++ b/cad/electric-ng/distinfo @@ -0,0 +1,3 @@ +MD5 (electric-8.03.jar) = 2d03bbfde105c05584404be525b1daf7 +SHA256 (electric-8.03.jar) = 01dc30f73f31916002836f7195e950c23538345e9099763f2a63e130f40a1f02 +SIZE (electric-8.03.jar) = 10718231 diff --git a/cad/electric-ng/files/electric-ng.in b/cad/electric-ng/files/electric-ng.in new file mode 100644 index 0000000..2e8429b --- /dev/null +++ b/cad/electric-ng/files/electric-ng.in @@ -0,0 +1,18 @@ +#!/bin/csh +# +# $MBSDlabs$ +# $FreeBSD$ + +set JAVA = "%%LOCALBASE%%/bin/java" +set LIBFILES = "%%LIBFILES%%" +set JARPATH = "%%JAVALIBDIR%%" +setenv JAVA_VERSION "%%JAVA_VERSION%%" + +set CLASSPATH = "" +foreach i (${LIBFILES}) + set CLASSPATH = ${CLASSPATH}":"${JARPATH}/$i.jar +end + +set CLASSPATH = `echo ${CLASSPATH} | /usr/bin/sed -e "s#^:##"` + +exec "${JAVA}" -cp "${CLASSPATH}" -jar %%JAVAJARDIR%%/%%JARFILE%% diff --git a/cad/electric-ng/pkg-descr b/cad/electric-ng/pkg-descr new file mode 100644 index 0000000..fb859c5 --- /dev/null +++ b/cad/electric-ng/pkg-descr @@ -0,0 +1,31 @@ +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 + +Electric has these CAD operations: + - Design rule checking + - Electrical rule checking + - Simulation and simulation interface (many options) + - Generation (ROMs, PLAs, Pad Frames, etc.) + - Compaction + - Routing + - VHDL compilation + - Silicon compilation + - Network consistency checking (LVS) + - Logical Effort analysis + - Project Management + +Electric can display these types of design: + - MOS (many CMOS and nMOS variations) + - Bipolar and BiCMOS + - Schematics and printed circuits + - Digital filters, Temporal logic + - Artwork + +For real funcionality, one should consider installing +support simulation software such as cad/spice. + +Author: Static Free Software & Sun Microsystems, Inc. +WWW: http://www.staticfreesoft.com/ |