# $Id: Portfile 26320 2007-06-19 17:43:08Z eridius@macports.org $ PortSystem 1.0 name ntfs-3g version 1.516 revision 1 categories fuse platforms darwin maintainers eridius@macports.org 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 d8527df764193abb16af3a2248bdd8b5 \ sha1 80236bef762221dfa4337a2e3bc1bbc373d65f81 livecheck.check regex livecheck.regex {} depends_lib port:libfuse port:pkgconfig platform darwin { depends_run port:fusefs # patch_sites http://macfuse.googlecode.com/svn/tags/macfuse-0.2.2/filesystems/ntfs-3g/ # patchfiles ${name}-${version}.patch # checksums-append ${name}-${version}.patch md5 9b9293e6d7f398375e46905c4e812999 \ # sha1 e74c4a74645377450646d94b5b0cbe0fcaa9a58d # override patch.pre_args since it defaults to -p0 # patch.pre_args -p1 patchfiles patch-configure patch-ntfs-3g.c } 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}/man/man8/mount.ntfs-3g.8 \ ${destroot}${prefix}/man/man8/mount_ntfs-3g.8 }