diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-11-20 20:33:28 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-11-20 20:33:28 +0000 |
commit | d3609fcba75b1c62512c3d160e73e6fceab1ff94 (patch) | |
tree | 3aaaa735e3cda8a9b1a0ebdbb418f92ccfc07135 /textproc/antiword/Makefile | |
parent | db768b64c05a3ad77e1f08780dfe946d565e0a3a (diff) | |
download | ports-d3609fcba75b1c62512c3d160e73e6fceab1ff94.tar.gz ports-d3609fcba75b1c62512c3d160e73e6fceab1ff94.zip |
Notes
Diffstat (limited to 'textproc/antiword/Makefile')
-rw-r--r-- | textproc/antiword/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile index f180535f6c26..8ecf9846ba60 100644 --- a/textproc/antiword/Makefile +++ b/textproc/antiword/Makefile @@ -6,25 +6,28 @@ # PORTNAME= antiword -PORTVERSION= 0.31 +PORTVERSION= 0.32 CATEGORIES= textproc MASTER_SITES= http://www.winfield.demon.nl/linux/ -MAINTAINER= leeym@cae.ce.ntu.edu.tw +MAINTAINER= leeym@leeym.com WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION} MAN1= antiword.1 +post-patch: + @${PERL5} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/antiword.h + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin @${INSTALL_SCRIPT} ${WRKSRC}/kantiword ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1 + @${MKDIR} ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/Resources/* ${DATADIR} .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/antiword -.for file in COPYING ChangeLog FAQ History Netscape QandA ReadMe - @${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/antiword -.endfor + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/Docs/* ${DOCSDIR} .endif .include <bsd.port.mk> |