aboutsummaryrefslogtreecommitdiff
path: root/textproc/antiword
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-02-17 19:08:12 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-02-17 19:08:12 +0000
commit91d4e3c3c045f75ff103ae7aa90eb82bc535714e (patch)
treeaa884facbb8530b765e37df262fbeba82d2eaaf3 /textproc/antiword
parent7017419de17b3301c96f708e5b96e49c782748a4 (diff)
downloadports-91d4e3c3c045f75ff103ae7aa90eb82bc535714e.tar.gz
ports-91d4e3c3c045f75ff103ae7aa90eb82bc535714e.zip
- respect CFLAGS
- bump PORTREVISION PR: 93467 Submitted by: ehaupt
Notes
Notes: svn path=/head/; revision=156229
Diffstat (limited to 'textproc/antiword')
-rw-r--r--textproc/antiword/Makefile8
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