Ports: Add GnuCOBOL
This commit is contained in:
parent
ce80f0d552
commit
ee25d6940f
Notes:
sideshowbarker
2024-07-18 20:38:57 +09:00
Author: https://github.com/bcoles Commit: https://github.com/SerenityOS/serenity/commit/ee25d6940fb Pull-request: https://github.com/SerenityOS/serenity/pull/6193 Reviewed-by: https://github.com/gmta
4 changed files with 30 additions and 0 deletions
|
@ -31,6 +31,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`genemu`](genemu) | Genesis / MegaDrive Emulator | | https://github.com/rasky/genemu |
|
||||
| [`git`](git/) | Git | 2.26.0 | https://git-scm.com/ |
|
||||
| [`gmp`](gmp/) | GNU Multiple Precision Arithmetic Library | 6.2.1 | https://gmplib.org/ |
|
||||
| [`gnucobol`](gnucobol/) | GnuCOBOL | 3.1.2 | https://gnucobol.sourceforge.io/ |
|
||||
| [`gnuplot`](gnuplot/) | Gnuplot | 5.2.8 | http://www.gnuplot.info/ |
|
||||
| [`grep`](grep/) | GNU Grep | 2.5.4 | https://www.gnu.org/software/grep/ |
|
||||
| [`hatari`](hatari/) | Atari ST/STE/TT/Falcon emulator | 2.4.0-devel | https://hatari.tuxfamily.org/ |
|
||||
|
|
11
Ports/gnucobol/package.sh
Executable file
11
Ports/gnucobol/package.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=gnucobol
|
||||
version=3.1.2
|
||||
useconfigure="true"
|
||||
depends="gmp gcc bash"
|
||||
files="https://ftp.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2 gnucobol-${version}.tar.bz2
|
||||
https://ftp.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2.sig gnucobol-${version}.tar.bz2.sig
|
||||
https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
||||
auth_type="sig"
|
||||
auth_opts="--keyring ./gnu-keyring.gpg gnucobol-${version}.tar.bz2.sig"
|
||||
configopts="--prefix=/usr/local --enable-hardening --disable-rpath --with-gnu-ld --with-dl --with-math=gmp --with-db=no --with-json=no --with-curses=curses"
|
8
Ports/gnucobol/patches/cob-config.patch
Normal file
8
Ports/gnucobol/patches/cob-config.patch
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- gnucobol-3.1.2/bin/cob-config.in 2020-12-23 02:51:16.000000000 -0800
|
||||
+++ gnucobol-3.1.2/bin/cob-config.in 2021-04-08 03:05:22.989720870 -0700
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh
|
||||
+#!/bin/bash
|
||||
#
|
||||
# cob-config
|
||||
#
|
10
Ports/gnucobol/patches/config.sub.patch
Normal file
10
Ports/gnucobol/patches/config.sub.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- gnucobol-3.1.2/build_aux/config.sub 2021-04-08 02:49:20.863867201 -0700
|
||||
+++ gnucobol-3.1.2/build_aux/config.sub 2021-04-08 02:49:22.715869376 -0700
|
||||
@@ -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* \
|
Loading…
Add table
Reference in a new issue