1 | |
---|
2 | PortSystem 1.0 |
---|
3 | |
---|
4 | name ntfs-3g |
---|
5 | version 1.2310 |
---|
6 | categories fuse |
---|
7 | platforms darwin |
---|
8 | maintainers eridius openmaintainer |
---|
9 | description Safe read/write NTFS driver for FUSE |
---|
10 | long_description The NTFS-3G driver is an open source, freely available \ |
---|
11 | NTFS driver for FUSE with read and write support. It \ |
---|
12 | provides safe and fast handling of the Windows XP, Windows \ |
---|
13 | Server 2003, Windows 2000 and Windows Vista file systems. \ |
---|
14 | Most POSIX file system operations are supported, with the \ |
---|
15 | exception of full file ownership and access right support. |
---|
16 | |
---|
17 | homepage http://www.ntfs-3g.org/ |
---|
18 | extract.suffix .tgz |
---|
19 | |
---|
20 | master_sites $homepage |
---|
21 | checksums $distfiles md5 70579e20da7cb5c1649096c6bf6d1b73 \ |
---|
22 | sha1 d8fd4827be5f4a80ae4e1684f107a5fdb296bcbc \ |
---|
23 | rmd160 f366ba46f638a09479b733dc8c5617e9cab33b38 |
---|
24 | |
---|
25 | livecheck.check regex |
---|
26 | livecheck.regex {Source Code.*<a href="ntfs-3g-(.+?)\.tgz">} |
---|
27 | |
---|
28 | depends_lib port:libfuse port:pkgconfig |
---|
29 | |
---|
30 | configure.args --exec-prefix=${prefix} |
---|
31 | |
---|
32 | destroot.violate_mtree yes |
---|
33 | |
---|
34 | platform darwin { |
---|
35 | configure.ldflags-append -framework CoreFoundation |
---|
36 | } |
---|
37 | |
---|
38 | post-destroot { |
---|
39 | # ntfs-3g symlinks /sbin/mount.ntfs-3g to ${prefix}/bin/ntfs-3g |
---|
40 | # but on darwin mount wants mount_* instead of mount.* |
---|
41 | file rename -- ${destroot}/sbin/mount.ntfs-3g ${destroot}/sbin/mount_ntfs-3g |
---|
42 | file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \ |
---|
43 | ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8 |
---|
44 | } |
---|