Ticket #23002: Portfile-ntfs-3g.diff

File Portfile-ntfs-3g.diff, 2.1 KB (added by mf2k (Frank Schima), 14 years ago)

Here's my attempt at the update, but it errors out.

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name                ntfs-3g
    6 version             1.5130
     6version             2009.11.14
    77categories          fuse
    88platforms           darwin
    99maintainers         eridius openmaintainer
     
    1515                    Most POSIX file system operations are supported, with the \
    1616                    exception of full file ownership and access right support.
    1717
    18 homepage            http://www.ntfs-3g.org/
    19 extract.suffix      .tgz
     18homepage            http://www.tuxera.com/
    2019
    21 master_sites        $homepage
    22 checksums           md5 ad3c40bba398d162f97c2936293eae1f \
    23                     sha1 02b7a874b02827665c97123c6335e1d856054c42
     20distname            mac${name}-${version}-src
     21use_bzip2           yes
    2422
    25 livecheck.type      regex
    26 livecheck.regex     {<a href="ntfs-3g-(.+?)\.tgz">Stable}
     23master_sites        sourceforge:catacombae/NTFS-3G%20for%20Mac%20OS%20X/${version}
    2724
    28 depends_lib         port:pkgconfig port:macfuse
     25checksums           md5     a46f49fdbf15946c1b9b5271589a99e1 \
     26                    sha1    34222e0186626ef030f2dd4bfdd877d94f41ca1e \
     27                    rmd160  9d2bd2760a5c69f179dea4e733da449abd7f584e
    2928
    30 configure.args      --exec-prefix=${prefix}
     29worksrcdir          mac${name}-${version}
    3130
    32 platform darwin {
    33     configure.ldflags-append    -framework CoreFoundation
    34 }
     31depends_build       port:pkgconfig
     32depends_lib         port:macfuse
     33
     34#configure.args      --exec-prefix=${prefix}
     35use_configure       no
     36
     37#platform darwin {
     38#    configure.ldflags-append    -framework CoreFoundation
     39#}
    3540
    3641#destroot.violate_mtree yes
    3742
     43build {
     44    system "cd ${worksrcpath};./build.sh"
     45}
     46
    3847pre-destroot {
    3948    file mkdir ${destroot}/sbin
    4049}
     
    5261    file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \
    5362                   ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8
    5463}
     64
     65livecheck.type      regexm
     66livecheck.url       ${homepage}community/ntfs-3g-download/
     67livecheck.regex     ntfs-3g-(\[0-9.\]*).tgz