11263f390b
Removed four patches. Improved DESCRiptions. Improved COMMENT. catdoc is now: COMMENT=Converts MS Word, Excel and Powerpoint files to plain text catdoc-tk's COMMENT is made to stay the same. The catdoc-tk package now installs manpage also. And don't waste time building catdoc and binaries in catdoc-tk. (Should catdoc-tk package be renamed to "wordview?") The changelog is at http://www.45.free.net/~vitus/software/catdoc/changelog.html A lot of fixes plus now adds catppt utility to process powerpoint files. Also has many new character encodings and doesn't install xlsview.
25 lines
725 B
Makefile
25 lines
725 B
Makefile
# $NetBSD: Makefile,v 1.8 2007/01/24 17:07:00 reed Exp $
|
|
#
|
|
|
|
.include "../../textproc/catdoc/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/catdoc/catdoc-tk/}
|
|
COMMENT= Reads MS-Word file and puts out its content as plain text (Tk interface)
|
|
|
|
DEPENDS+= catdoc>=0.91.4nb1:../../textproc/catdoc
|
|
|
|
CONFIGURE_ARGS+= --enable-wordview
|
|
CONFIGURE_ENV+= WISH="${BUILDLINK_PREFIX.tk}/bin/wish"
|
|
CONFIGURE_ENV+= enable_wordview=yes
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/src && ${MAKE} wordview
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/wordview ${PREFIX}/bin/wordview
|
|
${INSTALL_MAN} ${WRKSRC}/doc/wordview.1 ${PREFIX}/${PKGMANDIR}/man1/
|
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|