Should probably be removed in post-install or so but I am lazy... and no one picked up my mail on ports@
31 lines
583 B
Makefile
31 lines
583 B
Makefile
# $OpenBSD: Makefile,v 1.13 2017/11/19 19:38:47 ajacoutot Exp $
|
|
|
|
COMMENT= syntax highlighter based on pygments
|
|
|
|
DISTNAME= pygments.rb-0.6.3
|
|
REVISION= 1
|
|
EPOCH= 0
|
|
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= https://github.com/tmm1/pygments.rb
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MODULES= lang/ruby \
|
|
lang/python
|
|
|
|
MODPY_BUILDDEP= No
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= devel/ruby-yajl,${MODRUBY_FLAVOR}>=1.2.0,<2.0 \
|
|
sysutils/ruby-posix-spawn,${MODRUBY_FLAVOR}>=0.3.6,<0.4
|
|
|
|
CONFIGURE_STYLE=ruby gem
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/lib/pygments/mentos.py
|
|
|
|
.include <bsd.port.mk>
|