diff options
author | Larkin <45925460+larb0b@users.noreply.github.com> | 2019-09-24 02:56:39 -0400 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-24 08:56:39 +0200 |
commit | 18249b599634be4162b4ddbb32f002c75ee07060 (patch) | |
tree | dd7c700f0f0833ffffc782995da3108d82c43a3e /Ports/figlet | |
parent | d5f1c57fe2cc7cf863b4c99b4d11460f3b547c2c (diff) | |
download | serenity-18249b599634be4162b4ddbb32f002c75ee07060.zip |
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.
Diffstat (limited to 'Ports/figlet')
-rwxr-xr-x | Ports/figlet/figlet.sh | 23 | ||||
-rwxr-xr-x | Ports/figlet/package.sh | 5 | ||||
-rw-r--r-- | Ports/figlet/patches/figlet-no-toilet-fonts.patch (renamed from Ports/figlet/figlet-no-toilet-fonts.patch) | 0 |
3 files changed, 5 insertions, 23 deletions
diff --git a/Ports/figlet/figlet.sh b/Ports/figlet/figlet.sh deleted file mode 100755 index f38af411ed..0000000000 --- a/Ports/figlet/figlet.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -PORT_DIR=figlet -INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/" - -fetch() { - run_fetch_web "http://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz" - - run_patch figlet-no-toilet-fonts.patch -p1 -} - -configure() { - echo "No configure script" -} - -build() { - run_make CC=i686-pc-serenity-gcc LD=i686-pc-serenity-gcc -} - -install() { - run_make_install -} - -. ../.port_include.sh diff --git a/Ports/figlet/package.sh b/Ports/figlet/package.sh new file mode 100755 index 0000000000..a971e02142 --- /dev/null +++ b/Ports/figlet/package.sh @@ -0,0 +1,5 @@ +#!/bin/bash ../.port_include.sh +port=figlet +version=2.2.5 +files="http://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz figlet-2.2.5.tar.gz" +makeopts="CC=i686-pc-serenity-gcc LD=i686-pc-serenity-gcc" diff --git a/Ports/figlet/figlet-no-toilet-fonts.patch b/Ports/figlet/patches/figlet-no-toilet-fonts.patch index 44cad8fc8e..44cad8fc8e 100644 --- a/Ports/figlet/figlet-no-toilet-fonts.patch +++ b/Ports/figlet/patches/figlet-no-toilet-fonts.patch |