blob: 2d3eaa6dd38bcb5e429c14ccc9557647f03c205e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.19 2006/03/09 14:50:31 ghen Exp $
#
DISTNAME= antiword-0.37
PKGREVISION= 1
CATEGORIES= textproc converters print
MASTER_SITES= http://www.winfield.demon.nl/linux/
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.winfield.demon.nl/index.html
COMMENT= Free MS Word to text and PostScript converter
CONFLICTS= siag-[0-9]*
USE_TOOLS+= mktemp:run
CFLAGS.SunOS+= -D__STDC_ISO_10646__
REPLACE_INTERPRETER+= bash
_REPLACE.bash.old= /bin/bash
_REPLACE.bash.new= ${SH:Q}
_REPLACE_FILES.bash= kantiword
post-patch:
cd ${WRKSRC} ; \
for pf in antiword.h Docs/antiword.1 ; do \
${MV} $${pf} $${pf}.old ; \
${SED} -e "s|/usr/share|${PREFIX}/share|g" $${pf}.old > $${pf} ; \
done
.include "../../mk/bsd.pkg.mk"
|