diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-04-15 08:41:48 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2021-04-15 08:43:08 +0000 |
commit | 0d32a5b3a674a636b4a42d237b56d2dcd0847b4e (patch) | |
tree | 0bc6a1cee5020c24eab73d2316fed871360373db | |
parent | ffbc3bd9376a3672e16eafddf55b233b8fed1674 (diff) |
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
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/envsubst/Makefile | 22 | ||||
-rw-r--r-- | devel/envsubst/distinfo | 3 | ||||
-rw-r--r-- | devel/envsubst/pkg-descr | 6 |
4 files changed, 32 insertions, 0 deletions
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 |