Skip to content
Permalink
Browse files

-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

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4192 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 10, 2003
1 parent 7e8f077 commit 49958b7ef76922dfc5ba31ed2bb78de4bd30b2bd
Showing with 14 additions and 10 deletions.
  1. +14 −10 textproc/rtf2html/Portfile
@@ -1,22 +1,26 @@
# $Id: Portfile,v 1.2 2003/11/17 21:20:05 jkh Exp $
# $Id: Portfile,v 1.3 2003/12/10 22:20:10 mww Exp $

PortSystem 1.0
name rtf2html
version 1.1beta
categories textproc
maintainers mww@opendarwin.org
platforms darwin freebsd
description rtf to html converter
long_description this is a tool for converting from the rtf-format to \
the html format.
homepage http://www.45.free.net/~vitus/ice/catdoc/
master_sites ${homepage}../misc/
distfiles ${name}${extract.suffix}
homepage http://www.45.free.net/~vitus/ice/catdoc
master_sites ${homepage}/../misc/
distname ${name}
checksums md5 823949bf2e1a7fc9d090fd2035b2e828
configure {}
build.dir ${workpath}/${name}
build.target

post-build { system "cd ${build.dir} && strip rtf2html" }
use_configure no

build.target

destroot { system "install -m 755 ${build.dir}/rtf2html \
${destroot}${prefix}/bin/" }
destroot {
file mkdir ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/rtf2html ${destroot}${prefix}/bin/
file copy ${worksrcpath}/README ${worksrcpath}/README.orig \
${destroot}${prefix}/share/doc/${name}
}

0 comments on commit 49958b7

Please sign in to comment.
You can’t perform that action at this time.