From owner-svn-ports-all@freebsd.org Wed Oct 28 17:41:47 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81783A1EF0E; Wed, 28 Oct 2015 17:41:47 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A6291C8B; Wed, 28 Oct 2015 17:41:47 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9SHfkJi049225; Wed, 28 Oct 2015 17:41:46 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9SHfjFd049219; Wed, 28 Oct 2015 17:41:45 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201510281741.t9SHfjFd049219@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Wed, 28 Oct 2015 17:41:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400404 - in head/devel: . jsonnet jsonnet/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.20 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: Wed, 28 Oct 2015 17:41:47 -0000 Author: pawel Date: Wed Oct 28 17:41:45 2015 New Revision: 400404 URL: https://svnweb.freebsd.org/changeset/ports/400404 Log: Jsonnet is a domain specific configuration language that helps you define JSON data. Jsonnet lets you compute fragments of JSON within the structure, bringing the same benefit to structured data that templating languages bring to plain text. The example below illustrates a few features -- referring to another part of the structure, overriding object fields, and string operations. WWW: https://github.com/google/jsonnet PR: 200671 Submitted by: Gasol Wu Added: head/devel/jsonnet/ head/devel/jsonnet/Makefile (contents, props changed) head/devel/jsonnet/distinfo (contents, props changed) head/devel/jsonnet/files/ head/devel/jsonnet/files/patch-jsonnet.cpp (contents, props changed) head/devel/jsonnet/files/patch-libjsonnet.cpp (contents, props changed) head/devel/jsonnet/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Oct 28 17:26:41 2015 (r400403) +++ head/devel/Makefile Wed Oct 28 17:41:45 2015 (r400404) @@ -1053,6 +1053,7 @@ SUBDIR += json-c SUBDIR += json-glib SUBDIR += jsoncpp + SUBDIR += jsonnet SUBDIR += jtag SUBDIR += judy SUBDIR += jwasm Added: head/devel/jsonnet/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsonnet/Makefile Wed Oct 28 17:41:45 2015 (r400404) @@ -0,0 +1,31 @@ +# Created by: Gasol Wu +# $FreeBSD$ + +PORTNAME= jsonnet +PORTVERSION= 0.7.6 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= gasol.wu@gmail.com +COMMENT= JSON data templating language + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= google + +USES= compiler:c++11-lib gmake +USE_CXXSTD= c++11 +USE_LDCONFIG= yes + +ALL_TARGET= jsonnet libjsonnet.so +CXXFLAGS+= -fPIC +PLIST_FILES= bin/jsonnet include/libjsonnet.h lib/libjsonnet.so + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/lib${PORTNAME}.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib + +.include Added: head/devel/jsonnet/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsonnet/distinfo Wed Oct 28 17:41:45 2015 (r400404) @@ -0,0 +1,2 @@ +SHA256 (google-jsonnet-v0.7.6_GH0.tar.gz) = e7687bbbb395e11451d4a4eac9101f2f960df40b30475abc96cd62f3c1344b7a +SIZE (google-jsonnet-v0.7.6_GH0.tar.gz) = 1034707 Added: head/devel/jsonnet/files/patch-jsonnet.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsonnet/files/patch-jsonnet.cpp Wed Oct 28 17:41:45 2015 (r400404) @@ -0,0 +1,10 @@ +--- jsonnet.cpp.orig 2015-10-28 17:29:36 UTC ++++ jsonnet.cpp +@@ -14,6 +14,7 @@ See the License for the specific languag + limitations under the License. + */ + ++#include + #include + #include + #include Added: head/devel/jsonnet/files/patch-libjsonnet.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsonnet/files/patch-libjsonnet.cpp Wed Oct 28 17:41:45 2015 (r400404) @@ -0,0 +1,10 @@ +--- libjsonnet.cpp.orig 2015-06-03 01:28:56 UTC ++++ libjsonnet.cpp +@@ -14,6 +14,7 @@ See the License for the specific languag + limitations under the License. + */ + ++#include + #include + #include + Added: head/devel/jsonnet/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/jsonnet/pkg-descr Wed Oct 28 17:41:45 2015 (r400404) @@ -0,0 +1,7 @@ +Jsonnet is a domain specific configuration language that helps you define JSON +data. Jsonnet lets you compute fragments of JSON within the structure, bringing +the same benefit to structured data that templating languages bring to plain +text. The example below illustrates a few features -- referring to another part +of the structure, overriding object fields, and string operations. + +WWW: https://github.com/google/jsonnet