summaryrefslogtreecommitdiff
path: root/textproc/antiword/Makefile
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2001-10-17 08:43:25 +0000
committerlukem <lukem@pkgsrc.org>2001-10-17 08:43:25 +0000
commit1eca0af4d7d531d141a6bf526341138ae66b0390 (patch)
tree6ff4f7dc5e7e8bbb079f74235bc002e10d34397f /textproc/antiword/Makefile
parentb8b916983c3869d9cf4f5e6e2296aa86523c43ad (diff)
downloadpkgsrc-1eca0af4d7d531d141a6bf526341138ae66b0390.tar.gz
changes to allow global configuration to work correctly, eliminating
the need to setup per-user ~/.antiword/ directories: - install resources (fontnames, etc) into ${PREFIX}/share/antiword instead of ${PREFIX}/share/examples/antiword - modify GLOBAL_ANTIWORD_DIR from /opt/antiword/share to ${PREFIX}/share/antiword
Diffstat (limited to 'textproc/antiword/Makefile')
-rw-r--r--textproc/antiword/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile
index 4399f8b36c1..cc6768b056d 100644
--- a/textproc/antiword/Makefile
+++ b/textproc/antiword/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/10/17 06:22:38 rh Exp $
+# $NetBSD: Makefile,v 1.6 2001/10/17 08:43:25 lukem Exp $
#
DISTNAME= antiword-0.32
@@ -10,4 +10,10 @@ MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.winfield.demon.nl/index.html
COMMENT= free converter MS Word to text and Postscript converter
+post-patch:
+ cd ${WRKSRC} ; \
+ ${MV} antiword.h antiword.h.orig ; \
+ ${SED} -e "s|@@ANTIWORD_DIR@@|${PREFIX}/share/antiword|g" \
+ antiword.h.orig > antiword.h
+
.include "../../mk/bsd.pkg.mk"