[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-nokogiri

File: [cvs.NetBSD.org] / pkgsrc / textproc / ruby-nokogiri / Makefile (download)

Revision 1.53, Sun Mar 29 05:21:40 2020 UTC (9 months, 3 weeks ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.52: +5 -3 lines

textproc/ruby-nokogiri: fix ruby gem dependency

Relax dependency for mini_portile2 gem to fix runtime problem.
Noted by Robert Swindells on pkgsrc-users@NetBSD.org.

Bump PKGREVISION.

# $NetBSD: Makefile,v 1.53 2020/03/29 05:21:40 taca Exp $

DISTNAME=	nokogiri-1.10.9
PKGREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	tsutsui@NetBSD.org
HOMEPAGE=	https://nokogiri.org/
COMMENT=	HTML, XML, SAX, and Reader parser with XPath and CSS selector support
LICENSE=	mit

DEPENDS+=	${RUBY_PKGPREFIX}-mini_portile2>=2.4.0:../../misc/ruby-mini_portile2

USE_GCC_RUNTIME=	yes
USE_TOOLS+=		pkg-config
MAKE_ENV+=		NOKOGIRI_USE_SYSTEM_LIBRARIES=yes
RUBYGEM_OPTIONS+=	--format-executable
OVERRIDE_GEMSPEC+=	mini_portile2>=2.4.0 \
			:files ports/archives/libxml2-2.9.10.tar.gz= \
			ports/archives/libxslt-1.1.34.tar.gz=

.include "../../devel/ruby-pkg-config/tool.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"