aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-exfat/Makefile
blob: 456fdd5c21347b418012c4bbe8eed2b82aff2f51 (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
# New ports collection makefile for:	fusefs-exfat
# Date created:				2012-01-25
# Whom:					Alex Samorukov <samm@os2.kiev.ua>
#
# $FreeBSD$
#

PORTNAME=	exfat
PORTVERSION=	0.9.7
CATEGORIES=	sysutils
MASTER_SITES=	GOOGLE_CODE
PKGNAMEPREFIX=	fusefs-
DISTNAME=	fuse-${PORTNAME}-${PORTVERSION}

MAINTAINER=	samm@os2.kiev.ua
COMMENT=	A full-featured exFAT FS implementation as a FUSE module

LICENSE=	GPLv3

LIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs \
		ublio.1:${PORTSDIR}/devel/libublio
RUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod

USE_ICONV=	yes
USE_SCONS=	yes

MAN8=		mount.exfat-fuse.8
PLIST_FILES=	bin/mount.exfat-fuse bin/mount.exfat

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/fuse/mount.exfat-fuse ${PREFIX}/bin
	${LN} -s ${PREFIX}/bin/mount.exfat-fuse ${PREFIX}/bin/mount.exfat
	${INSTALL_MAN} ${WRKSRC}/fuse/${MAN8} ${MAN8PREFIX}/man/man8

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/SConstruct

.include <bsd.port.mk>