pkgsrc/textproc/antiword/Makefile
ghen a527d84ce0 Convert all packages using REPLACE_INTERPRETER to the new variable names
without underscores (REPLACE.*.old, REPLACE.*.new, and REPLACE_FILES.*).

Also convert REPLACE.*.new= ${SH:Q} back to ${SH}, as it should not be quoted
here, if at all.

Ok with rillig.
2006-03-11 10:07:49 +00:00

31 lines
730 B
Makefile

# $NetBSD: Makefile,v 1.20 2006/03/11 10:07:50 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}
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"