From owner-svn-ports-all@FreeBSD.ORG Mon Nov 19 21:16:43 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90E92401; Mon, 19 Nov 2012 21:16:43 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 704368FC12; Mon, 19 Nov 2012 21:16:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAJLGhqW043197; Mon, 19 Nov 2012 21:16:43 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAJLGh8J043192; Mon, 19 Nov 2012 21:16:43 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201211192116.qAJLGh8J043192@svn.freebsd.org> From: Pawel Pekala Date: Mon, 19 Nov 2012 21:16:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307570 - in head/textproc: . jq jq/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 21:16:43 -0000 Author: pawel Date: Mon Nov 19 21:16:42 2012 New Revision: 307570 URL: http://svnweb.freebsd.org/changeset/ports/307570 Log: jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. WWW: http://stedolan.github.com/jq/ PR: ports/173256 Submitted by: Jui-Nan Lin Feature safe: yes Added: head/textproc/jq/ head/textproc/jq/Makefile (contents, props changed) head/textproc/jq/distinfo (contents, props changed) head/textproc/jq/files/ head/textproc/jq/files/patch-Makefile (contents, props changed) head/textproc/jq/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Mon Nov 19 20:53:44 2012 (r307569) +++ head/textproc/Makefile Mon Nov 19 21:16:42 2012 (r307570) @@ -333,6 +333,7 @@ SUBDIR += jdictionary SUBDIR += jdictionary-int-eng SUBDIR += jing + SUBDIR += jq SUBDIR += jrefentry SUBDIR += kbedic SUBDIR += kdiff3 Added: head/textproc/jq/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jq/Makefile Mon Nov 19 21:16:42 2012 (r307570) @@ -0,0 +1,24 @@ +# Created by: Jui-Nan Lin +# $FreeBSD$ + +PORTNAME= jq +PORTVERSION= 1.1 +CATEGORIES= textproc + +MAINTAINER= jnlin@csie.nctu.edu.tw +COMMENT= Lightweight and flexible command-line JSON processor + +USE_GITHUB= yes +GH_ACCOUNT= stedolan +GH_TAGNAME= jq-${PORTVERSION} +GH_COMMIT= bf61e95 + +USE_GMAKE= yes +USE_CSTD= gnu99 + +PLIST_FILES= bin/jq + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/jq ${PREFIX}/bin + +.include Added: head/textproc/jq/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jq/distinfo Mon Nov 19 21:16:42 2012 (r307570) @@ -0,0 +1,2 @@ +SHA256 (jq-1.1.tar.gz) = 0e53d2753e40705a684f499789920f2cebfa7adfbec03a270519c25a5fc03f60 +SIZE (jq-1.1.tar.gz) = 432144 Added: head/textproc/jq/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jq/files/patch-Makefile Mon Nov 19 21:16:42 2012 (r307570) @@ -0,0 +1,18 @@ +--- ./Makefile.orig 2012-11-19 22:03:44.000000000 +0100 ++++ ./Makefile 2012-11-19 22:05:13.000000000 +0100 +@@ -1,4 +1,5 @@ +-CC=gcc -Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function ++CC?=gcc ++CFLAGS?=-Wextra -Wall -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu99 -ggdb -Wno-unused-function + prefix=/usr/local + + .PHONY: all clean releasedep tarball install uninstall test releasetag +@@ -33,7 +34,7 @@ + $(CC) -DJQ_DEBUG=1 -o $@ $^ + + jq: $(JQ_SRC) main.c +- $(CC) -O -DJQ_DEBUG=0 -o $@ $^ ++ $(CC) $(CFLAGS) -DJQ_DEBUG=0 -o $@ $^ + + test: jq_test + valgrind --error-exitcode=1 -q --leak-check=full ./jq_test >/dev/null Added: head/textproc/jq/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jq/pkg-descr Mon Nov 19 21:16:42 2012 (r307570) @@ -0,0 +1,5 @@ +jq is like sed for JSON data - you can use it to slice and +filter and map and transform structured data with the same +ease that sed, awk, grep and friends let you play with text. + +WWW: http://stedolan.github.com/jq/