1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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)
This commit is contained in:
Stanislav Sedov 2006-09-30 09:41:07 +00:00
parent 1b39ccc97b
commit a99bfaeb53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174152
5 changed files with 102 additions and 0 deletions

View File

@ -18,6 +18,7 @@
SUBDIR += dinotrace
SUBDIR += dxf2fig
SUBDIR += electric
SUBDIR += electric-ng
SUBDIR += fandango
SUBDIR += feappv
SUBDIR += geda

49
cad/electric-ng/Makefile Normal file
View File

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

3
cad/electric-ng/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (electric-8.03.jar) = 2d03bbfde105c05584404be525b1daf7
SHA256 (electric-8.03.jar) = 01dc30f73f31916002836f7195e950c23538345e9099763f2a63e130f40a1f02
SIZE (electric-8.03.jar) = 10718231

View File

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

31
cad/electric-ng/pkg-descr Normal file
View File

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