diff options
author | leeym <leeym@FreeBSD.org> | 2006-02-18 03:08:12 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2006-02-18 03:08:12 +0800 |
commit | f66433362dce375a08324b28da773ccba99d48cb (patch) | |
tree | 5d52756fcebd77260e00d5ea549a6fffa7b24e17 /textproc | |
parent | 5a5323ede4db496920e976dd38779f2ebe06735e (diff) | |
download | freebsd-ports-gnome-f66433362dce375a08324b28da773ccba99d48cb.tar.gz freebsd-ports-gnome-f66433362dce375a08324b28da773ccba99d48cb.tar.zst freebsd-ports-gnome-f66433362dce375a08324b28da773ccba99d48cb.zip |
- respect CFLAGS
- bump PORTREVISION
PR: 93467
Submitted by: ehaupt
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/antiword/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile index 8b221e9aea43..bccb3368e2a2 100644 --- a/textproc/antiword/Makefile +++ b/textproc/antiword/Makefile @@ -7,23 +7,29 @@ PORTNAME= antiword PORTVERSION= 0.37 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.winfield.demon.nl/linux/ MAINTAINER= leeym@FreeBSD.org COMMENT= An application to display Microsoft(tm) Word files +USE_GMAKE= yes + INSTALL_TARGET= global_install MAN1= antiword.1 PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \ QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc +CFLAGS+= -DNDEBUG +MAKE_ENV+= CC="${CC}" + 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,gcc,${CC},g' ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -E 's|LD|CC|g; /^(CC|CFLAGS)/d' ${WRKSRC}/${MAKEFILE} post-install: @${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1 |