source: trunk/dports/fuse/ntfs-3g/Portfile @ 81151

Last change on this file since 81151 was 81151, checked in by dports@…, 9 years ago

various fuse filesystems: change macfuse dependency to one that can be
satisfied by fuse4x also; see #30383

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 81151 2011-07-26 04:45:40Z dports@macports.org $
2
3PortSystem 1.0
4
5name                ntfs-3g
6version             2011.1.15
7categories          fuse
8platforms           darwin
9maintainers         netatonce.net:petri \
10                    openmaintainer
11description         Safe read/write NTFS driver for FUSE
12long_description    The NTFS-3G driver is an open source, freely available \
13                    NTFS driver for FUSE with read and write support. It \
14                    provides safe and fast handling of the Windows XP, Windows \
15                    Server 2003, Windows 2000 and Windows Vista file systems. \
16                    Most POSIX file system operations are supported, with the \
17                    exception of full file ownership and access right support.
18
19homepage            http://www.tuxera.com/community/ntfs-3g-download/
20extract.suffix      .tgz
21
22master_sites        http://tuxera.com/opensource/
23
24checksums           md5     15a5cf5752012269fa168c24191f00e2 \
25                    sha1    d7cf0c5e8730568f5fa8802869d6fe8cdd4a0213 \
26                    rmd160  184009d6651b134b27f04fa040221e6e02c2983e
27
28livecheck.type      regex
29livecheck.regex     {stable version</font></b> is <a href="http://tuxera.com/opensource/ntfs-3g-(.+?)\.tgz">}
30
31depends_build       port:pkgconfig
32depends_lib         path:lib/pkgconfig/fuse.pc:macfuse
33
34configure.args      --exec-prefix=${prefix} --with-fuse=external
35
36platform darwin {
37    configure.ldflags-append    -framework CoreFoundation
38}
39
40#destroot.violate_mtree yes
41
42pre-destroot {
43    file mkdir ${destroot}/sbin
44}
45
46post-destroot {
47    # ntfs-3g symlinks /sbin/mount.ntfs-3g to ${prefix}/bin/ntfs-3g
48    # but on darwin mount wants mount_* instead of mount.*
49
50    # /sbin/mount.ntfs-3g is no longer installed with recent versions of ntfs-3g
51    # but let's add a check here to verify this, so an update doesn't miss it if it's turned back on
52    if {[file exists ${destroot}/sbin/mount.ntfs-3g]} {
53        error "${destroot}/sbin/mount.ntfs-3g is present"
54    }
55    #file rename -- ${destroot}/sbin/mount.ntfs-3g ${destroot}/sbin/mount_ntfs-3g
56    file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \
57                   ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8
58}
Note: See TracBrowser for help on using the repository browser.