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

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

Bump revision on ports that can depend on fuse4x because of the
library name change in r81459

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