summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/hexedit/package.sh11
2 files changed, 12 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 689ccd2a7e..a4c80b6d9b 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -100,6 +100,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`halflife`](halflife/) | Half-Life | 2022.12.26 | https://github.com/FWGS/hlsdk-portable |
| [`harfbuzz`](harfbuzz/) | HarfBuzz | 4.3.0 | https://github.com/harfbuzz/harfbuzz |
| [`hatari`](hatari/) | Atari ST/STE/TT/Falcon emulator | 2.4.0-devel | https://hatari.tuxfamily.org/ |
+| [`hexedit`](hexedit/) | A console-based hex editor | 1.6 | https://github.com/pixel/hexedit |
| [`imagemagick`](imagemagick/) | ImageMagick | 7.1.0-29 | https://imagemagick.org |
| [`imgcat`](imgcat/) | imgcat | 2.5.1 | https://github.com/eddieantonio/imgcat |
| [`indent`](indent/) | GNU indent | 2.2.11 | https://www.gnu.org/software/indent/ |
diff --git a/Ports/hexedit/package.sh b/Ports/hexedit/package.sh
new file mode 100755
index 0000000000..eab11d8f9f
--- /dev/null
+++ b/Ports/hexedit/package.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port='hexedit'
+version='1.6'
+files="https://github.com/pixel/hexedit/archive/refs/tags/${version}.tar.gz hexedit-${version}.tar.gz 598906131934f88003a6a937fab10542686ce5f661134bc336053e978c4baae3"
+auth_type='sha256'
+depends=("ncurses")
+useconfigure='true'
+
+pre_patch() {
+ run ./autogen.sh
+}