From owner-svn-ports-all@freebsd.org Sat Oct 28 05:56:56 2017 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 56F40E5C9A0; Sat, 28 Oct 2017 05:56:56 +0000 (UTC) (envelope-from tcberner@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 2422F646EF; Sat, 28 Oct 2017 05:56:56 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9S5utnF084446; Sat, 28 Oct 2017 05:56:55 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9S5utBR084444; Sat, 28 Oct 2017 05:56:55 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201710280556.v9S5utBR084444@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sat, 28 Oct 2017 05:56:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453046 - head/textproc/jshon X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: head/textproc/jshon X-SVN-Commit-Revision: 453046 X-SVN-Commit-Repository: ports 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.23 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: Sat, 28 Oct 2017 05:56:56 -0000 Author: tcberner Date: Sat Oct 28 05:56:54 2017 New Revision: 453046 URL: https://svnweb.freebsd.org/changeset/ports/453046 Log: Update textproc/jshon to 20160111.2 PR: 223280 Submitted by: kalten@gmx.at Modified: head/textproc/jshon/Makefile head/textproc/jshon/distinfo Modified: head/textproc/jshon/Makefile ============================================================================== --- head/textproc/jshon/Makefile Sat Oct 28 05:05:01 2017 (r453045) +++ head/textproc/jshon/Makefile Sat Oct 28 05:56:54 2017 (r453046) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= jshon -PORTVERSION= 20131105 +DISTVERSION= 20160111.2 CATEGORIES= textproc MAINTAINER= ports@FreeBSD.org @@ -12,18 +12,37 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjansson.so:devel/jansson +COMMIT_HASH= 783d3bf +GH_TAGNAME= ${COMMIT_HASH} + +USES= gmake USE_GITHUB= yes GH_ACCOUNT= keenerd -USES= gmake +OPTIONS_DEFINE= ZSH +OPTIONS_DEFAULT= CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/jshon man/man1/jshon.1.gz +ZSH_PLIST_FILES= share/zsh/site-functions/jshon_zsh_completion + +pre-configure: + @${REINPLACE_CMD} -e 's|^\(#define JSHONVER \).*|\1"${PORTVERSION}-${COMMIT_HASH}"|' \ + -e 's|\({printf("%\)i\(\\n", JSHONVER); exit(0);}\)|\1s\2|' \ + ${WRKSRC}/jshon.c + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +post-install-ZSH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${WRKSRC}/jshon_zsh_completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ .include Modified: head/textproc/jshon/distinfo ============================================================================== --- head/textproc/jshon/distinfo Sat Oct 28 05:05:01 2017 (r453045) +++ head/textproc/jshon/distinfo Sat Oct 28 05:56:54 2017 (r453046) @@ -1,2 +1,3 @@ -SHA256 (keenerd-jshon-20131105_GH0.tar.gz) = 28420f6f02c6b762732898692cc0b0795cfe1a59fbfb24e67b80f332cf6d4fa2 -SIZE (keenerd-jshon-20131105_GH0.tar.gz) = 12870 +TIMESTAMP = 1509170073 +SHA256 (keenerd-jshon-20160111.2-783d3bf_GH0.tar.gz) = b50bcab22ff609bf54b09f580b2882a5aa2c1882205b6914d766495e2d4765e8 +SIZE (keenerd-jshon-20160111.2-783d3bf_GH0.tar.gz) = 14123