# $Id: Portfile 50971 2009-05-14 16:06:23Z and.damore@macports.org $ PortSystem 1.0 name octave-ocs version 0.0.2 categories math science platforms darwin maintainers and.damore alakazam description Package for solving DC and transient MNA equation stemming from electrical circuit long_description ${description} homepage http://octave.sourceforge.net/ master_sites sourceforge:octave distname ocs-0.0.2 checksums \ ocs-0.0.2.tar.gz \ md5 40bb553249483d7944415c071804704d \ sha1 ac81d9837a610b19cf3aef58cb1aecd9993a7f6b \ rmd160 e78caa952e53b246757118e3044d862870c65798 depends_lib-append port:octave post-destroot { move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name} } post-activate { system "octave --eval \"pkg rebuild\"" } livecheck.check regex livecheck.url http://octave.sourceforge.net/packages.html livecheck.regex http://downloads\.sourceforge\.net/octave/ocs-(\\d+(\\.\\d+)*)\.tar\.gz