diff options
author | leeym <leeym@FreeBSD.org> | 2014-07-15 04:50:20 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2014-07-15 04:50:20 +0800 |
commit | 55c3174a053444ff0311c8618d7c60551cf4637a (patch) | |
tree | 773e1d16cdfbe14582a8b34bea79d69d522e9db6 /textproc | |
parent | e4d6ea58e14b943a0d3111ff5873baa7f3adbe17 (diff) | |
download | freebsd-ports-gnome-55c3174a053444ff0311c8618d7c60551cf4637a.tar.gz freebsd-ports-gnome-55c3174a053444ff0311c8618d7c60551cf4637a.tar.zst freebsd-ports-gnome-55c3174a053444ff0311c8618d7c60551cf4637a.zip |
- depends on gsfonts to build and run
- bump PORTREVISION
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/antiword/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile index 62b917089f20..7f4053f974ce 100644 --- a/textproc/antiword/Makefile +++ b/textproc/antiword/Makefile @@ -3,7 +3,7 @@ PORTNAME= antiword PORTVERSION= 0.37 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://www.winfield.demon.nl/linux/ @@ -12,6 +12,9 @@ COMMENT= An application for displaying Microsoft(R) Word documents LICENSE= GPLv2 +BUILD_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/n022003l.afm:${PORTSDIR}/print/gsfonts +RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/n022003l.afm:${PORTSDIR}/print/gsfonts + USES= gmake shebangfix SHEBANG_FILES= kantiword Unix-only/fontinfo.pl MAKE_JOBS_UNSAFE=yes @@ -23,11 +26,8 @@ PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \ CFLAGS+= -DNDEBUG post-patch: - @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \ - -e 's,/usr/local,${PREFIX},g' \ - -e 's,/usr/share,${PREFIX}/share,g' - @${REINPLACE_CMD} -E 's|LD|CC|g; /^(CC|CFLAGS)/d' ${WRKSRC}/${MAKEFILE} - @${TOUCH} ${WRKSRC}/fontinfo.h + @${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} post-install: ${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${STAGEDIR}${MANPREFIX}/man/man1 |