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

Last change on this file since 24449 was 24449, checked in by eridius@…, 13 years ago

Bump ntfs-3g to 1.417 (fixes #11843)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 24449 2007-04-24 16:39:32Z eridius@macports.org $
2
3PortSystem 1.0
4
5name                ntfs-3g
6version             1.417
7categories          fuse
8platforms           darwin
9maintainers         eridius@macports.org
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           $distfiles md5 9e451f1084461795a96170adb6c4376b \
23                               sha1 81d26194db5677e872f23219de435a27a4c072c3
24
25livecheck.check     regex
26livecheck.regex     {<a href="ntfs-3g-(.+?)\.tgz">}
27
28depends_lib         lib:libfuse:libfuse bin:pkg-config:pkgconfig
29
30platform darwin {
31    depends_run         port:fusefs
32    # patch_sites         http://macfuse.googlecode.com/svn/tags/macfuse-0.2.2/filesystems/ntfs-3g/
33    # patchfiles          ${name}-${version}.patch
34    # checksums-append    ${name}-${version}.patch md5 9b9293e6d7f398375e46905c4e812999 \
35    #                                              sha1 e74c4a74645377450646d94b5b0cbe0fcaa9a58d
36   
37    # override patch.pre_args since it defaults to -p0
38    # patch.pre_args -p1
39    patchfiles          patch-configure patch-ntfs-3g.c
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    file rename -- ${destroot}/sbin/mount.ntfs-3g ${destroot}/sbin/mount_ntfs-3g
46    file rename -- ${destroot}${prefix}/man/man8/mount.ntfs-3g.8 \
47                   ${destroot}${prefix}/man/man8/mount_ntfs-3g.8
48}
Note: See TracBrowser for help on using the repository browser.