2008-06-12 04:14:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2008/06/12 02:14:47 joerg Exp $
|
2000-07-05 15:53:49 +02:00
|
|
|
#
|
|
|
|
|
2005-11-15 00:04:13 +01:00
|
|
|
DISTNAME= antiword-0.37
|
2006-01-23 15:23:56 +01:00
|
|
|
PKGREVISION= 1
|
2003-03-20 03:06:41 +01:00
|
|
|
CATEGORIES= textproc converters print
|
2000-07-05 15:53:49 +02:00
|
|
|
MASTER_SITES= http://www.winfield.demon.nl/linux/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= rh@NetBSD.org
|
2000-07-05 15:53:49 +02:00
|
|
|
HOMEPAGE= http://www.winfield.demon.nl/index.html
|
2003-07-21 19:27:24 +02:00
|
|
|
COMMENT= Free MS Word to text and PostScript converter
|
2000-07-05 15:53:49 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-01-09 21:09:35 +01:00
|
|
|
CONFLICTS= siag<3.6.1
|
2003-03-05 15:29:42 +01:00
|
|
|
|
2006-01-23 15:23:56 +01:00
|
|
|
USE_TOOLS+= mktemp:run
|
|
|
|
|
2005-09-08 12:37:15 +02:00
|
|
|
CFLAGS.SunOS+= -D__STDC_ISO_10646__
|
|
|
|
|
2006-03-09 15:50:31 +01:00
|
|
|
REPLACE_INTERPRETER+= bash
|
2006-03-11 11:07:49 +01:00
|
|
|
REPLACE.bash.old= /bin/bash
|
|
|
|
REPLACE.bash.new= ${SH}
|
|
|
|
REPLACE_FILES.bash= kantiword
|
2006-03-09 15:50:31 +01:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
|
2001-10-17 10:43:25 +02:00
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC} ; \
|
2002-08-21 05:39:42 +02:00
|
|
|
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
|
2001-10-17 10:43:25 +02:00
|
|
|
|
2000-07-05 15:53:49 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|