# $Id: Portfile 32021 2007-12-13 19:54:35Z simon@macports.org $ PortSystem 1.0 name ntfs-3g version 1.1120 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 9561f07a6a5faa0fb6615727c0003b26 \ sha1 203b6194e4dc531065b81c8f2ef72dd247e48a9b \ rmd160 ecaef2641e018364620507a0703546a62c2a7683 livecheck.check regex livecheck.regex {Source Code.*} depends_lib port:libfuse port:pkgconfig configure.args --exec-prefix=${prefix} destroot.violate_mtree yes platform darwin { configure.ldflags-append -framework CoreFoundation } 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 }