2019-04-26 15:13:41 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2019/04/26 13:14:22 maya Exp $
|
2013-03-16 00:47:51 +01:00
|
|
|
|
2018-03-21 13:15:34 +01:00
|
|
|
DISTNAME= pygments.rb-1.2.1
|
2019-04-25 09:32:34 +02:00
|
|
|
PKGREVISION= 1
|
2013-03-16 00:47:51 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-07-31 00:32:10 +02:00
|
|
|
HOMEPAGE= https://github.com/tmm1/pygments.rb
|
2013-03-16 00:47:51 +01:00
|
|
|
COMMENT= Pygments wrapper for ruby
|
|
|
|
LICENSE= mit
|
|
|
|
|
2017-03-20 16:54:41 +01:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-multi_json>=1.0.0:../../textproc/ruby-multi_json
|
2013-03-16 00:47:51 +01:00
|
|
|
|
2015-11-23 08:23:49 +01:00
|
|
|
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.
|
|
|
|
|
2019-04-26 15:13:41 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # as of 0.6.3
|
2015-11-23 13:16:32 +01:00
|
|
|
|
2013-03-16 00:47:51 +01:00
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|