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/less | |
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/less')
-rwxr-xr-x | Ports/less/less.sh | 17 | ||||
-rwxr-xr-x | Ports/less/package.sh | 6 |
2 files changed, 6 insertions, 17 deletions
diff --git a/Ports/less/less.sh b/Ports/less/less.sh deleted file mode 100755 index 9be9766b29..0000000000 --- a/Ports/less/less.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -PORT_DIR=less -INSTALLOPTS="DESTDIR=$SERENITY_ROOT/Root/" - -fetch() { - run_fetch_web "http://ftp.gnu.org/gnu/less/less-530.tar.gz" -} -configure() { - run_configure_autotools -} -build() { - run_make -} -install() { - run_make_install -} -. ../.port_include.sh diff --git a/Ports/less/package.sh b/Ports/less/package.sh new file mode 100755 index 0000000000..2cb55c6142 --- /dev/null +++ b/Ports/less/package.sh @@ -0,0 +1,6 @@ +#!/bin/bash ../.port_include.sh +port=less +version=530 +useconfigure="true" +files="http://ftp.gnu.org/gnu/less/less-530.tar.gz less-530.tar.gz" +depends="ncurses" |