# $Id: Portfile 50971 2009-05-14 16:06:23Z and.damore@macports.org $ PortSystem 1.0 name octave-physicalconstants version 0.1.6 categories math science platforms darwin maintainers and.damore alakazam description Physical Constants from Atomic & Molecular Physics, taken from NIST database long_description ${description} homepage http://octave.sourceforge.net/ master_sites sourceforge:octave distname physicalconstants-0.1.6 checksums \ physicalconstants-0.1.6.tar.gz \ md5 9c85017e1a76445d01ee2dff84daf3af \ sha1 4f5fb293245801853023e8578bb3794b0bb74e21 \ rmd160 d0d1804b5536d3e3f235c728e4ef901b432ae301 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/physicalconstants-(\\d+(\\.\\d+)*)\.tar\.gz