From 0d32a5b3a674a636b4a42d237b56d2dcd0847b4e Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 15 Apr 2021 10:41:48 +0200 Subject: 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(+) create mode 100644 devel/envsubst/Makefile create mode 100644 devel/envsubst/distinfo create mode 100644 devel/envsubst/pkg-descr 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 -- cgit v1.2.3