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

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

octave ports: fix livecheck.url; see #25035

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 68071 2010-05-26 05:41:22Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                octave-optim
6version             1.0.6
7categories          math science
8platforms           darwin
9maintainers         nomaintainer
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.php
34livecheck.regex http://downloads\.sourceforge\.net/octave/optim-(\\d+(\\.\\d+)*)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.