source: trunk/dports/math/octave-optim/Portfile @ 57375

Last change on this file since 57375 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                octave-optim
6version             1.0.6
7categories          math science
8platforms           darwin
9maintainers         and.damore alakazam
10description         Unconstrained Non-linear Optimization toolkit. 
11long_description    ${description}
12
13homepage            http://octave.sourceforge.net/
14master_sites        sourceforge:octave
15
16distname            optim-$version
17
18checksums           md5     faa3db3739881bdb32a582e8d5a45fcd \
19                    sha1    81614205ab3ce821f94abfb623a14c7dd7bc0c3a \
20                    rmd160  336f4843c01afd649ab1b2e5ddcc887a18c75bc6
21
22depends_lib-append  port:octave port:octave-miscellaneous
23
24post-destroot {
25    move ${destroot}${prefix}/share/octave/octave_packages ${destroot}${prefix}/share/octave/octave_packages_${name}
26}
27
28post-activate {
29    system "octave --eval \"pkg rebuild\""
30}
31
32livecheck.type  regex
33livecheck.url   http://octave.sourceforge.net/packages.html
34livecheck.regex http://downloads\.sourceforge\.net/octave/optim-(\\d+(\\.\\d+)*)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.