openbsd-ports/textproc/antiword/Makefile
brad 94f80628bb - remove unnecessary patch
- respect CC and CFLAGS
2001-02-01 18:09:03 +00:00

37 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2001/02/01 18:09:03 brad Exp $
DISTNAME= antiword-0.30
CATEGORIES= textproc
NEED_VERSION= 1.336
MASTER_SITES= http://www.winfield.demon.nl/linux/
HOMEPAGE= http://www.winfield.demon.nl/
MAINTAINER= Mark Grimes <obecian@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}"
WRKDIST= ${WRKDIR}/antiword.0.30
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/Unix-only/KDE-only/kantiword.sh \
${PREFIX}/bin/antiword-kde-dnd.sh
${INSTALL_MAN} ${WRKSRC}/Unix-only/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} ${WRKSRC}/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
.include <bsd.port.mk>