Ticket #16627: rtf2latex2e.diff
File rtf2latex2e.diff, 1.2 KB (added by blb@…, 16 years ago) |
---|
-
Portfile
9 9 maintainers jmpp openmaintainer 10 10 11 11 platform powerpc { configure.args --host=powerpc } 12 platform i386 { configure.args --host=i386 } 12 13 13 14 description Filter to convert rtf files into LaTeX2e code. 14 15 long_description rtf2LaTeX2e is an RTF filter that generates LaTeX2e specific code, based \ … … 34 35 post-configure { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile } 35 36 36 37 post-destroot { 37 file delete ${destroot}${prefix}/bin/${name} 38 file delete -force ${destroot}${prefix}/share/${name}/Unix 39 file delete -force ${destroot}${prefix}/share/${name}/src 40 cd ${destroot}${prefix} 41 system "ln -s ../share/${name}/${name}.bin bin/${name}" 38 delete ${destroot}${prefix}/bin/${name} 39 delete ${destroot}${prefix}/share/${name}/Unix 40 delete ${destroot}${prefix}/share/${name}/src 41 system "cd ${destroot}${prefix} && ln -s ../share/${name}/${name}.bin bin/${name}" 42 42 xinstall -d -m 755 ${destroot}${prefix}/share/doc 43 system " ln -s ../${name}/doc share/doc/${name}"43 system "cd ${destroot}${prefix} && ln -s ../${name}/doc share/doc/${name}" 44 44 }