Permalink
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (42 sloc) 1.28 KB
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 {}
if {[variant_isset universal]} {
set archflags ${configure.universal_cflags}
} else {
set archflags ${configure.cc_archflags}
}
build.args CC="${configure.cc} ${archflags}"
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}
}