diff options
Diffstat (limited to 'sysutils/fwupd-efi')
| -rw-r--r-- | sysutils/fwupd-efi/Makefile | 45 | ||||
| -rw-r--r-- | sysutils/fwupd-efi/distinfo | 3 | ||||
| -rw-r--r-- | sysutils/fwupd-efi/pkg-descr | 4 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sysutils/fwupd-efi/Makefile b/sysutils/fwupd-efi/Makefile new file mode 100644 index 000000000000..2dcbb12f1e69 --- /dev/null +++ b/sysutils/fwupd-efi/Makefile @@ -0,0 +1,45 @@ +PORTNAME= fwupd-efi +DISTVERSION= 1.8 +PORTREVISION= 1 +CATEGORIES= sysutils + +MAINTAINER= decke@FreeBSD.org +COMMENT= EFI Application used by uefi-capsule plugin in fwupd +WWW= https://fwupd.org/ + +LICENSE= LGPL21 + +BUILD_DEPENDS= ${LOCALBASE}/lib/libgnuefi.a:devel/gnu-efi \ + ${PYTHON_PKGNAMEPREFIX}pefile>0:devel/py-pefile@${PY_FLAVOR} + +USES= meson pkgconfig python shebangfix +USE_GITHUB= yes +GH_ACCOUNT= fwupd + +USE_GCC= yes +SHEBANG_GLOB= *.py + +MESON_ARGS= -Defi-includedir=${LOCALBASE}/include/efi \ + -Defi-ldsdir=${LOCALBASE}/lib \ + -Dgenpeimg=disabled \ + -Dpython=${PYTHON_CMD} + +.include <bsd.port.pre.mk> + +.if ${ARCH} == amd64 +FW_ARCH="x64" +.elif ${ARCH} == i386 +FW_ARCH="ia32" +.else +FW_ARCH=${ARCH} +.endif + +PLIST_FILES= libdata/pkgconfig/fwupd-efi.pc \ + libexec/fwupd/efi/fwupd${FW_ARCH}.efi + +post-patch: + # use objcopy from binutils because GNU specific flags are used + @${REINPLACE_CMD} "s|find_program('objcopy')|find_program('${LOCALBASE}/bin/objcopy')|g" \ + ${WRKSRC}/meson.build + +.include <bsd.port.post.mk> diff --git a/sysutils/fwupd-efi/distinfo b/sysutils/fwupd-efi/distinfo new file mode 100644 index 000000000000..307bb0349680 --- /dev/null +++ b/sysutils/fwupd-efi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1760186942 +SHA256 (fwupd-fwupd-efi-1.8_GH0.tar.gz) = c9f1f9b9b967ea50eb0b478f0d7693d6673d4cd76c8e7eb80c55fc44ec928925 +SIZE (fwupd-fwupd-efi-1.8_GH0.tar.gz) = 46198 diff --git a/sysutils/fwupd-efi/pkg-descr b/sysutils/fwupd-efi/pkg-descr new file mode 100644 index 000000000000..7b7b3dcd77f8 --- /dev/null +++ b/sysutils/fwupd-efi/pkg-descr @@ -0,0 +1,4 @@ +EFI executable for fwupd + +This is part of fwupd and provides a UEFI binary for installing updates using +the UpdateCapsule runtime service. |
