openbsd-ports/converters/html2text/Makefile
jasper 058f305d9b import html2text 1.3.2a
html2text is a command line utility, written in C++, that converts HTML
documents into plain text.

feedback and ok merdely@
2007-09-17 19:21:21 +00:00

38 lines
1007 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/17 19:21:21 jasper Exp $
COMMENT= advanced HTML-to-text converter
DISTNAME= html2text-1.3.2a
CATEGORIES= converters textproc
HOMEPAGE= http://www.mbayer.de/html2text/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MASTER_SITES= http://www.mbayer.de/html2text/downloads/ \
ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/html2text-1.3.2.tar.gz
CONFIGURE_STYLE= simple
MAKE_FLAGS= PREFIX="${PREFIX}" CXXFLAGS+="-DVERSION=1.3.2a -DAUTO_PTR_BROKEN ${CXXFLAGS}"
NO_REGRESS= Yes
post-extract:
gunzip ${WRKSRC}/{html2text.1,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
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html2text
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/html2text
.include <bsd.port.mk>