Ports: Add mawk port (#1117)

This commit is contained in:
Brian Callahan 2020-01-23 14:41:40 -05:00 committed by Andreas Kling
parent 3de5439579
commit b90af9b1ed
Notes: sideshowbarker 2024-07-19 09:52:04 +09:00
2 changed files with 15 additions and 0 deletions

5
Ports/mawk/package.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash ../.port_include.sh
port=mawk
version=1.3.4-20200120
files="https://invisible-mirror.net/archives/mawk/mawk-1.3.4-20200120.tgz mawk-1.3.4-20200120.tgz"
useconfigure=true

View file

@ -0,0 +1,10 @@
--- mawk-1.3.4-20200120/config.sub.orig Wed Jan 22 22:00:37 2020
+++ mawk-1.3.4-20200120/config.sub Wed Jan 22 22:00:46 2020
@@ -1339,6 +1339,7 @@
# Each alternative MUST end in a * to match a version number.
# sysv* is not here because it comes later, after sysvr4.
gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
+ | serenity* \
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | kopensolaris* | plan9* \