20 | | homepage http://sourceforge.net/projects/rtf2latex2e/ |
21 | | master_sites sourceforge |
22 | | distfiles ${name}Unix1${extract.suffix} |
23 | | distname ${name}Unix-${version} |
24 | | checksums md5 805a064142f50efa5a49f4f1bf6d6b79 |
| 17 | homepage http://rtf2latex2e.sourceforge.net/ |
| 18 | master_sites sourceforge:rtf2latex2e/rtf2latex2e-unix/2-0 |
| 19 | distfiles ${name}-${version}.zip |
| 20 | use_zip yes |
| 21 | use_configure no |
| 22 | destroot.destdir PREFIX=${destroot}${prefix} |
| 23 | distname ${name}-${version} |
| 24 | checksums md5 b98f0199ab6e1d0f51b6f52262f22361 \ |
| 25 | sha1 cdef15299affe8bd5c52414ce9b8dde0e114ca3c \ |
| 26 | rmd160 63e7bd2aa3b4d3ef2e0da3d211bed6daf4c2a8bd |
27 | | |
28 | | worksrcdir ${distname}/Unix |
29 | | |
30 | | patchfiles patch-Makefile.in.diff \ |
31 | | patch-rtf2LaTeX2e.h.diff \ |
32 | | patch-rtf2LaTeX2e-driver.c.diff \ |
33 | | patch-LaTeX2e-writer.c.diff |
34 | | |
35 | | post-configure { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile } |
36 | | |
37 | | post-destroot { |
38 | | file delete ${destroot}${prefix}/bin/${name} |
39 | | file delete -force ${destroot}${prefix}/share/${name}/Unix |
40 | | file delete -force ${destroot}${prefix}/share/${name}/src |
41 | | system "cd ${destroot}${prefix} && ln -s ../share/${name}/${name}.bin bin/${name}" |
42 | | xinstall -d -m 755 ${destroot}${prefix}/share/doc |
43 | | system "cd ${destroot}${prefix} && ln -s ../${name}/doc share/doc/${name}" |
44 | | } |