-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
42 lines (33 loc) · 1.17 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
PortSystem 1.0
PortGroup java 1.0
PortGroup app 1.0
name electric
version 9.07
categories graphics electronics science
maintainers nomaintainer
supported_archs noarch
license GPL-3+
description CAD system for VLSI circuit design
long_description \
Electric designs MOS and bipolar integrated circuits, printed-circuit \
boards, or any type of circuit you choose. It has many editing styles \
including layout, schematics, artwork, and architectural specifications.
platforms any
homepage https://www.staticfreesoft.com/
master_sites gnu
set jar electricBinary-${version}.jar
distfiles ${jar}
extract.only
checksums rmd160 aac9bda4c233bd11775a837b266097e34f535a3d \
sha256 3e383f673183265700e0c13a5f7b1d3348247465c3d8817c845d62e4c92d86ce
java.version 1.6+
java.fallback openjdk11
use_configure no
build {}
destroot {
set javadir ${prefix}/share/java
xinstall -d ${destroot}${javadir}
xinstall -m 644 ${distpath}/${jar} ${destroot}${javadir}/${name}.jar
xinstall ${filespath}/${name} ${destroot}${prefix}/bin
reinplace "s|@JAR@|${javadir}/${name}.jar|g" ${destroot}${prefix}/bin/${name}
}