PORTNAME=	nanoc-core
DISTVERSION=	4.12.15
CATEGORIES=	www rubygems
MASTER_SITES=	RG

MAINTAINER=	sdalu@sdalu.com
COMMENT=	Contains the core of Nanoc
WWW=		https://nanoc.ws/

LICENSE=	MIT

RUN_DEPENDS=	rubygem-concurrent-ruby>=1.1:devel/rubygem-concurrent-ruby \
		rubygem-ddmetrics>=1.0:devel/rubygem-ddmetrics \
		rubygem-ddplugin>=1.0:devel/rubygem-ddplugin \
		rubygem-hamster>=3.0:devel/rubygem-hamster \
		rubygem-json_schema>=0.19:devel/rubygem-json_schema \
		rubygem-memo_wise>=1.5:devel/rubygem-memo_wise \
		rubygem-psych>=4.0:textproc/rubygem-psych \
		rubygem-slow_enumerator_tools>=1.0:devel/rubygem-slow_enumerator_tools \
		rubygem-tty-platform>=0.2:devel/rubygem-tty-platform \
		rubygem-zeitwerk>=2.1:devel/rubygem-zeitwerk

USES=		gem

NO_ARCH=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|freeze, \["~> 4.0|freeze, \[">= 4.0|' ${WRKSRC}/nanoc-core.gemspec

.include <bsd.port.mk>
