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

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

ntfs-3g: Update to version 2013.1.13. (#39244)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 106436 2013-05-26 18:00:06Z macsforever2000@macports.org $
3
4PortSystem          1.0
5
6name                ntfs-3g
7version             2013.1.13
8categories          fuse
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2+ LGPL-2
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                    Also included are ntfsprogs, a set of utilities to create \
20                    and manipulate NTFS file systems.
21
22homepage            http://www.tuxera.com/community/ntfs-3g-download/
23distname            ntfs-3g_ntfsprogs-${version}
24extract.suffix      .tgz
25
26master_sites        http://tuxera.com/opensource/
27
28checksums           rmd160  1427cce3c8138e4eebd2128c6c25c85dde7958f0 \
29                    sha256  4b383f0074a3ab7683339d1f18222b107aaeb4983db119292c43c2b275cefb27
30
31livecheck.type      regex
32livecheck.regex     {stable version</font></b> is <a href="http://tuxera.com/opensource/ntfs-3g_(.+?)\.tgz">}
33
34depends_build       port:pkgconfig
35
36depends_lib         path:lib/pkgconfig/fuse.pc:fuse4x \
37                    port:ossp-uuid
38
39# Use default PKG_CONFIG_PATH to avoid picking up a FUSE installation
40# in /usr/local (see #30537)
41patchfiles          patch-configure.diff
42
43configure.args      --exec-prefix=${prefix} --with-fuse=external
44
45platform darwin {
46    depends_lib-append          port:gettext
47    configure.ldflags-append    -framework CoreFoundation -lintl
48}
49
50pre-destroot {
51    file mkdir ${destroot}/sbin
52}
53
54post-destroot {
55    # ntfs-3g symlinks /sbin/mount.ntfs-3g to ${prefix}/bin/ntfs-3g
56    # but on darwin mount wants mount_* instead of mount.*
57
58    # /sbin/mount.ntfs-3g is no longer installed with recent versions of ntfs-3g
59    # but check here to verify so updates don't miss it if it's turned back on
60    if {[file exists ${destroot}/sbin/mount.ntfs-3g]} {
61       # This violated the tree restrictions, hopefully fixed by now.
62       file rename -- ${destroot}/sbin/mount.ntfs-3g \
63                      ${destroot}${prefix}/sbin/mount_ntfs-3g
64    }
65    file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \
66                   ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8
67
68    # This violated the tree restrictions, hopefully fixed by now.
69    file rename -- ${destroot}/sbin/mkfs.ntfs \
70                   ${destroot}${prefix}/sbin/mkfs.ntfs
71}
72
Note: See TracBrowser for help on using the repository browser.