blob: 5acf2098a763e2fdfd2d711c64602e43e225df67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  | 
PORTNAME=	nokogiri
PORTVERSION=	1.18.10
PORTREVISION=	1
CATEGORIES=	textproc rubygems
MASTER_SITES=	RG
MAINTAINER=	ruby@FreeBSD.org
COMMENT=	HTML, XML, SAX, and Reader parser
WWW=		https://nokogiri.org/ \
		https://github.com/sparklemotion/nokogiri
LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.md
# Do not add mini_portile2 to RUN_DEPENDS. Read ext/nokogiri/extconf.rb
# and https://lists.freebsd.org/pipermail/svn-ports-all/2019-March/209423.html
BUILD_DEPENDS=	${RUN_DEPENDS} \
		rubygem-mini_portile2>=2.8.2<2.9:devel/rubygem-mini_portile2 \
		rubygem-pkg-config>=1.1<2:devel/rubygem-pkg-config
RUN_DEPENDS=	rubygem-racc>=1.4<2:devel/rubygem-racc
# rubygem-pkg-config doesn't seem to work right on armv7
USES=		cpe gem gnome gettext-runtime ${USES_${ARCH}}
USES_armv7=	pkgconfig
USE_GNOME=	libxml2 libxslt
CONFIGURE_ARGS=	--use-system-libraries
PLIST_FILES=	bin/nokogiri
post-patch:
	@${RM} -r ${WRKSRC}/patches/ ${WRKSRC}/ports/
.include <bsd.port.mk>
 
  |