diff options
author | leeym <leeym@FreeBSD.org> | 2013-07-23 01:43:42 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2013-07-23 01:43:42 +0800 |
commit | 9e6fd3ee127b0104a0439f7cf9de5c40dabae795 (patch) | |
tree | bf5821c015097138c0e4ca97f709ce030e280674 /textproc | |
parent | 7d0ffc72c1d2cf491532a04312cc56945ca465e1 (diff) | |
download | freebsd-ports-gnome-9e6fd3ee127b0104a0439f7cf9de5c40dabae795.tar.gz freebsd-ports-gnome-9e6fd3ee127b0104a0439f7cf9de5c40dabae795.tar.zst freebsd-ports-gnome-9e6fd3ee127b0104a0439f7cf9de5c40dabae795.zip |
- mark it MAKE_JOBS_UNSAFE=yes and unbreak it for ports clusters
- use PORT_OPTIONS:MDOCS instead of NOPORTDOCS
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/antiword/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile index 48321d56920c..93d1a09f5eac 100644 --- a/textproc/antiword/Makefile +++ b/textproc/antiword/Makefile @@ -1,7 +1,4 @@ -# New ports collection makefile for: antiword -# Date created: 8 June 2000 -# Whom: Yen-Ming Lee <leeym@FreeBSD.org> -# +# Created by: Yen-Ming Lee <leeym@FreeBSD.org> # $FreeBSD$ # @@ -15,7 +12,7 @@ MAINTAINER= leeym@FreeBSD.org COMMENT= An application to display Microsoft(tm) Word files USE_GMAKE= yes - +MAKE_JOBS_UNSAFE=yes INSTALL_TARGET= global_install MAN1= antiword.1 @@ -24,15 +21,19 @@ PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \ CFLAGS+= -DNDEBUG +.include <bsd.port.options.mk> + 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/bin/perl,${PERL},' ${WRKSRC}/Unix-only/fontinfo.pl post-install: @${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @cd ${WRKSRC}/Docs && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif |