aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-fur/Makefile
blob: aa3a1e4091f1631bc3ca5e2f58891064a873992b (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
40
41
42
43
# New ports collection makefile for:    fusefs-fur
# Date created:             10 March 2009
# Whom:                 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= avl@FreeBSD.org
COMMENT=    FUSE-based filesystem for Windows CE based devices

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

OPTIONS=    VCHMOD  "Enable a fake hook for chmod that just returns 0"  on

MAKE_JOBS_SAFE= yes

GNU_CONFIGURE=  yes
USE_FUSE=   yes
USE_GMAKE=  yes
USE_ICONV=  yes
USE_GNOME=  pkgconfig
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CFLAGS+=    -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -DFUSE_USE_VERSION=26

PLIST_FILES=    bin/${PORTNAME}

.include <bsd.port.pre.mk>

.if defined(WITH_VCHMOD)
CONFIGURE_ARGS+=    --enable-void-chmod
.endif

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

.include <bsd.port.post.mk>