Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/filesystems/darling-dmg/Makefile
18157 views
PORTNAME=	darling-dmg
DISTVERSIONPREFIX=v
DISTVERSION=	1.0.4
PORTREVISION=	1
CATEGORIES=	filesystems sysutils

MAINTAINER=	[email protected]
COMMENT=	FUSE module for .dmg files (containing an HFS+ filesystem)
WWW=		https://github.com/darlinghq/darling-dmg

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN=		Fails to build with ICU 76.1

BUILD_DEPENDS=	libxml2>0:textproc/libxml2
LIB_DEPENDS=	libicuuc.so:devel/icu

USES=		cmake fuse ssl
USE_GNOME=	libxml2

USE_GITHUB=	yes
GH_ACCOUNT=	darlinghq
GH_PROJECT=	darling-dmg
GH_TAGNAME=	a36bf0c

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>