source: trunk/dports/science/magic-exttools/Portfile

Last change on this file was 36451, checked in by ryandesign@…, 9 years ago

All ports: set svn:eol-style to native per current guidelines

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 36451 2008-05-02 18:28:01Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            magic-exttools
6version         7.5.134
7
8categories      science
9maintainers     nomaintainer
10description     extracted files conversion tools
11
12long_description        \
13        Tools to convert extracted files from Magic to IRSIM or SPICE.
14       
15platforms       darwin
16
17homepage        http://opencircuitdesign.com/magic
18
19master_sites    http://opencircuitdesign.com/magic/archive
20
21dist_subdir             magic
22worksrcdir              magic-${version}
23
24extract.suffix  .tgz
25
26distfiles               magic-${version}${extract.suffix}
27
28checksums       \
29                        magic-7.5.134.tgz \
30                                md5  6cdb6a54d26f861ebcfe0b53128ab9ab \
31                                sha1  bc277b5a85a2c57eaeda0bb44c354069136b6fe1 \
32                                rmd160  f0511f96c0e64ac3d5e74d1690d015636a96c4c2
33
34configure.args --with-interpreter=no --without-x
35
36post-configure {
37                system  "cd ${worksrcpath}; sed '/PROGRAMS /s/ magic//' Makefile > Makefile.new && mv Makefile.new Makefile"
38}
39
40destroot {
41    xinstall -d -m 755 ${destroot}${prefix}/bin
42    xinstall -m 755     ${worksrcpath}/ext2sim/ext2sim \
43                                ${worksrcpath}/ext2sim/sim2spi \
44                                ${worksrcpath}/ext2spice/ext2spice \
45                                ${destroot}${prefix}/bin
46}
Note: See TracBrowser for help on using the repository browser.