simplify
This commit is contained in:
parent
39855c5095
commit
af9ca15663
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2001/03/28 08:36:36 obecian Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2001/08/21 23:53:52 brad Exp $
|
||||
|
||||
COMMENT= "converts MSWord Documents to ASCII Text and PostScript"
|
||||
|
||||
DISTNAME= antiword-0.31
|
||||
CATEGORIES= textproc
|
||||
NEED_VERSION= 1.364
|
||||
NEED_VERSION= 1.435
|
||||
MASTER_SITES= http://www.winfield.demon.nl/linux/
|
||||
|
||||
HOMEPAGE= http://www.winfield.demon.nl/
|
||||
@ -21,7 +21,7 @@ MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -pedantic -DNDEBUG" \
|
||||
|
||||
WRKDIST= ${WRKDIR}/antiword.0.31
|
||||
|
||||
DOC= ChangeLog FAQ History Netscape QandA ReadMe
|
||||
DOCS= ChangeLog FAQ History Netscape QandA ReadMe
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin
|
||||
@ -29,16 +29,15 @@ do-install:
|
||||
${PREFIX}/bin/antiword-kde-dnd.sh
|
||||
${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${PREFIX}/man/man1
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/antiword
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword/kde
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword/resources
|
||||
.for file in ${DOC}
|
||||
${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/antiword
|
||||
.endfor
|
||||
cd ${WRKSRC}/Docs; ${INSTALL_DATA} ${DOCS} \
|
||||
${PREFIX}/share/doc/antiword
|
||||
${INSTALL_DATA} ${WRKSRC}/Unix-only/KDE-only/Antiword.kdelnk.* \
|
||||
${PREFIX}/share/antiword/kde
|
||||
${INSTALL_DATA} ${WRKSRC}/Unix-only/KDE-only/antiword.xpm \
|
||||
${PREFIX}/share/antiword
|
||||
${INSTALL_DATA} ${WRKSRC}/Resources/* ${PREFIX}/share/antiword/resources
|
||||
${INSTALL_DATA} ${WRKSRC}/Resources/* \
|
||||
${PREFIX}/share/antiword/resources
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user