From owner-svn-ports-head@FreeBSD.ORG Wed Jan 23 13:53:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3652E61; Wed, 23 Jan 2013 13:53:46 +0000 (UTC) (envelope-from bapt@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 B618529B; Wed, 23 Jan 2013 13:53:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0NDrksi017552; Wed, 23 Jan 2013 13:53:46 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0NDrkn0017548; Wed, 23 Jan 2013 13:53:46 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201301231353.r0NDrkn0017548@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 23 Jan 2013 13:53:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310867 - in head/textproc: . jshon X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2013 13:53:47 -0000 Author: bapt Date: Wed Jan 23 13:53:45 2013 New Revision: 310867 URL: http://svnweb.freebsd.org/changeset/ports/310867 Log: jshon parses, reads and creates JSON. It is designed to be as usable as possible from within the shell and replaces fragile adhoc parsers made from grep/sed/awk as well as heavyweight one-line parsers made from perl/python. WWW: http://kmkeen.com/jshon/ Added: head/textproc/jshon/ head/textproc/jshon/Makefile (contents, props changed) head/textproc/jshon/distinfo (contents, props changed) head/textproc/jshon/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Wed Jan 23 13:52:48 2013 (r310866) +++ head/textproc/Makefile Wed Jan 23 13:53:45 2013 (r310867) @@ -336,6 +336,7 @@ SUBDIR += jing SUBDIR += jq SUBDIR += jrefentry + SUBDIR += jshon SUBDIR += kbedic SUBDIR += kdiff3 SUBDIR += kmfl-european-latin Added: head/textproc/jshon/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jshon/Makefile Wed Jan 23 13:53:45 2013 (r310867) @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= jshon +PORTVERSION= 20121210 +CATEGORIES= textproc + +MAINTAINER= bapt@FreeBSD.org +COMMENT= json parser for the shell. + +LICENSE= MIT + +LIB_DEPENDS= jansson:${PORTSDIR}/devel/jansson + +USE_GMAKE= yes +USE_GITHUB= yes +GH_ACCOUNT= keenerd +GH_COMMIT= b21bc98 +GH_TAGNAME= ${GH_COMMIT} + +CFLAGS+= -I${LOCALBASE}/include + +PLIST_FILES= bin/${PORTNAME} +MAN1= ${PORTNAME}.1 + +post-patch: + @${REINPLACE_CMD} -e 's,-ljansson,-L${LOCALBASE}/lib -ljansson,g' ${WRKSRC}/Makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 + +.include Added: head/textproc/jshon/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jshon/distinfo Wed Jan 23 13:53:45 2013 (r310867) @@ -0,0 +1,2 @@ +SHA256 (jshon-20121210.tar.gz) = 130d6b8536dd8ea6b31394f5d5ff5e63f941f54e70b2fac68d9e0ce147b1b4db +SIZE (jshon-20121210.tar.gz) = 10712 Added: head/textproc/jshon/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/jshon/pkg-descr Wed Jan 23 13:53:45 2013 (r310867) @@ -0,0 +1,5 @@ +jshon parses, reads and creates JSON. It is designed to be as usable as possible +from within the shell and replaces fragile adhoc parsers made from grep/sed/awk +as well as heavyweight one-line parsers made from perl/python. + +WWW: http://kmkeen.com/jshon/