blob: d7f386591a8b4a70c663b35bd03dc81dec6080c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile,v 1.6 2015/11/23 07:23:49 taca Exp $
DISTNAME= pygments.rb-0.6.3
PKGREVISION= 1
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/tmm1/pygments.rb
COMMENT= Pygments wrapper for ruby
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-posix-spawn>=0.3.6<0.4:../../devel/ruby-posix-spawn
DEPENDS+= ${RUBY_PKGPREFIX}-yajl>=1.2.0<1.3:../../textproc/ruby-yajl
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.
.include "../../lang/ruby/gem.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|