2003-06-23 09:15:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2003/06/23 13:15:32 wilfried Exp $
|
2001-03-28 03:33:55 -05:00
|
|
|
|
|
|
|
COMMENT= "converts MSWord Documents to ASCII Text and PostScript"
|
2000-10-01 16:32:20 -04:00
|
|
|
|
2002-08-15 14:51:28 -04:00
|
|
|
DISTNAME= antiword-0.33
|
2000-10-01 16:32:20 -04:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.winfield.demon.nl/
|
|
|
|
|
2003-01-20 20:48:34 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/linux/
|
|
|
|
|
|
|
|
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
|
2000-10-01 16:32:20 -04:00
|
|
|
|
2002-09-08 03:55:26 -04:00
|
|
|
# GPL
|
2000-10-01 16:32:20 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2003-05-12 00:28:52 -04:00
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall -DNDEBUG" \
|
2001-02-01 13:09:03 -05:00
|
|
|
LD="${CC}"
|
|
|
|
|
2002-10-28 17:43:46 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2003-01-20 20:48:34 -05:00
|
|
|
DOCS= FAQ Netscape QandA ReadMe
|
2001-02-01 13:09:03 -05:00
|
|
|
|
2003-06-23 09:15:32 -04:00
|
|
|
post-patch:
|
|
|
|
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/antiword.h
|
|
|
|
|
2000-10-01 16:32:20 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin
|
2001-02-17 17:44:28 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${PREFIX}/man/man1
|
2000-10-01 18:08:08 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/antiword
|
2002-08-15 14:51:28 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/antiword
|
2001-08-21 19:53:52 -04:00
|
|
|
cd ${WRKSRC}/Docs; ${INSTALL_DATA} ${DOCS} \
|
|
|
|
${PREFIX}/share/doc/antiword
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Resources/* \
|
2002-08-15 14:51:28 -04:00
|
|
|
${PREFIX}/share/antiword
|
2000-10-01 16:32:20 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|