# $Id: Portfile,v 1.7 2003/08/05 09:29:35 jkh Exp $ PortSystem 1.0 name antiword version 0.33 categories textproc maintainers mij@opendarwin.org description Utility to read Microsoft Word (.doc) files homepage http://www.winfield.demon.nl/index.html platforms darwin long_description Antiword is a utility that can read binary files from \ Microsoft Word 6, 7, 97, and 2000. master_sites http://www.winfield.demon.nl/linux/ checksums md5 e2178402066bbb1f5b3a49d47316a1fc configure {} post-configure { reinplace "s|\/usr|${destroot}${prefix}|g" \ ${worksrcpath}/antiword.h reinplace "s|-pedantic||g" ${worksrcpath}/Makefile.Linux } patchfiles patch-Makefile.Linux destroot.target global_install destroot.args prefix=${destroot}${prefix} post-destroot { system "install -o root -m 755 -d \ ${destroot}${prefix}/man/man1" system "install -o root -m 644 \ ${worksrcpath}/Docs/antiword.1 \ ${destroot}${prefix}/man/man1" }