# $Id: Portfile,v 1.11 2004/09/30 16:47:14 mij Exp $ PortSystem 1.0 name antiword version 0.35 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 f372214081853c8336e96cb9bede26af configure {} post-configure { reinplace "s|\/usr|${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 -m 644 ${worksrcpath}/Docs/antiword.1 ${destroot}${prefix}/share/man/man1" }