summaryrefslogtreecommitdiff
path: root/cad/electric-ng/Makefile
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2006-09-30 09:41:07 +0000
committerStanislav Sedov <stas@FreeBSD.org>2006-09-30 09:41:07 +0000
commita99bfaeb5370029bc1908aff320792b5bf9ed2e0 (patch)
treeae09a0563094659f5f2f3e2d98e324879ee6e0b7 /cad/electric-ng/Makefile
parent- Document multiple vulnerabilities in tikiwiki (diff)
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)
Notes
Notes: svn path=/head/; revision=174152
Diffstat (limited to '')
-rw-r--r--cad/electric-ng/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/cad/electric-ng/Makefile b/cad/electric-ng/Makefile
new file mode 100644
index 000000000000..2b30d4977eb4
--- /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>