source: trunk/dports/textproc/antiword/Portfile @ 3812

Last change on this file since 3812 was 3812, checked in by mij, 17 years ago

Install the man pages in the right place.

Bug: 1061
Submitted by: Simon Cotsworth <simon@…>
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 857 bytes
Line 
1# $Id: Portfile,v 1.9 2003/10/25 21:50:32 mij Exp $
2
3PortSystem 1.0
4name            antiword
5version         0.33
6categories      textproc
7maintainers     mij@opendarwin.org
8description     Utility to read Microsoft Word (.doc) files
9homepage        http://www.winfield.demon.nl/index.html
10platforms       darwin
11
12long_description Antiword is a utility that can read binary files from \
13                 Microsoft Word 6, 7, 97, and 2000.
14
15master_sites    http://www.winfield.demon.nl/linux/
16
17checksums       md5 e2178402066bbb1f5b3a49d47316a1fc
18
19configure       {}
20post-configure  { reinplace "s|\/usr|${prefix}|g" \
21                    ${worksrcpath}/antiword.h
22                  reinplace "s|-pedantic||g" ${worksrcpath}/Makefile.Linux }
23
24patchfiles      patch-Makefile.Linux
25
26destroot.target global_install
27destroot.args   prefix=${destroot}${prefix}
28
29post-destroot   { system "install -m 644 ${worksrcpath}/Docs/antiword.1 ${destroot}${prefix}/share/man/man1" }
Note: See TracBrowser for help on using the repository browser.