1 | PortSystem 1.0 |
---|
2 | name antiword |
---|
3 | version 0.35 |
---|
4 | revision 1 |
---|
5 | categories textproc |
---|
6 | maintainers mij@opendarwin.org |
---|
7 | description Utility to read Microsoft Word (.doc) files |
---|
8 | homepage http://www.winfield.demon.nl/index.html |
---|
9 | platforms darwin |
---|
10 | |
---|
11 | long_description Antiword is a utility that can read binary files from \ |
---|
12 | Microsoft Word 6, 7, 97, and 2000. |
---|
13 | |
---|
14 | master_sites http://www.winfield.demon.nl/linux/ |
---|
15 | |
---|
16 | checksums md5 f372214081853c8336e96cb9bede26af |
---|
17 | |
---|
18 | configure {} |
---|
19 | post-configure { reinplace "s|\/usr|${prefix}|g" \ |
---|
20 | ${worksrcpath}/antiword.h |
---|
21 | reinplace "s|-pedantic||g" ${worksrcpath}/Makefile.Linux } |
---|
22 | |
---|
23 | patchfiles patch-Makefile.Linux |
---|
24 | |
---|
25 | destroot.target global_install |
---|
26 | destroot.args prefix=${destroot}${prefix} |
---|
27 | |
---|
28 | post-destroot { system "install -m 644 ${worksrcpath}/Docs/antiword.1 ${destroot}${prefix}/share/man/man1" } |
---|