source: trunk/dports/fuse/fuse4x/Portfile @ 114429

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

fuse4x, fuse4x-framework, fuse4x-kext: fix homepage (#39456; maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 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 114429 2013-12-08 09:16:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                fuse4x
7version             0.9.2
8revision            1
9set tag             [string map {. _ } $version]
10categories          fuse devel
11platforms           macosx
12maintainers         dports
13description         A FUSE-Compliant File System Implementation Mechanism \
14                    for Mac OS X
15
16long_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
26homepage            http://fuse4x.github.io/
27license             LGPL
28master_sites        https://github.com/fuse4x/fuse/tarball/fuse4x_${tag}
29
30checksums           sha256  82b7591d7079c1076737b3efbf16d61cc6e31bffaca45d29fa888d7847191f08 \
31                    rmd160  d0356ecedc06b0ea6599e45023f0a95c8ee851e3
32
33extract.mkdir       yes
34extract.post_args   "| tar --strip-components=1 -xf -"
35
36patchfiles          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!
46set kextdir        "${prefix}/Library/Extensions"
47post-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
63configure.cflags-append -D_DARWIN_USE_64_BIT_INODE
64configure.ldflags   -framework CoreFoundation
65
66use_autoreconf      yes
67autoreconf.args     -fvi
68
69depends_build       port:pkgconfig port:autoconf port:automake port:libtool
70depends_lib         port:libiconv
71depends_run         port:fuse4x-kext
72
73livecheck.type      regex
74livecheck.url       ${homepage}
75livecheck.regex     {Fuse4X-([0-9.]+).dmg}
Note: See TracBrowser for help on using the repository browser.