public
Description: Git mirror of the MacPorts svn repo
Homepage: http://www.macports.org
Clone URL: git://github.com/kballard/macports.git
kballard (author)
Fri Apr 25 05:59:52 -0700 2008
commit  dea6d12db74640bfa8b132aee8cbbccf6560014b
tree    9249d313cbdbd906f1940583edae53b8bac85fb5
parent  f4a16fee13b7d266486cd03c50f204eb3b076c2b
macports / dports / fuse / ntfs-3g / Portfile
100644 49 lines (37 sloc) 1.665 kb
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
44
45
46
47
48
49
# $Id$
 
PortSystem 1.0
 
name ntfs-3g
version 1.2412
categories fuse
platforms darwin
maintainers eridius openmaintainer
description Safe read/write NTFS driver for FUSE
long_description The NTFS-3G driver is an open source, freely available \
                    NTFS driver for FUSE with read and write support. It \
                    provides safe and fast handling of the Windows XP, Windows \
                    Server 2003, Windows 2000 and Windows Vista file systems. \
                    Most POSIX file system operations are supported, with the \
                    exception of full file ownership and access right support.
 
homepage http://www.ntfs-3g.org/
extract.suffix .tgz
 
master_sites $homepage
checksums $distfiles md5 e8762770b2be3b1d24da61571d79fc92 \
                               sha1 f5ae72b087001e478c95dfec41f0bdc43d4ab02f
 
livecheck.check regex
livecheck.regex {Source Code.*<a href="ntfs-3g-(.+?)\.tgz">}
 
depends_lib port:pkgconfig port:macfuse
 
configure.args --exec-prefix=${prefix}
 
platform darwin {
    configure.ldflags-append -framework CoreFoundation
}
 
destroot.violate_mtree yes
 
pre-destroot {
    file mkdir ${destroot}/sbin
}
 
post-destroot {
    # ntfs-3g symlinks /sbin/mount.ntfs-3g to ${prefix}/bin/ntfs-3g
    # but on darwin mount wants mount_* instead of mount.*
    file rename -- ${destroot}/sbin/mount.ntfs-3g ${destroot}/sbin/mount_ntfs-3g
    file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \
                   ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8
}