# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $ PortSystem 1.0 name octave-optim version 1.0.6 categories math science platforms darwin maintainers and.damore alakazam description Unconstrained Non-linear Optimization toolkit. long_description ${description} homepage http://octave.sourceforge.net/ master_sites sourceforge:octave distname optim-$version checksums md5 faa3db3739881bdb32a582e8d5a45fcd \ sha1 81614205ab3ce821f94abfb623a14c7dd7bc0c3a \ rmd160 336f4843c01afd649ab1b2e5ddcc887a18c75bc6 depends_lib-append port:octave port:octave-miscellaneous post-destroot { move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name} } post-activate { system "octave --eval \"pkg rebuild\"" } livecheck.type regex livecheck.url http://octave.sourceforge.net/packages.html livecheck.regex http://downloads\.sourceforge\.net/octave/optim-(\\d+(\\.\\d+)*)\.tar\.gz