Date: Thu, 15 Apr 2021 08:43:21 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0d32a5b3a674 - main - devel/envsubst: new port Message-ID: <202104150843.13F8hLsi083679@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d32a5b3a674a636b4a42d237b56d2dcd0847b4e commit 0d32a5b3a674a636b4a42d237b56d2dcd0847b4e Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2021-04-15 08:41:48 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> 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 <bsd.port.mk> + 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104150843.13F8hLsi083679>