1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:37:46 +00:00

Ports: Add GNU indent

This commit is contained in:
Brendan Coles 2020-11-09 10:52:11 +00:00 committed by Andreas Kling
parent 32957745fb
commit 7fbf890717
3 changed files with 38 additions and 0 deletions

17
Ports/indent/package.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash ../.port_include.sh
port=indent
version=2.2.11
files="https://ftp.gnu.org/gnu/indent/indent-${version}.tar.gz indent-${version}.tar.gz
https://ftp.gnu.org/gnu/indent/indent-${version}.tar.gz.sig indent-${version}.tar.gz.sig
https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
useconfigure=true
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg indent-${version}.tar.gz.sig"
man_dir=$SERENITY_ROOT/Build/Root/usr/local/share/man/man1/
post_install() {
mkdir -p "${man_dir}"
cp "indent-${version}/man/indent.1" "${man_dir}"
}