pkgsrc/textproc/py-html2text/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

25 lines
660 B
Makefile

# $NetBSD: Makefile,v 1.27 2014/01/25 10:30:24 wiz Exp $
DISTNAME= html2text-3.200.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= http://pypi.python.org/packages/source/h/html2text/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.aaronsw.com/2002/html2text/
COMMENT= Convert HTML into easy-to-read plain ASCII text
LICENSE= gnu-gpl-v2
PYTHON_SELF_CONFLICT= yes
NO_BUILD= yes
REPLACE_PYTHON= html2text.py
INSTALLATION_DIRS= share/html2text
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/html2text.py ${DESTDIR}${PREFIX}/share/html2text
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"