diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2023-05-20 07:25:54 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2023-05-20 07:25:54 +0000 |
commit | 572a7974411049e12926cb17d5c02b6f25cc8738 (patch) | |
tree | 86e05961cb95adc0a5a601029975452ccb8cfe91 | |
parent | 903489fdada53e5a882d2b7cac9256cd68725a34 (diff) |
ports-mgmt/submodules2tuple: Add new port
FreeBSD ports developers often encounter projects hosted on GitHub that
make use of submodules. Manually creating the GH_TUPLE values for such
projects can be time-consuming and error-prone, especially when dealing
with recursive submodules. This script simplifies the process by
automating the generation of these values, saving developers valuable
time and effort.
-rw-r--r-- | ports-mgmt/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/submodules2tuple/Makefile | 26 | ||||
-rw-r--r-- | ports-mgmt/submodules2tuple/distinfo | 3 | ||||
-rw-r--r-- | ports-mgmt/submodules2tuple/pkg-descr | 6 |
4 files changed, 36 insertions, 0 deletions
diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index c1cf1229dd52..82ff597733cc 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -76,6 +76,7 @@ SUBDIR += rc-subr-jail SUBDIR += reprise SUBDIR += sccache-overlay + SUBDIR += submodules2tuple SUBDIR += synth SUBDIR += wanted-ports diff --git a/ports-mgmt/submodules2tuple/Makefile b/ports-mgmt/submodules2tuple/Makefile new file mode 100644 index 000000000000..2d8ad9a6ecf7 --- /dev/null +++ b/ports-mgmt/submodules2tuple/Makefile @@ -0,0 +1,26 @@ +PORTNAME= submodules2tuple +PORTVERSION= 1.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= ports-mgmt + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= GH_TUPLE generator for GitHub projects with submodules +WWW= https://github.com/ehaupt/submodules2tuple + +LICENSE= BSD3CLAUSE + +RUN_DEPENDS= bash:shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= ehaupt + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/submodules2tuple + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/submodules2tuple \ + ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/ports-mgmt/submodules2tuple/distinfo b/ports-mgmt/submodules2tuple/distinfo new file mode 100644 index 000000000000..e93c1cdf6ff1 --- /dev/null +++ b/ports-mgmt/submodules2tuple/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1684410477 +SHA256 (ehaupt-submodules2tuple-v1.0.0_GH0.tar.gz) = f21c84043a279e6e62173186f32a0fc70ef0ab653a5f10aa7cba694688b93bf6 +SIZE (ehaupt-submodules2tuple-v1.0.0_GH0.tar.gz) = 2333 diff --git a/ports-mgmt/submodules2tuple/pkg-descr b/ports-mgmt/submodules2tuple/pkg-descr new file mode 100644 index 000000000000..d37c37bebea6 --- /dev/null +++ b/ports-mgmt/submodules2tuple/pkg-descr @@ -0,0 +1,6 @@ +FreeBSD ports developers often encounter projects hosted on GitHub that +make use of submodules. Manually creating the GH_TUPLE values for such +projects can be time-consuming and error-prone, especially when dealing +with recursive submodules. This script simplifies the process by +automating the generation of these values, saving developers valuable +time and effort. |