Date: Mon, 14 Jul 2014 20:50:20 +0000 (UTC) From: Yen-Ming Lee <leeym@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361831 - head/textproc/antiword Message-ID: <201407142050.s6EKoK5H086493@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: leeym Date: Mon Jul 14 20:50:20 2014 New Revision: 361831 URL: http://svnweb.freebsd.org/changeset/ports/361831 QAT: https://qat.redports.org/buildarchive/r361831/ Log: - depends on gsfonts to build and run - bump PORTREVISION Modified: head/textproc/antiword/Makefile Modified: head/textproc/antiword/Makefile ============================================================================== --- head/textproc/antiword/Makefile Mon Jul 14 20:21:55 2014 (r361830) +++ head/textproc/antiword/Makefile Mon Jul 14 20:50:20 2014 (r361831) @@ -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 M 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 F 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407142050.s6EKoK5H086493>