Ticket #15173: Portfile

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