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

Last change on this file since 57375 was 57375, checked in by ryandesign@…, 11 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: 999 bytes
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                octave-ad
6version             1.0.6
7categories          math science
8platforms           darwin
9maintainers         and.damore alakazam
10description         Automatic Forward Differentiation
11long_description    ${description}
12
13homepage            http://octave.sourceforge.net/
14master_sites        sourceforge:octave
15
16distname            ad-$version
17
18checksums           md5     9162813e37bad34c4277a30dd9d968da \
19                    sha1    71e32c0001c61dd62eec84f2d61e754dec5bcf2e \
20                    rmd160  1fdd5216d31035a03b5b6df6fe83fc0ebeca195c
21
22depends_lib-append  port:octave
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/ad-(\\d+(\\.\\d+)*)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.