summaryrefslogtreecommitdiff
path: root/filesystems/fuse-ntfs-3g/Makefile
blob: ba7cf82870ff59cf21d6739af2d54bae65f17e82 (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
# $NetBSD: Makefile,v 1.19 2015/11/10 17:45:22 adam Exp $

.include "../../filesystems/libntfs/Makefile.common"

PKGNAME=	fuse-${DISTNAME:S/_ntfsprogs//}
CATEGORIES=	filesystems

COMMENT=	NTFS driver with read and write support

CONFIGURE_ARGS+=	--disable-ntfsprogs
CONFIGURE_ARGS+=	--enable-mount-helper

BUILD_DIRS=		src

USE_TOOLS+=	pkg-config

PLIST_VARS+=	lowntfs
.include "../../mk/bsd.prefs.mk"
SUBST_CLASSES+=		lowntfs
SUBST_MESSAGE.lowntfs=	Dealing with lowntfs.
SUBST_STAGE.lowntfs=	pre-configure
SUBST_FILES.lowntfs=	src/Makefile.in
.if ${OPSYS} == "NetBSD"
SUBST_SED.lowntfs=	-e 's,@ENABLE_LOWNTFS@,\#,'
.else
SUBST_SED.lowntfs=	-e 's,@ENABLE_LOWNTFS@,,'
PLIST.lowntfs=		yes
.endif

.include "../../filesystems/libntfs/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"