diff options
author | leeym <leeym@FreeBSD.org> | 2014-08-28 19:59:15 +0000 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2014-08-28 19:59:15 +0000 |
commit | 6592debfdcc599d21b2f2f19853c72ecae4f13d1 (patch) | |
tree | 01fe51fd22aa4e2f377dfbf430fa45e8f5e23d4e | |
parent | 1a01d8ceef4859991231cc7678a358129e2d5abc (diff) | |
download | FreeBSD-ports-6592debfdcc599d21b2f2f19853c72ecae4f13d1.zip FreeBSD-ports-6592debfdcc599d21b2f2f19853c72ecae4f13d1.tar.gz |
- fix mapping file search & other prefix issues; look for fonts in LOCALBASE, not PREFIX
PR: 193067
Submitted by: z7dr6ut7gs@snkmail.com
-rw-r--r-- | textproc/antiword/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile index 509f7d5..7f0ad92 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 |