aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-ntfs/Makefile
blob: 950ffed1efeaec749b1957a0df30bd2c72b98a91 (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
# New ports collection makefile for:    fusefs-ntfs
# Date created:             25 July 2006
# Whom:                 Max Khon
# $FreeBSD$
#

PORTNAME=   ntfs
PORTVERSION=    1.417
CATEGORIES= sysutils
MASTER_SITES=   http://www.ntfs-3g.org/
MASTER_SITE_SUBDIR= fuse
PKGNAMEPREFIX=  fusefs-
DISTNAME=   ${PORTNAME}-3g-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    Mount NTFS partitions and disk images

LIB_DEPENDS=    fuse.2:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS=    ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
BUILD_DEPENDS=  fusefs-libs>=2.6.0:${PORTSDIR}/sysutils/fusefs-libs

USE_AUTOTOOLS=  libtool:15
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
ONLY_FOR_ARCHS= i386 amd64
USE_LDCONFIG=   yes
MAN8=       ntfs-3g.8

post-patch:
    @${CP} ${FILESDIR}/unix_io_raw.c ${WRKSRC}/libntfs-3g

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
IGNORE=     depends on kernel module that requires FreeBSD 6 or later
.endif

.include <bsd.port.post.mk>