summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/gperf/package.sh11
2 files changed, 12 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 8d14e309fc..3ed6887c57 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -52,6 +52,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`gnucobol`](gnucobol/) | GnuCOBOL | 3.1.2 | https://gnucobol.sourceforge.io/ |
| [`gnupg`](gnupg/) | GnuPG | 2.3.0 | https://gnupg.org/software/index.html |
| [`gnuplot`](gnuplot/) | Gnuplot | 5.2.8 | http://www.gnuplot.info/ |
+| [`gperf`](gperf/) | GNU gperf | 3.1 | https://www.gnu.org/software/gperf/ |
| [`grep`](grep/) | GNU Grep | 2.5.4 | https://www.gnu.org/software/grep/ |
| [`griffon`](griffon/) | The Griffon Legend | 1.0 | https://www.scummvm.org/games/#games-griffon |
| [`gsl`](gsl/) | GNU Scientific Library | 2.7 | https://www.gnu.org/software/gsl/ |
diff --git a/Ports/gperf/package.sh b/Ports/gperf/package.sh
new file mode 100755
index 0000000000..5a5883e5f7
--- /dev/null
+++ b/Ports/gperf/package.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=gperf
+version=3.1
+useconfigure="true"
+depends=()
+files="https://ftpmirror.gnu.org/gnu/gperf/gperf-${version}.tar.gz gperf-${version}.tar.gz
+https://ftpmirror.gnu.org/gnu/gperf/gperf-${version}.tar.gz.sig gperf-${version}.tar.gz.sig
+https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
+auth_type="sig"
+auth_opts=("--keyring" "./gnu-keyring.gpg" "gperf-${version}.tar.gz.sig")
+configopts=("--prefix=/usr/local")