feat: ports - git port
This commit is contained in:
@@ -38,11 +38,21 @@ PORTS := \
|
||||
media-libs/libnsgif \
|
||||
media-libs/libnsbmp \
|
||||
www-client/netsurf \
|
||||
games-fps/doom
|
||||
games-fps/doom \
|
||||
dev-vcs/git
|
||||
|
||||
# Bundle directories are keyed by port name, not category path.
|
||||
PORT_NAMES := $(notdir $(PORTS))
|
||||
|
||||
# Ports that install themselves rather than producing an app bundle: command
|
||||
# line tools, which land in 0:/os/ with no manifest and no launcher icon.
|
||||
# `install` below delegates to their own install target.
|
||||
#
|
||||
# www-client/netsurf is deliberately NOT here: it also has an install target,
|
||||
# but it drops a resource tree next to the binary and is not something every
|
||||
# image should carry, so it stays a manual `make -C www-client/netsurf install`.
|
||||
SELF_INSTALL_PORTS := dev-vcs/git
|
||||
|
||||
.PHONY: all clean install $(PORTS) $(PORT_NAMES)
|
||||
|
||||
all: $(PORTS)
|
||||
@@ -68,6 +78,9 @@ install: all
|
||||
echo "installed port: $$p"; \
|
||||
fi; \
|
||||
done
|
||||
@for p in $(SELF_INSTALL_PORTS); do \
|
||||
$(MAKE) -C $$p install; \
|
||||
done
|
||||
@echo "ports: installed into $(MONTAUKOS)/programs/bin/apps/"
|
||||
@echo "ports: run 'make ramdisk' (or 'make') in $(MONTAUKOS) to rebuild the image"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user