Makefile 683 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.15 2017/01/03 19:27:52 landry Exp $
  2. COMMENT = python package to parse and build CSS
  3. CATEGORIES = textproc
  4. MODPY_EGG_VERSION = 1.0.1
  5. DISTNAME = cssutils-${MODPY_EGG_VERSION}
  6. PKGNAME = py-${DISTNAME}
  7. MODPY_PI = Yes
  8. REVISION = 0
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM= Yes
  11. HOMEPAGE = http://cthedot.de/cssutils/
  12. MODULES = lang/python
  13. MODPY_SETUPTOOLS = Yes
  14. FLAVORS = python3
  15. FLAVOR ?=
  16. # Requires older of devel/py-pbr
  17. NO_TEST = Yes
  18. post-install:
  19. chmod 444 ${WRKINST}/${MODPY_SITEPKG}/${DISTNAME}-py${MODPY_VERSION}.egg-info/*
  20. .for b in csscapture csscombine cssparse
  21. mv -f ${PREFIX}/bin/$b ${PREFIX}/bin/$b${MODPY_BIN_SUFFIX}
  22. .endfor
  23. .include <bsd.port.mk>