Ticket #32582: reduce-algebra-wrapper.diff

File reduce-algebra-wrapper.diff, 1.3 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

proposed patch

  • files/wrapper.in

     
     1#!/bin/sh
     2exec @PREFIX@/libexec/reduce-algebra/bin/redpsl "$@"
  • Portfile

    Property changes on: files/wrapper.in
    ___________________________________________________________________
    Added: svn:executable
       + *
    Added: svn:eol-style
       + native
    
     
    66name                reduce-algebra
    77svn.revision        1530
    88version             3.8.0-r${svn.revision}
     9revision            1
    910categories          math
    1011platforms           darwin
    1112license             BSD
     
    5556    eval copy [glob ${worksrcpath}/scripts/*] ${destroot}${dest_dir}/scripts
    5657
    5758    xinstall ${worksrcpath}/config.guess ${destroot}${dest_dir}
     59
     60    xinstall ${filespath}/wrapper.in ${destroot}${prefix}/bin/redpsl
     61    reinplace "s|@PREFIX@|${prefix}|g" ${destroot}${prefix}/bin/redpsl
    5862}
    5963
    6064variant html description {Install documentation in HTML format} {
     
    8690}
    8791
    8892livecheck.type      none
    89 
    90 notes "
    91 To use the PSL version of Reduce, add this directory to your PATH environment variable:
    92     ${prefix}/libexec/reduce-algebra/bin/
    93 "