Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2021 07:56:06 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566832 - head/devel/jsonnet
Message-ID:  <202103010756.1217u68X097239@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Mon Mar  1 07:56:05 2021
New Revision: 566832
URL: https://svnweb.freebsd.org/changeset/ports/566832

Log:
  devel/jsonnet: Add jsonnetfmt binary to v0.15.0 package
  
  The 'jsonnet fmt' subcommand was moved to its own binary in v0.13.0
  
  PR:	253761
  Submitted by:	petteri.valkonen@iki.fi
  Approved by:	gasol.wu@gmail.com (maintainer, timeout > 1 week)

Modified:
  head/devel/jsonnet/Makefile

Modified: head/devel/jsonnet/Makefile
==============================================================================
--- head/devel/jsonnet/Makefile	Mon Mar  1 07:54:48 2021	(r566831)
+++ head/devel/jsonnet/Makefile	Mon Mar  1 07:56:05 2021	(r566832)
@@ -4,6 +4,7 @@
 PORTNAME=	jsonnet
 PORTVERSION=	0.15.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	gasol.wu@gmail.com
@@ -13,19 +14,20 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		compiler:c++11-lib gmake
+USE_CXXSTD=	c++11
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
 
-USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
 
-ALL_TARGET=	jsonnet libjsonnet.so
+ALL_TARGET=	jsonnet jsonnetfmt libjsonnet.so
 CXXFLAGS+=	-fPIC -Iinclude -Ithird_party/md5
-PLIST_FILES=	bin/jsonnet include/libjsonnet.h lib/libjsonnet.so
+PLIST_FILES=	bin/jsonnet bin/jsonnetfmt include/libjsonnet.h lib/libjsonnet.so
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/jsonnetfmt ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/include/lib${PORTNAME}.h ${STAGEDIR}${PREFIX}/include
 	${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib
 



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