Ignore:
Timestamp:
Apr 14, 2009, 7:58:36 AM (11 years ago)
Author:
blb@…
Message:

Multiple ports - remove use of cd (ticket #12914) in some ports where it is
simple; not waiting for maintainers as cd doesn't work with current MacPorts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/DoCon/Portfile

    r37662 r49645  
    3737
    3838                  post-destroot {
    39                         cd ${workpath}/${shortname}
    40                         system "latex manual.lat"
    41                         system "latex manual.lat"
    42                         system "latex manual.lat"
    43                         system "dvipdf manual"
    44                         file mkdir ${destroot}${prefix}/share/${shortname}-${version}
    45                         file copy manual.pdf ${destroot}${prefix}/share/${shortname}-${version}/
     39                        system "cd ${workpath}/${shortname} && latex manual.lat"
     40                        system "cd ${workpath}/${shortname} && dvipdf manual"
     41                        file mkdir ${destroot}${prefix}/share/doc/${shortname}-${version}
     42                        file copy ${workpath}/${shortname}/manual.pdf ${destroot}${prefix}/share/doc/${shortname}-${version}/
    4643                  }
    4744                }
Note: See TracChangeset for help on using the changeset viewer.