openbsd-ports/textproc/antiword/Makefile

44 lines
1.3 KiB
Makefile
Raw Normal View History

2001-12-24 02:51:05 -05:00
# $OpenBSD: Makefile,v 1.9 2001/12/24 07:51:06 mark Exp $
COMMENT= "converts MSWord Documents to ASCII Text and PostScript"
2001-12-08 14:53:31 -05:00
DISTNAME= antiword-0.32
CATEGORIES= textproc
2001-12-08 14:53:31 -05:00
NEED_VERSION= 1.500
MASTER_SITES= http://www.winfield.demon.nl/linux/
HOMEPAGE= http://www.winfield.demon.nl/
2001-12-24 02:51:05 -05:00
MAINTAINER= Mark Grimes <mark@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -pedantic -DNDEBUG" \
LD="${CC}"
2001-12-08 14:53:31 -05:00
WRKDIST= ${WRKDIR}/antiword.0.32
2001-08-21 19:53:52 -04:00
DOCS= ChangeLog FAQ History Netscape QandA ReadMe
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin
2001-12-08 14:53:31 -05:00
${INSTALL_SCRIPT} ${WRKSRC}/Unix-only/KDE2-only/kantiword.sh \
2000-10-01 18:08:08 -04:00
${PREFIX}/bin/antiword-kde-dnd.sh
${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${PREFIX}/man/man1
2000-10-01 18:08:08 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/antiword
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword/kde
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword/resources
2001-08-21 19:53:52 -04:00
cd ${WRKSRC}/Docs; ${INSTALL_DATA} ${DOCS} \
${PREFIX}/share/doc/antiword
2001-12-08 14:53:31 -05:00
${INSTALL_DATA} ${WRKSRC}/Unix-only/KDE2-only/Antiword.desktop.* \
2000-10-01 18:08:08 -04:00
${PREFIX}/share/antiword/kde
2001-12-08 14:53:31 -05:00
${INSTALL_DATA} ${WRKSRC}/Unix-only/KDE2-only/*.png \
2000-10-01 18:08:08 -04:00
${PREFIX}/share/antiword
2001-08-21 19:53:52 -04:00
${INSTALL_DATA} ${WRKSRC}/Resources/* \
${PREFIX}/share/antiword/resources
.include <bsd.port.mk>