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

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

Set nomaintainer on all ports formerly maintained by eridius (see
comments in #25427)

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