Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2015 20:29:46 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403735 - head/textproc/jq
Message-ID:  <201512142029.tBEKTkqA019992@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 14 20:29:46 2015
New Revision: 403735
URL: https://svnweb.freebsd.org/changeset/ports/403735

Log:
  - Update to 1.5
  - Add LICENSE
  - Optionize ONIGURAMA
  
  PR:		204711
  Submitted by:	yuri@rawbw.com, amdmi3
  Approved by:	maintainer timeout (jnlin@csie.nctu.edu.tw, 3 weeks)

Added:
  head/textproc/jq/pkg-plist   (contents, props changed)
Modified:
  head/textproc/jq/Makefile
  head/textproc/jq/distinfo

Modified: head/textproc/jq/Makefile
==============================================================================
--- head/textproc/jq/Makefile	Mon Dec 14 20:19:49 2015	(r403734)
+++ head/textproc/jq/Makefile	Mon Dec 14 20:29:46 2015	(r403735)
@@ -2,31 +2,38 @@
 # $FreeBSD$
 
 PORTNAME=	jq
-PORTVERSION=	1.4
+PORTVERSION=	1.5
+DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	textproc
-MASTER_SITES=	http://stedolan.github.io/jq/download/source/ \
-		http://mirrors.rit.edu/zi/
 
 MAINTAINER=	jnlin@csie.nctu.edu.tw
 COMMENT=	Lightweight and flexible command-line JSON processor
 
-OPTIONS_DEFINE=	DOCS
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	stedolan
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-docs --docdir="${DOCSDIR}"
+CONFIGURE_ARGS=	--docdir="${DOCSDIR}" \
+		--disable-maintainer-mode
 USE_CSTD=	gnu99
 USE_LDCONFIG=	yes
-USES=		libtool
+USES=		gmake libtool
+INSTALL_TARGET=	install-strip
 
-PLIST_FILES=	bin/${PORTNAME} \
-		include/jq.h include/jv.h \
-		lib/libjq.a lib/libjq.so lib/libjq.so.1 lib/libjq.so.1.0.4 \
-		man/man1/${PORTNAME}.1.gz
 PORTDOCS=	*
 
+OPTIONS_DEFINE=	DOCS ONIGURUMA
+OPTIONS_DEFAULT=ONIGURUMA
+
 DOCS_MAKE_ARGS_OFF=	docdir=
+DOCS_CONFIGURE_ENABLE=	docs
 
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libjq.so.1.0.4
+ONIGURUMA_DESC=		With oniguruma BSDL regular expression library
+ONIGURUMA_LIB_DEPENDS=	libonig.so:${PORTSDIR}/devel/oniguruma5
+#ONIGURUMA_CONFIGURE_WITH=oniguruma=${LOCALBASE} # pending resolution of https://github.com/stedolan/jq/issues/1021, next line is the workaround
+ONIGURUMA_CONFIGURE_ON=	--with-oniguruma=${LOCALBASE}
 
 .include <bsd.port.mk>

Modified: head/textproc/jq/distinfo
==============================================================================
--- head/textproc/jq/distinfo	Mon Dec 14 20:19:49 2015	(r403734)
+++ head/textproc/jq/distinfo	Mon Dec 14 20:29:46 2015	(r403735)
@@ -1,2 +1,2 @@
-SHA256 (jq-1.4.tar.gz) = 998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d
-SIZE (jq-1.4.tar.gz) = 578317
+SHA256 (stedolan-jq-jq-1.5_GH0.tar.gz) = d5667641d28c27d0c1e70de83e7f9bd8b2fed7fbf6a1d68731177d400a533c65
+SIZE (stedolan-jq-jq-1.5_GH0.tar.gz) = 1118086

Added: head/textproc/jq/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/jq/pkg-plist	Mon Dec 14 20:29:46 2015	(r403735)
@@ -0,0 +1,8 @@
+bin/jq
+include/jq.h
+include/jv.h
+lib/libjq.a
+lib/libjq.so
+lib/libjq.so.1
+lib/libjq.so.1.0.4
+man/man1/jq.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512142029.tBEKTkqA019992>