Ticket #25027: Portfile

File Portfile, 1.1 KB (added by iamstuffed@…, 14 years ago)
Line 
1# $Id: Portfile 64241 2010-02-26 21:57:14Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                octave-communications
6version             1.0.10
7categories          math science
8platforms           darwin
9maintainers         nomaintainer
10description         Digital Communications, Error Correcting Codes (Channel Code), Source Code functions, Modulation and Galois Fields 
11long_description    ${description}
12
13homepage            http://octave.sourceforge.net/
14master_sites        sourceforge:octave
15
16distname            communications-$version
17
18checksums           md5     cae9f1e4ce2b1c2358e028abe947d168 \
19                    sha1    b51523d8b10f10fd5519bd218e9bf6d37f698a70 \
20                    rmd160  210f98df17a5501be36b8fe02535b4ea0da38aad
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/communications-(\\d+(\\.\\d+)*)\.tar\.gz