Ticket #33128: Portfile.new.diff

File Portfile.new.diff, 2.4 KB (added by petri@…, 9 years ago)
  • (a) /Users/petri/Downloads/Portfile.new vs. (b) Portfile

    a b  
    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$
     1# $Id: Portfile 81605 2011-08-02 23:19:30Z dports@macports.org $
    32
    43PortSystem          1.0
    54
    65name                ntfs-3g
    76version             2012.1.15
     7revision            1
    88categories          fuse
    99platforms           darwin
    10 maintainers         netatonce.net:petri \
     10maintainers         kelotti.net:petri \
    1111                    openmaintainer
    1212license             GPL-2+ LGPL-2
    1313description         Safe read/write NTFS driver for FUSE
     
    1616                    provides safe and fast handling of the Windows XP, Windows \
    1717                    Server 2003, Windows 2000 and Windows Vista file systems. \
    1818                    Most POSIX file system operations are supported, with the \
    19                     exception of full file ownership and access right support.
     19                    exception of full file ownership and access right support. \
     20                    Also included are ntfsprogs, a set of utilities to create \
     21                    and manipulate NTFS file systems.
    2022
    2123homepage            http://www.tuxera.com/community/ntfs-3g-download/
    2224distname            ntfs-3g_ntfsprogs-${version}
     
    4446    configure.ldflags-append    -framework CoreFoundation -lintl
    4547}
    4648
    47 #destroot.violate_mtree yes
    48 
    4949pre-destroot {
    5050    file mkdir ${destroot}/sbin
    5151}
     
    5555    # but on darwin mount wants mount_* instead of mount.*
    5656
    5757    # /sbin/mount.ntfs-3g is no longer installed with recent versions of ntfs-3g
    58     # but let's add a check here to verify this, so an update doesn't miss it if it's turned back on
     58    # but check here to verify so an update doesn't miss it if it's turned back on
    5959    if {[file exists ${destroot}/sbin/mount.ntfs-3g]} {
    60         error "${destroot}/sbin/mount.ntfs-3g is present"
     60       file rename -- ${destroot}/sbin/mount.ntfs-3g \
     61                      ${destroot}/sbin/mount_ntfs-3g
    6162    }
    62     #file rename -- ${destroot}/sbin/mount.ntfs-3g ${destroot}/sbin/mount_ntfs-3g
    6363    file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \
    6464                   ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8
    65 
    66    delete ${destroot}/sbin/mkfs.ntfs
    6765}
     66