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

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

ntfs-3g: Update to version 2011.4.12. Adds ntfsprogs.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 81181 2011-07-26 21:13:02Z macsforever2000@macports.org $
2
3PortSystem          1.0
4
5name                ntfs-3g
6version             2011.4.12
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/
20distname            ntfs-3g_ntfsprogs-${version}
21extract.suffix      .tgz
22
23master_sites        http://tuxera.com/opensource/
24
25checksums           md5     9c4ce318373b15332239a77a9d2a39fe \
26                    sha1    a4340ae611a3f26089f7d5601a86a5847517bff7 \
27                    rmd160  7a5530874a3c5251049da16bc07e861c73b6f317
28
29livecheck.type      regex
30livecheck.regex     {stable version</font></b> is <a href="http://tuxera.com/opensource/ntfs-3g-(.+?)\.tgz">}
31
32depends_build       port:pkgconfig
33depends_lib         path:lib/pkgconfig/fuse.pc:macfuse
34
35configure.args      --exec-prefix=${prefix} --with-fuse=external
36
37platform darwin {
38    configure.ldflags-append    -framework CoreFoundation -lintl
39}
40
41#destroot.violate_mtree yes
42
43pre-destroot {
44    file mkdir ${destroot}/sbin
45}
46
47post-destroot {
48    # ntfs-3g symlinks /sbin/mount.ntfs-3g to ${prefix}/bin/ntfs-3g
49    # but on darwin mount wants mount_* instead of mount.*
50
51    # /sbin/mount.ntfs-3g is no longer installed with recent versions of ntfs-3g
52    # but let's add a check here to verify this, so an update doesn't miss it if it's turned back on
53    if {[file exists ${destroot}/sbin/mount.ntfs-3g]} {
54        error "${destroot}/sbin/mount.ntfs-3g is present"
55    }
56    #file rename -- ${destroot}/sbin/mount.ntfs-3g ${destroot}/sbin/mount_ntfs-3g
57    file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \
58                   ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8
59}
Note: See TracBrowser for help on using the repository browser.