pkgsrc/www/ruby-pygments.rb/Makefile
taca 337a76ac7c Add ruby-pygments.rb package version 0.3.7.
A Ruby wrapper for the Python [pygments syntax
highlighter](http://pygments.org/).

pygments.rb works by talking over a simple pipe to a long-lived Python child
process. This library replaces
[github/albino](https://github.com/github/albino), as well as a version of
pygments.rb that used an embedded Python interpreter.

Each Ruby process that runs has its own 'personal Python'; for example, 4
Unicorn workers will have one Python process each.  If a Python process dies,
a new one will be spawned on the next pygments.rb request.
2013-03-15 23:47:51 +00:00

16 lines
497 B
Makefile

# $NetBSD: Makefile,v 1.1 2013/03/15 23:47:51 taca Exp $
DISTNAME= pygments.rb-0.3.7
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.1.0<1.2:../../textproc/ruby-yajl
.include "../../lang/ruby/gem.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"