Ticket #14604: Portfile.diff
File Portfile.diff, 1.5 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 17 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name latex2rtf 6 version 1.9.1 6a6 version 1.9.19 7 7 categories tex 8 8 platforms darwin 9 9 maintainers jmpp openmaintainer … … 16 16 17 17 homepage http://latex2rtf.sourceforge.net/ 18 18 master_sites sourceforge 19 checksums md5 b1c766baeb645c954fb2454fc51c5f03 19 checksums md5 8a3b920d59f6b38736aa256c26374472 \ 20 sha1 e6a97b18d605326691a0094704678e5a9d42fbb7 \ 21 rmd160 00f5275153766ef3d81f4e5ef604d40de356ea14 20 22 21 23 patchfiles patch-Makefile.diff 22 24 23 depends_run bin:tex:te TeX\25 depends_run bin:tex:texlive \ 24 26 bin:gs:ghostscript \ 25 27 bin:convert:ImageMagick \ 26 28 bin:pnmtopng:netpbm 27 29 28 configure { 29 cd ${worksrcpath} 30 reinplace "s|/usr/local|${prefix}|g" Makefile 31 reinplace "s|/man/man1|/share/man/man1|g" Makefile 32 reinplace "s|/info|/share/info|" Makefile 33 } 34 35 post-destroot { 36 cd ${worksrcpath} 37 xinstall -m 755 -v scripts/latex2pn.bat ${destroot}${prefix}/bin 38 xinstall -m 755 -v scripts/latex2png_1 ${destroot}${prefix}/bin 39 xinstall -m 755 -v scripts/latex2png_2 ${destroot}${prefix}/bin 40 system "${build.cmd} install-info DESTDIR=${destroot}" 41 } 30 use_configure no 31 32 destroot.target install install-info 33 34 build.pre_args-append \ 35 PREFIX=${prefix} 36 37 destroot.pre_args-append \ 38 DESTDIR=${destroot} \ 39 PREFIX=${prefix} 40 41 test.run yes 42 43 livecheck.check sourceforge 44 livecheck.regex ${name}-unix (.*) released