1 | # $Id: Portfile 20457 2006-11-03 15:12:00Z blair@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name magic-exttools |
---|
5 | version 7.5.134 |
---|
6 | |
---|
7 | categories science |
---|
8 | maintainers waqar@macports.org |
---|
9 | description extracted files conversion tools |
---|
10 | |
---|
11 | long_description \ |
---|
12 | Tools to convert extracted files from Magic to IRSIM or SPICE. |
---|
13 | |
---|
14 | platforms darwin |
---|
15 | |
---|
16 | homepage http://opencircuitdesign.com/magic |
---|
17 | |
---|
18 | master_sites http://opencircuitdesign.com/magic/archive |
---|
19 | |
---|
20 | dist_subdir magic |
---|
21 | worksrcdir magic-${version} |
---|
22 | |
---|
23 | extract.suffix .tgz |
---|
24 | |
---|
25 | distfiles magic-${version}${extract.suffix} |
---|
26 | |
---|
27 | checksums \ |
---|
28 | magic-7.5.134.tgz \ |
---|
29 | md5 6cdb6a54d26f861ebcfe0b53128ab9ab \ |
---|
30 | sha1 bc277b5a85a2c57eaeda0bb44c354069136b6fe1 \ |
---|
31 | rmd160 f0511f96c0e64ac3d5e74d1690d015636a96c4c2 |
---|
32 | |
---|
33 | configure.args --with-interpreter=no --without-x |
---|
34 | |
---|
35 | post-configure { |
---|
36 | system "cd ${worksrcpath}; sed '/PROGRAMS /s/ magic//' Makefile > Makefile.new && mv Makefile.new Makefile" |
---|
37 | } |
---|
38 | |
---|
39 | destroot { |
---|
40 | xinstall -d -m 755 ${destroot}${prefix}/bin |
---|
41 | xinstall -m 755 ${worksrcpath}/ext2sim/ext2sim \ |
---|
42 | ${worksrcpath}/ext2sim/sim2spi \ |
---|
43 | ${worksrcpath}/ext2spice/ext2spice \ |
---|
44 | ${destroot}${prefix}/bin |
---|
45 | } |
---|