From owner-dev-commits-ports-all@freebsd.org Thu Apr 15 08:43:21 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A1F25E5F52; Thu, 15 Apr 2021 08:43:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLXtK2bY4z3LYq; Thu, 15 Apr 2021 08:43:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4BE045A75; Thu, 15 Apr 2021 08:43:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13F8hLbP083680; Thu, 15 Apr 2021 08:43:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13F8hLsi083679; Thu, 15 Apr 2021 08:43:21 GMT (envelope-from git) Date: Thu, 15 Apr 2021 08:43:21 GMT Message-Id: <202104150843.13F8hLsi083679@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 0d32a5b3a674 - main - devel/envsubst: new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d32a5b3a674a636b4a42d237b56d2dcd0847b4e Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2021 08:43:21 -0000 The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d32a5b3a674a636b4a42d237b56d2dcd0847b4e commit 0d32a5b3a674a636b4a42d237b56d2dcd0847b4e Author: Baptiste Daroussin AuthorDate: 2021-04-15 08:41:48 +0000 Commit: Baptiste Daroussin CommitDate: 2021-04-15 08:43:08 +0000 devel/envsubst: new port The envsubst utility is designed to take a set of strings as input and replace variables in them, in the same way that shells do variable substitution. Additionally, the variables that will be substituted can be restricted to a defined set. WWW: https://github.com/kaniini/envsubst --- devel/Makefile | 1 + devel/envsubst/Makefile | 22 ++++++++++++++++++++++ devel/envsubst/distinfo | 3 +++ devel/envsubst/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8e9b0a216746..2c110b86fa44 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -585,6 +585,7 @@ SUBDIR += embb SUBDIR += emscripten SUBDIR += entt + SUBDIR += envsubst SUBDIR += epl.el SUBDIR += epm SUBDIR += eric6 diff --git a/devel/envsubst/Makefile b/devel/envsubst/Makefile new file mode 100644 index 000000000000..155c1bf44ca5 --- /dev/null +++ b/devel/envsubst/Makefile @@ -0,0 +1,22 @@ +PORTNAME= envsubst +PORTVERSION= 0.1 + +CATEGORIES= devel +MASTER_SITES= https://distfiles.dereferenced.org/envsubst/ + +MAINTAINER= bapt@FreeBSD.org +COMMENT= perform variable substitutions on input + +USES= tar:xz +LICENSE= ISCL + +PLIST_FILES= bin/isc-${PORTNAME} + +ALL_TARGET= ${PORTNAME} + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/isc-${PORTNAME} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/isc-${PORTNAME} + +.include + diff --git a/devel/envsubst/distinfo b/devel/envsubst/distinfo new file mode 100644 index 000000000000..4023d0bf4c3e --- /dev/null +++ b/devel/envsubst/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1618475551 +SHA256 (envsubst-0.1.tar.xz) = fd5486d2df94a7ac5240a87b86740cac1389f247b623431a367c362c3831ec2a +SIZE (envsubst-0.1.tar.xz) = 2176 diff --git a/devel/envsubst/pkg-descr b/devel/envsubst/pkg-descr new file mode 100644 index 000000000000..f12ced1f6520 --- /dev/null +++ b/devel/envsubst/pkg-descr @@ -0,0 +1,6 @@ +The envsubst utility is designed to take a set of strings as input and replace +variables in them, in the same way that shells do variable substitution. +Additionally, the variables that will be substituted can be restricted to a +defined set. + +WWW: https://github.com/kaniini/envsubst