source: trunk/dports/graphics/electric/Portfile @ 65859

Last change on this file since 65859 was 65859, checked in by ryandesign@…, 10 years ago

electric: update to 8.11, which is now written in Java, which means pretty much everything we did before in the Portfile is now obsolete

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 65859 2010-04-02 06:57:44Z ryandesign@macports.org $
2
3PortSystem                      1.0
4name                            electric
5version                         8.11
6categories                      graphics electronics science
7maintainers                     nomaintainer
8description                     CAD system for VLSI circuit design
9long_description \
10        Electric designs MOS and bipolar integrated circuits, printed-circuit \
11        boards, or any type of circuit you choose. It has many editing styles \
12        including layout, schematics, artwork, and architectural specifications.
13
14platforms                       darwin
15
16homepage                        http://www.staticfreesoft.com/
17master_sites            gnu
18set jar                         electricBinary-${version}.jar
19distfiles                       ${jar}
20extract.only
21
22checksums                       md5     13323d7e5aa3329a4a736b9227a868bc \
23                                        sha1    f8936656700832bdbf7f8910f1920da9ac828be5 \
24                                        rmd160  ec97a0c87ec32c5c810828d5814ba176526a3aeb
25
26depends_run                     bin:java:kaffe
27
28use_configure           no
29
30build                           {}
31
32destroot {
33        set javadir ${prefix}/share/java
34        xinstall -d ${destroot}${javadir}
35        xinstall -m 644 ${distpath}/${jar} ${destroot}${javadir}/${name}.jar
36        xinstall ${filespath}/${name} ${destroot}${prefix}/bin
37        reinplace "s|@JAR@|${javadir}/${name}.jar|g" ${destroot}${prefix}/bin/${name}
38}
39
40platform darwin {
41        post-destroot {
42                set appname Electric
43                xinstall -d ${destroot}${applications_dir}/${appname}.app/Contents/MacOS
44                ln -s ${prefix}/bin/${name} ${destroot}${applications_dir}/${appname}.app/Contents/MacOS/${appname}
45        }
46}
Note: See TracBrowser for help on using the repository browser.