# $Id: Portfile 36451 2008-05-02 18:28:01Z ryandesign@macports.org $ PortSystem 1.0 name magic-exttools version 7.5.134 categories science maintainers nomaintainer description extracted files conversion tools long_description \ Tools to convert extracted files from Magic to IRSIM or SPICE. platforms darwin homepage http://opencircuitdesign.com/magic master_sites http://opencircuitdesign.com/magic/archive dist_subdir magic worksrcdir magic-${version} extract.suffix .tgz distfiles magic-${version}${extract.suffix} checksums \ magic-7.5.134.tgz \ md5 6cdb6a54d26f861ebcfe0b53128ab9ab \ sha1 bc277b5a85a2c57eaeda0bb44c354069136b6fe1 \ rmd160 f0511f96c0e64ac3d5e74d1690d015636a96c4c2 configure.args --with-interpreter=no --without-x post-configure { system "cd ${worksrcpath}; sed '/PROGRAMS /s/ magic//' Makefile > Makefile.new && mv Makefile.new Makefile" } destroot { xinstall -d -m 755 ${destroot}${prefix}/bin xinstall -m 755 ${worksrcpath}/ext2sim/ext2sim \ ${worksrcpath}/ext2sim/sim2spi \ ${worksrcpath}/ext2spice/ext2spice \ ${destroot}${prefix}/bin }