aboutsummaryrefslogtreecommitdiff
path: root/textproc/antiword
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2014-08-28 19:59:15 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2014-08-28 19:59:15 +0000
commit3cab5014d0946b6fecb849e61090e04016d1a7b7 (patch)
tree01fe51fd22aa4e2f377dfbf430fa45e8f5e23d4e /textproc/antiword
parent6823232ca719b775ce8cf8d960810d62facfe959 (diff)
downloadports-3cab5014d0946b6fecb849e61090e04016d1a7b7.tar.gz
ports-3cab5014d0946b6fecb849e61090e04016d1a7b7.zip
- fix mapping file search & other prefix issues; look for fonts in LOCALBASE, not PREFIX
PR: 193067 Submitted by: z7dr6ut7gs@snkmail.com
Notes
Notes: svn path=/head/; revision=366452
Diffstat (limited to 'textproc/antiword')
-rw-r--r--textproc/antiword/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile
index 509f7d5b2b3e..7f0ad92efe9a 100644
--- a/textproc/antiword/Makefile
+++ b/textproc/antiword/Makefile
@@ -3,7 +3,7 @@
PORTNAME= antiword
PORTVERSION= 0.37
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.winfield.demon.nl/linux/
@@ -27,8 +27,9 @@ PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \
CFLAGS+= -DNDEBUG
post-patch:
- @${REINPLACE_CMD} -E 's,/usr/share,${PREFIX}/share,g; s,fonts2,fonts,' ${WRKSRC}/Unix-only/fontinfo.pl
- @${REINPLACE_CMD} -E 's|LD|CC|g; /^(CC|CFLAGS)/d; s,/usr/share,${PREFIX}/share,g' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -E 's,/usr/share,${LOCALBASE}/share,g; s,fonts2,fonts,' ${WRKSRC}/Unix-only/fontinfo.pl
+ @${REINPLACE_CMD} -E 's|LD|CC|g; /^(CC|CFLAGS)/d; s,/usr/share,${PREFIX}/share,g; s|/usr/local/bin|${PREFIX}/bin|g' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -E 's,/usr/share,${PREFIX}/share,g' ${WRKSRC}/antiword.h
post-install:
${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${STAGEDIR}${MANPREFIX}/man/man1