You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
@@ -4,7 +4,7 @@ PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
|
||||
github.setup macfuse macfuse 5.2.0 macfuse-
|
||||
revision 0
|
||||
revision 1
|
||||
conflicts macfuse4 osxfuse
|
||||
categories fuse
|
||||
platforms {darwin >= 21}
|
||||
@@ -37,11 +37,16 @@ use_configure no
|
||||
|
||||
set fs_dir /Library/Filesystems
|
||||
set dir ${fs_dir}/macfuse.fs
|
||||
set mfmount ${dir}/Contents/Frameworks/MFMount.framework/Versions/A/MFMount
|
||||
|
||||
build {
|
||||
system -W ${pkg} "install_name_tool -id ${prefix}${mfmount} \
|
||||
Library/Filesystems/macfuse.fs/Contents/Frameworks/MFMount.framework/Versions/A/MFMount"
|
||||
system -W ${pkg} "install_name_tool -id ${prefix}/lib/libfuse.2.dylib \
|
||||
-change ${mfmount} ${prefix}${mfmount} \
|
||||
usr/local/lib/libfuse.2.dylib"
|
||||
system -W ${pkg} "install_name_tool -id ${prefix}/lib/libfuse3.4.dylib \
|
||||
-change ${mfmount} ${prefix}${mfmount} \
|
||||
usr/local/lib/libfuse3.4.dylib"
|
||||
system -W ${pkg} "install_name_tool \
|
||||
-id ${prefix}/Library/Frameworks/macFUSE.framework/Versions/A/macFUSE \
|
||||
@@ -50,7 +55,8 @@ build {
|
||||
system -W ${pkg} "codesign -fs - \
|
||||
usr/local/lib/libfuse.2.dylib \
|
||||
usr/local/lib/libfuse3.4.dylib \
|
||||
Library/Frameworks/macFUSE.framework/Versions/A/macFUSE"
|
||||
Library/Frameworks/macFUSE.framework/Versions/A/macFUSE \
|
||||
Library/Filesystems/macfuse.fs/Contents/Frameworks/MFMount.framework/Versions/A/MFMount"
|
||||
reinplace "s|/usr/local|${prefix}|g" {*}[glob ${pkg}/usr/local/lib/pkgconfig/*]
|
||||
# remove FSKit extension on versions older than Tahoe
|
||||
if {${os.major} < 25} {
|
||||
|
||||
Reference in New Issue
Block a user