Makefile 542 B

12345678910111213141516171819202122232425262728
  1. # $OpenBSD: Makefile,v 1.14 2017/01/03 19:16:08 landry Exp $
  2. COMMENT = HTML to markdown-formatted text converter
  3. MODPY_EGG_VERSION = 2016.9.19
  4. DISTNAME = html2text-${MODPY_EGG_VERSION}
  5. PKGNAME = py-${DISTNAME}
  6. REVISION = 0
  7. CATEGORIES = converters
  8. HOMEPAGE = http://alir3z4.github.io/html2text/
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MODULES = lang/python
  12. MODPY_PI = Yes
  13. MODPY_SETUPTOOLS = Yes
  14. FLAVORS = python3
  15. FLAVOR ?=
  16. post-install:
  17. mv ${PREFIX}/bin/html2text ${PREFIX}/bin/${MODPY_PY_PREFIX}html2text
  18. .include <bsd.port.mk>