# $Id: Portfile 53097 2009-06-29 14:03:12Z alakazam@macports.org $

PortSystem 1.0

name                octave-miscellaneous
version             1.0.9
categories          math science
platforms           darwin
maintainers         and.damore alakazam
description         Miscellaneous tools including waitbar, xml tools, etc  
long_description    ${description}

homepage            http://octave.sourceforge.net/
master_sites        sourceforge:octave

distname            miscellaneous-$version

checksums           md5     00064d672bffd831f9feb788fce4b75a \
                    sha1    acfa52deeb098e4601dd5b906495b2de975983bd \
                    rmd160  b2fc97f46de6f1031bbf34e74586d759ae3a8bb8

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/miscellaneous-(\\d+(\\.\\d+)*)\.tar\.gz
