# $Id: Portfile 29861 2007-10-13 20:33:21Z eridius@macports.org $ PortSystem 1.0 name ntfs-3g version 1.1004 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 7630c7dc2879078df06ceff680cc04f5 \ sha1 7115859ac1bf79d03a45c4aaa8fa9a4841e4cd84 livecheck.check regex livecheck.regex {Source Code.*} depends_lib port:libfuse port:pkgconfig configure.args --exec-prefix=${prefix} 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 }