Ticket #13713: rtf2html.patch

File rtf2html.patch, 1.3 KB (added by freespace+macforge@…, 16 years ago)

svn diff

  • Portfile

     
    22
    33PortSystem 1.0
    44name            rtf2html
    5 version         1.1beta
     5version         0.2.0
    66categories      textproc
    77maintainers     nomaintainer
    88platforms       darwin freebsd
    99description     rtf to html converter
    1010long_description        this is a tool for converting from the rtf-format to \
    1111                        the html format.
    12 homepage        http://www.45.free.net/~vitus/ice/catdoc
    13 master_sites    ${homepage}/../misc/
    14 distname        ${name}
    15 checksums       md5 823949bf2e1a7fc9d090fd2035b2e828
     12homepage        http://sourceforge.net/projects/rtf2html
     13master_sites    http://downloads.sourceforge.net/rtf2html/
     14checksums       md5 cc528c5b14d31be1afdb7971a763cf6d
    1615
    17 use_configure   no
    1816
    1917build.target
    2018
    21 destroot        {
    22         file mkdir ${destroot}${prefix}/share/doc/${name}
    23         file copy ${worksrcpath}/rtf2html ${destroot}${prefix}/bin/
    24         file copy ${worksrcpath}/README ${worksrcpath}/README.orig \
    25                 ${destroot}${prefix}/share/doc/${name}
    26 }       
     19destroot       {
     20       file mkdir ${destroot}${prefix}/share/doc/${name}
     21       file copy ${worksrcpath}/rtf2html ${destroot}${prefix}/bin/
     22       file copy ${worksrcpath}/README ${worksrcpath}/README.ru \
     23               ${destroot}${prefix}/share/doc/${name}
     24}