Ticket #2130: Portfile

File Portfile, 815 bytes (added by ultrix@…, 20 years ago)

Portfile

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