View | Details | Raw Unified | Return to bug 204711 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-12 / +19 lines)
Lines 2-32 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	jq
4
PORTNAME=	jq
5
PORTVERSION=	1.4
5
PORTVERSION=	1.5
6
DISTVERSIONPREFIX=	${PORTNAME}-
6
CATEGORIES=	textproc
7
CATEGORIES=	textproc
7
MASTER_SITES=	http://stedolan.github.io/jq/download/source/ \
8
		http://mirrors.rit.edu/zi/
9
8
10
MAINTAINER=	jnlin@csie.nctu.edu.tw
9
MAINTAINER=	jnlin@csie.nctu.edu.tw
11
COMMENT=	Lightweight and flexible command-line JSON processor
10
COMMENT=	Lightweight and flexible command-line JSON processor
12
11
13
OPTIONS_DEFINE=	DOCS
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	stedolan
17
15
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS=	--disable-docs --docdir="${DOCSDIR}"
19
CONFIGURE_ARGS=	--docdir="${DOCSDIR}" \
20
		--disable-maintainer-mode
17
USE_CSTD=	gnu99
21
USE_CSTD=	gnu99
18
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
19
USES=		libtool
23
USES=		gmake libtool
24
INSTALL_TARGET=	install-strip
20
25
21
PLIST_FILES=	bin/${PORTNAME} \
22
		include/jq.h include/jv.h \
23
		lib/libjq.a lib/libjq.so lib/libjq.so.1 lib/libjq.so.1.0.4 \
24
		man/man1/${PORTNAME}.1.gz
25
PORTDOCS=	*
26
PORTDOCS=	*
26
27
28
OPTIONS_DEFINE=	DOCS ONIGURUMA
29
OPTIONS_DEFAULT=ONIGURUMA
30
27
DOCS_MAKE_ARGS_OFF=	docdir=
31
DOCS_MAKE_ARGS_OFF=	docdir=
32
DOCS_CONFIGURE_ENABLE=	docs
28
33
29
post-install:
34
ONIGURUMA_DESC=		With oniguruma BSDL regular expression library
30
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libjq.so.1.0.4
35
ONIGURUMA_LIB_DEPENDS=	libonig.so:${PORTSDIR}/devel/oniguruma5
36
#ONIGURUMA_CONFIGURE_WITH=oniguruma=${LOCALBASE} # pending resolution of https://github.com/stedolan/jq/issues/1021, next line is the workaround
37
ONIGURUMA_CONFIGURE_ON=	--with-oniguruma=${LOCALBASE}
31
38
32
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (jq-1.4.tar.gz) = 998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d
1
SHA256 (stedolan-jq-jq-1.5_GH0.tar.gz) = d5667641d28c27d0c1e70de83e7f9bd8b2fed7fbf6a1d68731177d400a533c65
2
SIZE (jq-1.4.tar.gz) = 578317
2
SIZE (stedolan-jq-jq-1.5_GH0.tar.gz) = 1118086
(-)pkg-plist (+8 lines)
Line 0 Link Here
1
bin/jq
2
include/jq.h
3
include/jv.h
4
lib/libjq.a
5
lib/libjq.so
6
lib/libjq.so.1
7
lib/libjq.so.1.0.4
8
man/man1/jq.1.gz

Return to bug 204711