summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-hfsfuse/Makefile
blob: 611c411db968d190ec800470d2d3257fbf5606e5 (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
34
35
36
37
38
PORTNAME=	hfsfuse
DISTVERSION=	g20180118
PORTREVISION=	1
CATEGORIES=	sysutils
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	FUSE driver for HFS+ filesystems

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/src/COPYING

LIB_DEPENDS=	libublio.so:devel/libublio \
		libutf8proc.so:textproc/utf8proc

USES=		fuse gmake
USE_CSTD=	c99
USE_GITHUB=	yes
GH_ACCOUNT=	0x09
GH_TAGNAME=	d021835629c3fb37bd5bf8d364d5196f1db53867

ALL_TARGET=	config all
MAKE_ARGS=	CONFIG_CFLAGS="${CFLAGS}" WITH_UBLIO=system WITH_UTF8PROC=system

PLIST_FILES=	bin/hfsdump bin/hfsfuse
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

do-install:
	cd ${WRKSRC} && ${INSTALL_PROGRAM} hfsdump hfsfuse \
		${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>