Ignore:
Timestamp:
Apr 17, 2014, 10:29:01 PM (6 years ago)
Author:
dports@…
Message:

fuse4x-*: replaced_by osxfuse (#39456)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/fuse/fuse4x/Portfile

    r114429 r119125  
    44PortSystem          1.0
    55
     6replaced_by         osxfuse
     7PortGroup           obsolete 1.0
     8
    69name                fuse4x
    710version             0.9.2
    8 revision            1
    9 set tag             [string map {. _ } $version]
     11revision            2
    1012categories          fuse devel
    1113platforms           macosx
    1214maintainers         dports
    13 description         A FUSE-Compliant File System Implementation Mechanism \
    14                     for Mac OS X
    15 
    16 long_description    Fuse4X implements a mechanism that makes it          \
    17                     possible to implement a fully functional file        \
    18                     system in a user-space program on Mac OS X. It       \
    19                     aims to be API-compliant with the FUSE               \
    20                     (File-system in USErspace) mechanism that            \
    21                     originated on Linux.  Therefore, many existing       \
    22                     FUSE file systems become readily usable on Mac OS    \
    23                     X. This port provides the user-space library and     \
    24                     header files for building filesystems.
    25 
    26 homepage            http://fuse4x.github.io/
    27 license             LGPL
    28 master_sites        https://github.com/fuse4x/fuse/tarball/fuse4x_${tag}
    29 
    30 checksums           sha256  82b7591d7079c1076737b3efbf16d61cc6e31bffaca45d29fa888d7847191f08 \
    31                     rmd160  d0356ecedc06b0ea6599e45023f0a95c8ee851e3
    32 
    33 extract.mkdir       yes
    34 extract.post_args   "| tar --strip-components=1 -xf -"
    35 
    36 patchfiles          patch-include_fuse_param.h.diff
    37 
    38 # kext destination: kext will be installed into ${kextdir}/fuse4x.kext.
    39 #
    40 # The kext is autoloaded by the library using load_fuse4x, so it
    41 # doesn't have to go into /System/Library/Extensions. It doesn't
    42 # matter where we put it, as long as it's kept in sync with the library.
    43 #
    44 # If updating the patchfile or ${kextdir}, must also update the
    45 # corresponding patch in the fuse4x-kext port!
    46 set kextdir        "${prefix}/Library/Extensions"
    47 post-patch {
    48     reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/include/fuse_param.h
    49 
    50     # Fuse4X normally installs its library as libfuse4x.dylib to allow
    51     # it to co-exist with MacFUSE, but the ports are conflicting so we
    52     # don't need to worry about that. Instead, we'll install it as
    53     # libfuse.dylib so dependent ports don't need to be modified.
    54     reinplace "s|-lfuse4x|-lfuse|" ${worksrcpath}/fuse.pc.in
    55     reinplace "s|libfuse4x|libfuse|g" ${worksrcpath}/lib/Makefile.am
    56     reinplace "s|libfuse4x.la|libfuse.la|" ${worksrcpath}/example/Makefile.am
    57 
    58     # automake 1.13 compatibility (see #37451)
    59     file mkdir ${worksrcpath}/m4
    60     reinplace "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" ${worksrcpath}/configure.in
    61 }
    62 
    63 configure.cflags-append -D_DARWIN_USE_64_BIT_INODE
    64 configure.ldflags   -framework CoreFoundation
    65 
    66 use_autoreconf      yes
    67 autoreconf.args     -fvi
    68 
    69 depends_build       port:pkgconfig port:autoconf port:automake port:libtool
    70 depends_lib         port:libiconv
    71 depends_run         port:fuse4x-kext
    72 
    73 livecheck.type      regex
    74 livecheck.url       ${homepage}
    75 livecheck.regex     {Fuse4X-([0-9.]+).dmg}
Note: See TracChangeset for help on using the changeset viewer.