git: da5357de393c - main - sysutils/limine: Modern, advanced, portable, multiprotocol bootloader

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Fri, 29 Sep 2023 15:45:21 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=da5357de393c1423c2b7fef13df9555fce02f38c

commit da5357de393c1423c2b7fef13df9555fce02f38c
Author:     mintsuki <mintsuki@protonmail.com>
AuthorDate: 2023-09-29 06:40:00 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-09-29 15:44:12 +0000

    sysutils/limine: Modern, advanced, portable, multiprotocol bootloader
    
    https://limine-bootloader.org/
    
    PR:             272121
---
 sysutils/Makefile         |  1 +
 sysutils/limine/Makefile  | 24 ++++++++++++++++++++++++
 sysutils/limine/distinfo  |  3 +++
 sysutils/limine/pkg-descr |  3 +++
 sysutils/limine/pkg-plist | 16 ++++++++++++++++
 5 files changed, 47 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index df975df9f9b9..94beb45cc986 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -677,6 +677,7 @@
     SUBDIR += libtree
     SUBDIR += libudisks
     SUBDIR += liburcu
+    SUBDIR += limine
     SUBDIR += lineak-defaultplugin
     SUBDIR += lineak-xosdplugin
     SUBDIR += lineakd
diff --git a/sysutils/limine/Makefile b/sysutils/limine/Makefile
new file mode 100644
index 000000000000..c28c63e6f6c0
--- /dev/null
+++ b/sysutils/limine/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	limine
+DISTVERSION=	5.20230928.2
+CATEGORIES=	sysutils
+MASTER_SITES=	https://github.com/${PORTNAME}-bootloader/${PORTNAME}/releases/download/v${DISTVERSION}/
+
+MAINTAINER=	mintsuki@protonmail.com
+COMMENT=	Modern, advanced, portable, multiprotocol bootloader
+WWW=		https://limine-bootloader.org/
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	mtools:emulators/mtools \
+		nasm:devel/nasm
+
+USES=		gmake
+GNU_CONFIGURE=	yes
+
+CONFIGURE_ARGS=	--enable-all
+MAKEFILE=	GNUmakefile
+
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.mk>
diff --git a/sysutils/limine/distinfo b/sysutils/limine/distinfo
new file mode 100644
index 000000000000..7a65e4b15907
--- /dev/null
+++ b/sysutils/limine/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695968780
+SHA256 (limine-5.20230928.2.tar.gz) = 265ccd6ecd6c3030570fb4f638ca9200f5cf11d2c31ca520e2c5251b123ce957
+SIZE (limine-5.20230928.2.tar.gz) = 2109861
diff --git a/sysutils/limine/pkg-descr b/sysutils/limine/pkg-descr
new file mode 100644
index 000000000000..5e2dbcae0d90
--- /dev/null
+++ b/sysutils/limine/pkg-descr
@@ -0,0 +1,3 @@
+Limine is a modern, advanced, portable, multiprotocol bootloader
+mainly targetting OS/kernel developers, but also capable of being
+a fast Linux bootloader, amongst other things.
diff --git a/sysutils/limine/pkg-plist b/sysutils/limine/pkg-plist
new file mode 100644
index 000000000000..b13130917a0d
--- /dev/null
+++ b/sysutils/limine/pkg-plist
@@ -0,0 +1,16 @@
+bin/limine
+include/limine.h
+share/doc/limine/CONFIG.md
+share/doc/limine/LICENSE
+share/doc/limine/PHILOSOPHY.md
+share/doc/limine/PROTOCOL.md
+share/doc/limine/README.md
+share/limine/BOOTAA64.EFI
+share/limine/BOOTIA32.EFI
+share/limine/BOOTRISCV64.EFI
+share/limine/BOOTX64.EFI
+share/limine/limine-bios-cd.bin
+share/limine/limine-bios-pxe.bin
+share/limine/limine-bios.sys
+share/limine/limine-uefi-cd.bin
+man/man1/limine.1.gz