mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name antiword
|
|
version 0.37
|
|
revision 1
|
|
categories textproc
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
|
|
description Utility to read Microsoft Word (.doc) files
|
|
|
|
long_description Antiword is a utility that can read binary files from \
|
|
Microsoft Word 6, 7, 97, and 2000.
|
|
|
|
homepage http://www.winfield.demon.nl/index.html
|
|
master_sites http://www.winfield.demon.nl/linux/
|
|
|
|
checksums md5 f868e2a269edcbc06bf77e89a55898d1
|
|
|
|
patchfiles patch-Makefile.Linux
|
|
|
|
post-patch {
|
|
reinplace "s|/usr|${prefix}|g" ${worksrcpath}/antiword.h
|
|
}
|
|
|
|
use_configure no
|
|
|
|
variant universal {}
|
|
|
|
build.args CC="${configure.cc} [get_canonical_archflags cc]"
|
|
|
|
destroot.args prefix=${destroot}${prefix}
|
|
|
|
post-destroot {
|
|
set docdir ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -d ${docdir}
|
|
xinstall -m 644 -W ${worksrcpath}/Docs \
|
|
ChangeLog \
|
|
COPYING \
|
|
Emacs \
|
|
Exmh \
|
|
FAQ \
|
|
History \
|
|
Mutt \
|
|
QandA \
|
|
ReadMe \
|
|
${docdir}
|
|
}
|