Changeset 4192


Ignore:
Timestamp:
Dec 10, 2003, 10:20:10 PM (16 years ago)
Author:
mww
Message:

-added missing 'platforms' key
-replaced distfiles with distname
-removed build.dir... as it now works w/o
-replaced 'system' cmd with 'file' equiv.
-added docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/rtf2html/Portfile

    r3977 r4192  
    1 # $Id: Portfile,v 1.2 2003/11/17 21:20:05 jkh Exp $
     1# $Id: Portfile,v 1.3 2003/12/10 22:20:10 mww Exp $
    22
    33PortSystem 1.0
     
    66categories      textproc
    77maintainers     mww@opendarwin.org
     8platforms       darwin freebsd
    89description     rtf to html converter
    910long_description        this is a tool for converting from the rtf-format to \
    1011                        the html format.
    11 homepage        http://www.45.free.net/~vitus/ice/catdoc/
    12 master_sites    ${homepage}../misc/
    13 distfiles       ${name}${extract.suffix}
     12homepage        http://www.45.free.net/~vitus/ice/catdoc
     13master_sites    ${homepage}/../misc/
     14distname        ${name}
    1415checksums       md5 823949bf2e1a7fc9d090fd2035b2e828
    15 configure       {}
    16 build.dir       ${workpath}/${name}
     16
     17use_configure   no
     18
    1719build.target
    1820
    19 post-build      { system "cd ${build.dir} && strip rtf2html" }
    20 
    21 destroot        { system "install -m 755 ${build.dir}/rtf2html \
    22                         ${destroot}${prefix}/bin/" }
     21destroot        {
     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}       
Note: See TracChangeset for help on using the changeset viewer.