Date: Sat, 22 Oct 2022 15:39:54 GMT From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3bf60b61d84a - main - Add sysutils/darling-dmg: FUSE module for .dmg files Message-ID: <202210221539.29MFdsDF010096@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=3bf60b61d84a6947ec0f95a53b88446b391183a8 commit 3bf60b61d84a6947ec0f95a53b88446b391183a8 Author: Martin Filla <freebsd@sysctl.cz> AuthorDate: 2022-10-22 15:38:22 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-10-22 15:39:41 +0000 Add sysutils/darling-dmg: FUSE module for .dmg files PR: 267207 --- sysutils/Makefile | 1 + sysutils/darling-dmg/Makefile | 32 +++++++++++++++++++++++++ sysutils/darling-dmg/distinfo | 3 +++ sysutils/darling-dmg/files/patch-CMakeLists.txt | 16 +++++++++++++ sysutils/darling-dmg/pkg-descr | 7 ++++++ 5 files changed, 59 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index a08822208c30..872a0636957d 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -249,6 +249,7 @@ SUBDIR += daggy SUBDIR += damager SUBDIR += dar + SUBDIR += darling-dmg SUBDIR += datadog-agent SUBDIR += datadog-integrations SUBDIR += dateutils diff --git a/sysutils/darling-dmg/Makefile b/sysutils/darling-dmg/Makefile new file mode 100644 index 000000000000..14b4fe6572dd --- /dev/null +++ b/sysutils/darling-dmg/Makefile @@ -0,0 +1,32 @@ +PORTNAME= darling-dmg +DISTVERSION= g20221019 +CATEGORIES= sysutils + +MAINTAINER= freebsd@sysctl.cz +COMMENT= FUSE module for .dmg files (containing an HFS+ filesystem) +WWW= https://github.com/darlinghq/darling-dmg + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= libxml2>0:textproc/libxml2 +LIB_DEPENDS= libicuuc.so:devel/icu + +USES= cmake fuse +USE_GNOME= libxml2 + +USE_GITHUB= yes +GH_ACCOUNT= darlinghq +GH_PROJECT= darling-dmg +GH_TAGNAME= 8a2831 + +PLIST_FILES= bin/darling-dmg \ + lib/libdmg.so + +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/CMakeLists.txt + +.include <bsd.port.post.mk> diff --git a/sysutils/darling-dmg/distinfo b/sysutils/darling-dmg/distinfo new file mode 100644 index 000000000000..a5b295b6ceeb --- /dev/null +++ b/sysutils/darling-dmg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666204751 +SHA256 (darlinghq-darling-dmg-g20221019-8a2831_GH0.tar.gz) = 3e6cad04474492469a6095111d490063860b9e47860243cafebd51874c614371 +SIZE (darlinghq-darling-dmg-g20221019-8a2831_GH0.tar.gz) = 55868 diff --git a/sysutils/darling-dmg/files/patch-CMakeLists.txt b/sysutils/darling-dmg/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..bfb3590a26cf --- /dev/null +++ b/sysutils/darling-dmg/files/patch-CMakeLists.txt @@ -0,0 +1,16 @@ +--- CMakeLists.txt.orig 2019-07-20 22:33:49 UTC ++++ CMakeLists.txt +@@ -41,7 +41,12 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} + "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/") + + add_definitions(-D_FILE_OFFSET_BITS=64) +-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -ggdb -O0") ++SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") ++ ++if(${CMAKE_SYSTEM_NAME} MATCHES FreeBSD) ++ include_directories("%%LOCALBASE%%//include") ++ link_directories("%%LOCALBASE%%/lib") ++endif() + + include(FindLibxml2) + diff --git a/sysutils/darling-dmg/pkg-descr b/sysutils/darling-dmg/pkg-descr new file mode 100644 index 000000000000..0a7d431c5991 --- /dev/null +++ b/sysutils/darling-dmg/pkg-descr @@ -0,0 +1,7 @@ +FUSE module for .dmg files (containing an HFS+ filesystem) + +Supported file types + +* DMG (UDIF) files containing an Apple Disk Image. +* Apple Disk Images containing an HFS+/HFSX file system. +* HFS+/HFSX file systems (incl. file systems embedded within HFS).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210221539.29MFdsDF010096>