summaryrefslogtreecommitdiff
path: root/sysutils/darling-dmg/Makefile
blob: c208440e12336c306ddc54b6b5a1956cb48b761f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PORTNAME=	darling-dmg
DISTVERSION=	g20221019
PORTREVISION=	2
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>