2000-06-09 11:16:09 +02:00
|
|
|
# New ports collection makefile for: antiword
|
|
|
|
# Date created: 8 June 2000
|
|
|
|
# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= antiword
|
2003-12-14 22:27:22 +01:00
|
|
|
PORTVERSION= 0.35
|
2000-06-09 11:16:09 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://www.winfield.demon.nl/linux/
|
|
|
|
|
2002-08-19 10:01:34 +02:00
|
|
|
MAINTAINER= leeym@FreeBSD.org
|
2003-10-05 11:19:42 +02:00
|
|
|
COMMENT= "An application to display Microsoft(tm) Word files"
|
2000-06-09 11:16:09 +02:00
|
|
|
|
2002-07-28 06:58:49 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
INSTALL_TARGET= global_install
|
2000-06-09 11:16:09 +02:00
|
|
|
|
|
|
|
MAN1= antiword.1
|
2004-04-01 16:32:47 +02:00
|
|
|
PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \
|
|
|
|
QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc
|
2000-06-09 11:16:09 +02:00
|
|
|
|
2001-11-20 21:33:28 +01:00
|
|
|
post-patch:
|
2002-07-28 06:58:49 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
|
|
|
|
-e 's,/usr/share,${PREFIX}/share,g' \
|
|
|
|
${WRKSRC}/Makefile.* ${WRKSRC}/*.[ch]
|
2004-04-01 16:32:47 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,gcc,${CC},g' \
|
|
|
|
-e 's,-O2,${CFLAGS},g' \
|
|
|
|
${WRKSRC}/${MAKEFILE} ${WRKSRC}/Makefile.*
|
2001-11-20 21:33:28 +01:00
|
|
|
|
2002-07-28 06:58:49 +02:00
|
|
|
post-install:
|
2000-12-18 16:25:42 +01:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1
|
2000-06-09 11:16:09 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-11-20 21:33:28 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-04-01 16:32:47 +02:00
|
|
|
@cd ${WRKSRC}/Docs && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
2000-06-09 11:16:09 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|