# $Id: Portfile 36277 2008-04-25 12:59:52Z eridius@macports.org $ 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.*} 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 }