summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-fur/Makefile
blob: 1f861ae0676046ee513222e0276e67742e379dfc (plain) (blame)
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
39
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$

PORTNAME=	fur
PORTVERSION=	0.4.6
CATEGORIES=	sysutils palm
MASTER_SITES=	SF/synce/FUR/${PORTVERSION}
PKGNAMEPREFIX=	fusefs-
DISTNAME=	FUR-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	FUSE-based filesystem for Windows CE based devices

LIB_DEPENDS=	rapi:${PORTSDIR}/palm/synce-librapi2

OPTIONS_DEFINE=	VCHMOD
OPTIONS_DEFAULT=	VCHMOD
VCHMOD_DESC=	Fake hook for chmod that just returns 0


GNU_CONFIGURE=	yes
USES=		fuse pkgconfig iconv
USE_GMAKE=	yes
LDFLAGS+=	-L${LOCALBASE}/lib
CFLAGS+=	-I${LOCALBASE}/include -DFUSE_USE_VERSION=26

PLIST_FILES=	bin/${PORTNAME}

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MVCHMOD}
CONFIGURE_ARGS+=	--enable-void-chmod
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/Fur ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>