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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name osxfuse |
---|
7 | version 2.6.1 |
---|
8 | categories fuse devel |
---|
9 | platforms macosx |
---|
10 | # Need to pick a matching MacPorts license |
---|
11 | # https://raw.github.com/osxfuse/osxfuse/osxfuse-2/LICENSE.txt |
---|
12 | license BSD-style |
---|
13 | maintainers dports openmaintainer |
---|
14 | description A FUSE-Compliant File System Implementation Mechanism \ |
---|
15 | for Mac OS X |
---|
16 | |
---|
17 | long_description FUSE for OS X implements a mechanism that makes it possible to implement \ |
---|
18 | a fully functional file system in a user-space program on Mac OS X. It \ |
---|
19 | aims to be API-compliant with the FUSE (File-system in USErspace) \ |
---|
20 | mechanism that originated on Linux. Therefore, many existing FUSE file \ |
---|
21 | systems become readily usable on Mac OS X. This port provides the \ |
---|
22 | user-space library and header files for building filesystems. |
---|
23 | |
---|
24 | homepage http://osxfuse.github.io/ |
---|
25 | |
---|
26 | distfiles |
---|
27 | set mp.dist { |
---|
28 | osxfuse 69ae49f |
---|
29 | kext 5e40d9faac |
---|
30 | framework b07dd26 |
---|
31 | prefpane 6aaa8b5 |
---|
32 | fuse 4435fd5 |
---|
33 | support c5eb518 |
---|
34 | } |
---|
35 | set mp.osxfuse_rev [lindex ${mp.dist} [expr [lsearch ${mp.dist} osxfuse] + 1]] |
---|
36 | worksrcdir osxfuse-${mp.osxfuse_rev} |
---|
37 | |
---|
38 | foreach { mp.comp mp.rev } ${mp.dist} { |
---|
39 | |
---|
40 | master_sites-append https://codeload.github.com/osxfuse/${mp.comp}/tar.gz/:${mp.comp} |
---|
41 | distfiles-append ${mp.rev}:${mp.comp} |
---|
42 | } |
---|
43 | |
---|
44 | checksums 69ae49f \ |
---|
45 | rmd160 9be78869e1939feaeb5ba852870a3363edd08691 \ |
---|
46 | sha256 8b584fd6a7c63221e952e07529737a341a49c63bbf5de080c5ecb30910f75429 \ |
---|
47 | 5e40d9faac \ |
---|
48 | rmd160 74225dcad0d102c333e96716dbf75a662a2f22bd \ |
---|
49 | sha256 05b81d9aa7d8cdbf8ad4b461724e2baf1e63ee529d7cda103ff00fff2d670a40 \ |
---|
50 | b07dd26 \ |
---|
51 | rmd160 c516da45ec62d1f33167f8ba77a984be5d7cd133 \ |
---|
52 | sha256 9c52b4bb23a309314270b386dab416efb9c6bc8b28cc843075c110c29ac10fed \ |
---|
53 | 6aaa8b5 \ |
---|
54 | rmd160 aa26fccc41ca16223475516ab0b3c8ae4cee66ff \ |
---|
55 | sha256 fe4d3942d5ac42cd9b6bce41c2781dcacf661865c6ce24089d36e1a3f0a01e48 \ |
---|
56 | 4435fd5 \ |
---|
57 | rmd160 923a53bb0349a4e18c9da10af8c5daf25e77aec8 \ |
---|
58 | sha256 78c7f895d2b7e1a259d1e1e9a907fafb47afc3efb4e5c0ffa357798ed3ebbf54 \ |
---|
59 | c5eb518 \ |
---|
60 | rmd160 bfe6aa60ac3b3edbcc132d78a008988f74904b2c \ |
---|
61 | sha256 7a0655cd31b076a9a026ea936104965aedf2eb209a503bcd7b889a0393763f29 |
---|
62 | |
---|
63 | post-extract { |
---|
64 | |
---|
65 | foreach { mp.comp mp.rev } ${mp.dist} { |
---|
66 | |
---|
67 | if {${mp.comp} ne "osxfuse"} { |
---|
68 | |
---|
69 | move ${workpath}/osxfuse-${mp.osxfuse_rev}/${mp.comp} ${workpath}/osxfuse-${mp.osxfuse_rev}/${mp.comp}.org |
---|
70 | move ${workpath}/${mp.comp}-${mp.rev} ${workpath}/osxfuse-${mp.osxfuse_rev}/${mp.comp}/ |
---|
71 | } |
---|
72 | } |
---|
73 | } |
---|
74 | |
---|
75 | post-patch { |
---|
76 | |
---|
77 | # Perhaps the ports sandbox does not let us write to /tmp. |
---|
78 | # For a quick and temporary fix use this reckless reinplace. |
---|
79 | file mkdir ${worksrcpath}/macports/tmp |
---|
80 | reinplace "s,/tmp,${worksrcpath}/macports/tmp,g" \ |
---|
81 | ${worksrcpath}/build.sh |
---|
82 | } |
---|
83 | |
---|
84 | configure.cmd ./build.sh |
---|
85 | configure.pre_args -t dist |
---|