Install MacPorts
Under a terminal (Press Cmd+Space to open spotlight search, and type terminal and hit return) , type:
mkdir tmpGabedit
cd tmpGabedit
sudo port install wget
wget https://github.com/allouchear/gabedit/raw/main/MacOS/xBuildGabeditPort
chmod u+x ./xBuildGabeditPort
./xBuildGabeditPort
Please note, that install : wget, mesa , GLU, libtool, pkgconfig and gtk2 using port, download and install gtkglext and finally Gabedit.
After installation, you can remove tmpGabedit directory.
NB : If you have a compilation error, add -Wno-error=implicit-function-declaration in the CONFIG file (Thanks to Alessandra Canadian for reporting this issue and its solution).
Install PlayOnMac
PlayOnMac can execute Windows programs under Mac
Download and install Windows version of Gabedit under PlayOnMac