source: trunk/dports/tex/rtf2latex/Portfile

Last change on this file was 125984, checked in by mf2k@…, 3 years ago

add aop ctris cyrus-imapd cyrus-sasl2 fbg FreeSOLID gift GTorrentViewer latex2rtf logsurfer lurker mapm netwag netwib netwox rtf2latex rtf2latex2e tcl-tls toppler xmfract: Ports abandoned by jmpp. (#44809)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 125984 2014-10-01 14:38:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name       rtf2latex
6version    1.5
7categories      tex
8license    BSD Permissive
9platforms       darwin
10maintainers     nomaintainer
11
12description     Filter to convert RTF text into LaTeX code
13long_description        rtf2LaTeX is a filter built on Paul DuBois' RTF reader that converts \
14                        RTF (Microsoft's Rich Text Format) into LaTeX. rtf2LaTeX expends a \
15                        good deal of effort in an attempt to make the resulting LaTeX maintainable \
16                        and modifiable.
17
18homepage        http://www.ctan.org/tex-archive/support/rtf2latex
19master_sites    ${homepage}
20distname        rtf2LaTeX
21distfiles       ${distname}.${version}${extract.suffix}
22checksums       md5 90964f786d149d314a57511ed9ceaaee
23
24patchfiles      patch-Makefile.2LaTeX.diff patch-reader.c.diff
25
26pre-configure   { file rename ${worksrcpath}/Makefile.2LaTeX ${worksrcpath}/Makefile }
27configure       {
28                reinplace "s|-DSYSV||g" ${worksrcpath}/Makefile
29                reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
30                reinplace "s|/man/man1|/share/man/man1|g" ${worksrcpath}/Makefile
31}
32
33build.target    {}
34
35post-destroot   {
36                xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
37                foreach f [glob -directory ${worksrcpath} -type f interna.*] {
38                        xinstall -m 644 -v $f ${destroot}${prefix}/share/doc/${name}
39                }
40}
Note: See TracBrowser for help on using the repository browser.