commit 5507cda06193f5480659c7ab8f3be1a95af17635 Author: Steffen Nurpmeso <steffen@sdaoden.eu> Date: Wed Dec 30 22:27:27 2020 +0100 nawk: new port diff --git a/nawk/.footprint b/nawk/.footprint new file mode 100644 index 000000000..3be376892 --- /dev/null +++ b/nawk/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/nawk +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/nawk.1.gz diff --git a/nawk/.signature b/nawk/.signature new file mode 100644 index 000000000..a5447e9ed --- /dev/null +++ b/nawk/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/stenur.pub +RWQEMWjN1NA43w+srrtkp5N8ZJ5J7vQWxBNm573O5Jj+Rf8goO7Xc8jJAa2BBoatsEZzPyxOWI90S701oU3BP61EHMqfyIdNlgY= +SHA256 (Pkgfile) = f9576b5b7b887dbce155daa7fad91f2c71462b1a540177b097a1cf7dc213ce93 +SHA256 (.footprint) = 1ae93a1207e7107fff9f52ff9a0d9185794ad437058fce391fe5f1582080f5c2 +SHA256 (awk-20201218.tar.gz) = 49fa05e4121197f004c437a35b5e8c9e6b421c1d286549206dd66b1ddbc2cdc3 diff --git a/nawk/Pkgfile b/nawk/Pkgfile new file mode 100644 index 000000000..8e8720e79 --- /dev/null +++ b/nawk/Pkgfile @@ -0,0 +1,21 @@ +# Description: The one, true implementation of AWK +# URL: https://github.com/onetrueawk/ +# (Really: https://www.cs.princeton.edu/~bwk/btl.mirror/) +# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu + +name=nawk +version=20201218 +realn=awk +gitver=8909e00b57874e5858a210bc3a7e9e56e10eda35 +release=1 +source=(https://github.com/onetrueawk/${realn}/archive/${gitver}/${realn}-${version}.tar.gz) + +build() { + cd ${realn}-${gitver} + + make + install -D a.out $PKG/usr/bin/$name + install -D -m 0644 awk.1 $PKG/usr/share/man/man1/$name.1 +} + +# s-sh-mode