source: trunk/dports/textproc/latex2rtf/Portfile @ 10852

Last change on this file since 10852 was 10852, checked in by jmpp, 15 years ago

Submitted by: jmpp@

Small update to correct long description.
No uprev needed.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.2 2005/02/06 22:47:35 jmpp Exp $
2
3PortSystem 1.0
4
5name       latex2rtf
6version    1.9.16a
7categories      textproc
8platforms       darwin
9maintainers     jmpp@opendarwin.org
10
11description     Translator program intended to translate a LaTeX document into RTF
12long_description        LaTeX2rtf is a translator program which is intended to translate a LaTeX \
13                        document (precisely: the text and a limited subset of LaTeX tags) into \
14                        the RTF format which can be imported by several textprocessors (including \
15                        Microsoft Word for Windows and Word for Macintosh).
16
17homepage        http://latex2rtf.sourceforge.net/
18master_sites    sourceforge
19checksums       md5 b1c766baeb645c954fb2454fc51c5f03
20
21patchfiles      patch-Makefile.diff
22
23depends_run     bin:tex:teTeX \
24                bin:gs:ghostscript \
25                bin:convert:ImageMagick \
26                bin:pnmtopng:netpbm
27
28configure       {
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
35post-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}
Note: See TracBrowser for help on using the repository browser.