1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 09:47:45 +00:00

Ports: Switch to new ports system (#594)

Much redundancy is removed from package scripts with this system.
It also supports simple dependency management, uninstalling (through
BSD ports style plist files), cleaning up after itself (with clean,
clean_dist, clean_all commands), etc.
This commit is contained in:
Larkin 2019-09-24 02:56:39 -04:00 committed by Andreas Kling
parent d5f1c57fe2
commit 18249b5996
47 changed files with 6563 additions and 428 deletions

View file

@ -1,15 +0,0 @@
#!/bin/sh
PORT_DIR=SerenityDOOM
fetch() {
run_fetch_git "https://github.com/SerenityOS/SerenityDOOM.git"
}
configure() {
echo ""
}
build() {
run_make -C doomgeneric/
}
install() {
run_make_install -C doomgeneric/ DESTDIR="$SERENITY_ROOT"/Root
}
. ../.port_include.sh

8
Ports/doom/package.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash ../.port_include.sh
port=doom
workdir=SerenityDOOM-master
version=serenity-git
curlopts="-L"
files="https://github.com/SerenityOS/SerenityDOOM/archive/master.tar.gz doom-git.tar.gz"
makeopts="-C doomgeneric/"
installopts="-C doomgeneric/"