diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index c1cf1229dd52..82ff597733cc 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -1,82 +1,83 @@ COMMENT = Ports for managing, installing, and developing FreeBSD ports and packages SUBDIR += bsdadminscripts2 SUBDIR += caronade SUBDIR += create-rb-port SUBDIR += dialog4ports SUBDIR += dialog4ports-static SUBDIR += distilator SUBDIR += fallout SUBDIR += fastest_pkg SUBDIR += freebsd-bugzilla-cli SUBDIR += genpatch SUBDIR += genplist SUBDIR += hs-cabal2tuple SUBDIR += hs-panopticum SUBDIR += jailaudit SUBDIR += lsknobs SUBDIR += mkreadmes SUBDIR += modules2tuple SUBDIR += octopkg SUBDIR += p5-FreeBSD-Ports SUBDIR += p5-FreeBSD-Ports-INDEXhash SUBDIR += packagekit SUBDIR += packagekit-qt SUBDIR += parfetch-overlay SUBDIR += pchecker SUBDIR += pkg SUBDIR += pkg-devel SUBDIR += pkg-graph SUBDIR += pkg-provides SUBDIR += pkg-rmleaf SUBDIR += pkg_cleanup SUBDIR += pkg_cutleaves SUBDIR += pkg_jail SUBDIR += pkg_replace SUBDIR += pkg_rmleaves SUBDIR += pkg_search SUBDIR += pkg_tree SUBDIR += pkgcompare SUBDIR += pkgs_which SUBDIR += port-authoring-tools SUBDIR += port-index-uniquifier SUBDIR += port-maintenance-tools SUBDIR += portal SUBDIR += portconf SUBDIR += portconfig SUBDIR += portdowngrade SUBDIR += portest SUBDIR += portfind SUBDIR += portfmt SUBDIR += portgraph SUBDIR += portgrep SUBDIR += portless SUBDIR += portlint SUBDIR += portmaster SUBDIR += portrac SUBDIR += ports-tools SUBDIR += portscout SUBDIR += portsdb SUBDIR += portsearch SUBDIR += portshaker SUBDIR += portshaker-config SUBDIR += portsnap SUBDIR += portsreinstall SUBDIR += porttools SUBDIR += porttree SUBDIR += portupdate-scan SUBDIR += portupgrade SUBDIR += portupgrade-devel SUBDIR += poudriere SUBDIR += poudriere-devel SUBDIR += psearch SUBDIR += py-FreeBSD-ports SUBDIR += py-pytoport SUBDIR += py-skog SUBDIR += rc-subr-jail SUBDIR += reprise SUBDIR += sccache-overlay + SUBDIR += submodules2tuple SUBDIR += synth SUBDIR += wanted-ports .include 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 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.