pkgsrc/www/ruby-pygments.rb/Makefile
maya 5901ac0824 Omit mentions of python 34 and 35, after those were removed.
- Includes some whitespace changes, to be handled in a separate commit.
2019-04-26 13:13:41 +00:00

26 lines
727 B
Makefile

# $NetBSD: Makefile,v 1.17 2019/04/26 13:14:22 maya Exp $
DISTNAME= pygments.rb-1.2.1
PKGREVISION= 1
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/tmm1/pygments.rb
COMMENT= Pygments wrapper for ruby
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-multi_json>=1.0.0:../../textproc/ruby-multi_json
REPLACE_PYTHON= lib/pygments/mentos.py
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_FILES.path= lib/pygments/popen.rb
SUBST_SED.path+= -e 's|@PYTHON@|python${PYVERSSUFFIX}|'
SUBST_MESSAGE.path= Fixing Python's path.
PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # as of 0.6.3
.include "../../lang/ruby/gem.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"