source: trunk/dports/fuse/fuse4x-framework/Portfile @ 86194

Last change on this file since 86194 was 86194, checked in by dports@…, 6 years ago

fuse4x*: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 86194 2011-10-21 06:32:26Z dports@macports.org $
3
4PortSystem          1.0
5PortGroup           xcode 1.0
6
7name                fuse4x-framework
8version             0.8.12
9set tag             [string map {. _ } $version]
10categories          fuse devel
11platforms           macosx
12maintainers         dports
13description         Objective-C framework for Fuse4X
14
15long_description    Fuse4X implements a mechanism that makes it          \
16                    possible to implement a fully functional file        \
17                    system in a user-space program on Mac OS X. It       \
18                    aims to be API-compliant with the FUSE               \
19                    (File-system in USErspace) mechanism that            \
20                    originated on Linux.  Therefore, many existing       \
21                    FUSE file systems become readily usable on Mac OS    \
22                    X. This port provides a framework for writing        \
23                    file systems in Objective-C.
24
25homepage            http://fuse4x.org/
26license             BSD
27master_sites        https://github.com/fuse4x/framework/tarball/fuse4x_${tag}
28
29checksums           sha256  d3838bd3deef79a1fab15cc5907d65abfcc11b8e6d88118562a38300a4980c86 \
30                    rmd160  79c82a2424ab14104820f89e45c675aa2dca27b7
31
32extract.mkdir       yes
33extract.post_args   "| tar --strip-components=1 -xf -"
34
35depends_lib         port:fuse4x
36
37post-patch {
38    reinplace "s|-lfuse4x|-lfuse|" ${worksrcpath}/framework.xcodeproj/project.pbxproj
39}
40
41xcode.configuration Release
42xcode.build.settings    LIBRARY_SEARCH_PATHS='${prefix}/lib' \
43                        HEADER_SEARCH_PATHS='${prefix}/include'
44
45destroot {
46    xinstall -d ${destroot}/${frameworks_dir}
47    file copy ${worksrcpath}/build/${xcode.configuration}/Fuse4X.framework \
48              ${destroot}/${frameworks_dir}
49}
50
51livecheck.type      regex
52livecheck.url       ${homepage}
53livecheck.regex     {Fuse4X-([0-9.]+).dmg}
Note: See TracBrowser for help on using the repository browser.