32 lines
692 B
Makefile
32 lines
692 B
Makefile
# $OpenBSD: Makefile,v 1.5 2013/05/13 06:33:25 jasper Exp $
|
|
|
|
COMMENT= syntax highlighter based on pygments
|
|
|
|
DISTNAME= pygments.rb-0.5.0
|
|
EPOCH= 0
|
|
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= http://github.com/tmm1/pygments.rb
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
# order matters, as otherwise ruby.port.mk complains about SHARED_ONLY=yes
|
|
# which is set by python.port.mk, and not having 'ext' in CONFIGURE_STYLE.
|
|
MODULES= lang/ruby \
|
|
lang/python
|
|
|
|
MODPY_BUILD_DEP=No
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= devel/ruby-yajl,${MODRUBY_FLAVOR} \
|
|
sysutils/ruby-posix-spawn,${MODRUBY_FLAVOR}
|
|
|
|
CONFIGURE_STYLE=ruby gem
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/lib/pygments/mentos.py
|
|
|
|
.include <bsd.port.mk>
|