31 lines
681 B
Makefile
31 lines
681 B
Makefile
# $OpenBSD: Makefile,v 1.2 2013/03/11 11:42:46 espie Exp $
|
|
|
|
COMMENT= syntax highlighter based on pygments
|
|
|
|
DISTNAME= pygments.rb-0.3.7
|
|
|
|
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>
|