Add bmake ports for a minimal Wayland desktop
This commit is contained in:
@@ -6,9 +6,21 @@ root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
[ -f "$root/ports/Mk/mouse.port.mk" ]
|
||||
[ -x "$root/ports/Mk/Scripts/check-plist.sh" ]
|
||||
[ -x "$root/ports/Mk/Scripts/checksum.sh" ]
|
||||
[ -x "$root/ports/Mk/Scripts/checksum-cargo.sh" ]
|
||||
[ -x "$root/ports/Mk/Scripts/fetch.sh" ]
|
||||
[ -x "$root/ports/Mk/Scripts/fetch-cargo.sh" ]
|
||||
[ -x "$root/ports/Mk/Scripts/install-depends.sh" ]
|
||||
[ -x "$root/ports/Mk/Scripts/package.sh" ]
|
||||
[ -x "$root/ports/Mk/Scripts/vendor-cargo.sh" ]
|
||||
|
||||
if grep -REn '(^|[[:space:]])make[[:space:]]+-C' "$root/ports/Mk"; then
|
||||
printf '%s\n' "ports infrastructure must recurse with bmake" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
grep -Fq 'BMAKE?=' "$root/ports/Mk/mouse.port.mk"
|
||||
grep -Fq '"$bmake" -C "$portsdir/$origin" install' \
|
||||
"$root/ports/Mk/Scripts/install-depends.sh"
|
||||
|
||||
find "$root/ports" -mindepth 2 -maxdepth 2 -type d \
|
||||
! -path "$root/ports/Mk/*" -print |
|
||||
|
||||
Reference in New Issue
Block a user