pkgsrc/textproc/html2text/Makefile
jlam bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00

26 lines
764 B
Makefile

# $NetBSD: Makefile,v 1.11 2005/07/15 18:27:53 jlam Exp $
DISTNAME= html2text-1.3.2a
CATEGORIES= textproc
MASTER_SITES= http://userpage.fu-berlin.de/~mbayer/tools/
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://userpage.fu-berlin.de/~mbayer/tools/html2text.html
COMMENT= Advanced HTML-to-text converter
USE_LANGUAGES= c c++
GCC_REQD= 3.0
HAS_CONFIGURE= yes
CONFIGURE_ENV+= ECHO="${ECHO}"
USE_TOOLS+= gunzip
INSTALLATION_DIRS= bin man/man1 man/man5
post-build:
${GUNZIP_CMD} -d ${WRKSRC}/html2text.1.gz ${WRKSRC}/html2textrc.5.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/html2text ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/html2text.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/html2textrc.5 ${PREFIX}/man/man5/html2textrc.5
.include "../../mk/bsd.pkg.mk"