source: trunk/dports/fuse/macfuse/files/patch-10.4-project.pbxproj @ 36749

Last change on this file since 36749 was 36749, checked in by eridius@…, 12 years ago

Bump MacFUSE to 1.5

File size: 8.2 KB
Line 
1--- 10.4/fusefs/fusefs.xcodeproj/project.pbxproj.old    2008-05-13 23:48:05.000000000 -0500
2+++ 10.4/fusefs/fusefs.xcodeproj/project.pbxproj        2008-05-13 23:48:41.000000000 -0500
3@@ -471,7 +471,7 @@
4                        );
5                        runOnlyForDeploymentPostprocessing = 0;
6                        shellPath = /bin/sh;
7-                       shellScript = "# Create MacFUSE Tarball\n\n# If we are not running as root, just bail out.\nmy_uid=`/usr/bin/id -u`\nif [ $my_uid != 0 ]\nthen\n    exit 0\nfi\n\nMACFUSE_CORE_VERSIONED_NAME=macfuse-core-\"$OS_VERSION\"-\"$MACFUSE_VERSION\"\n\nMACFUSE_OUT_NAME=macfuse_out-\"$OS_VERSION\"\nMACFUSE_OUT=\"/tmp/$MACFUSE_OUT_NAME\"\nMACFUSE_BUILD=\"$MACFUSE_OUT/build/\"\nMACFUSE_ROOT=\"$MACFUSE_OUT/pkgroot/\"\nMACFUSE_BUNDLE_NAME=fusefs.fs\n\nsudo /bin/rm -rf $MACFUSE_OUT                           || exit 1\nsudo mkdir -p $MACFUSE_BUILD                            || exit 1\nsudo mkdir -p $MACFUSE_ROOT                             || exit 1\nsudo mkdir -p $MACFUSE_ROOT/System/Library/Filesystems/ || exit 1\nsudo mkdir -p $MACFUSE_ROOT/Library/Frameworks/         || exit 1\nsudo mkdir -p $MACFUSE_ROOT/usr/local/lib/              || exit 1\nsudo mkdir -p $MACFUSE_ROOT/usr/local/include/          || exit 1\nsudo mkdir -p $MACFUSE_ROOT/usr/local/lib/pkgconfig/    || exit 1\n\nMACFUSE_BUNDLE_DIR=\"$MACFUSE_ROOT/System/Library/Filesystems/$MACFUSE_BUNDLE_NAME\"\nMACFUSE_BUNDLE_SUPPORT_DIR=\"$MACFUSE_BUNDLE_DIR/Support\"\n\nsudo cp -pR \"$BUILT_PRODUCTS_DIR/fusefs.fs\" \"$MACFUSE_BUNDLE_DIR\"                         || exit 1\nsudo mkdir -p \"$MACFUSE_BUNDLE_SUPPORT_DIR\"                                               || exit 1\nsudo cp -pR \"$BUILT_PRODUCTS_DIR/fusefs.kext\" \"$MACFUSE_BUNDLE_SUPPORT_DIR/fusefs.kext\"   || exit 1\nsudo cp -pR \"$BUILT_PRODUCTS_DIR/load_fusefs\" \"$MACFUSE_BUNDLE_SUPPORT_DIR/load_fusefs\"   || exit 1\nsudo cp -pR \"$BUILT_PRODUCTS_DIR/mount_fusefs\" \"$MACFUSE_BUNDLE_SUPPORT_DIR/mount_fusefs\" || exit 1\n\n# Build the user-space FUSE library\nsudo tar -C \"$MACFUSE_BUILD\" -xzf \"$PROJECT_DIR/../libfuse/fuse-current.tar.gz\" || exit 1\nsudo chown -R root:wheel \"$MACFUSE_BUILD\"/fuse*                                 || exit 1\ncd \"$MACFUSE_BUILD\"/fuse*                                                       || exit 1\nsudo patch -p1 < \"$PROJECT_DIR/../libfuse/fuse-current-macosx.patch\"            || exit 1\nsudo /bin/sh ./darwin_configure.sh \"$PROJECT_DIR\"                               || exit 1\nsudo make -j2                                                                   || exit 1\nsudo make install DESTDIR=\"$MACFUSE_ROOT\"                                       || exit 1\n\n# Build MacFUSE.framework\ncd \"$PROJECT_DIR/../../sdk-objc\"                                                || exit 1\nsudo xcodebuild -configuration Release \"MACFUSE_BUILD_ROOT=$MACFUSE_ROOT\" \"MACFUSE_BUNDLE_VERSION_LITERAL=$MACFUSE_VERSION\" || exit 1\nsudo cp -pR build/Release/*.framework $MACFUSE_ROOT/Library/Frameworks/         || exit 1\n\nsudo chown -R root:wheel \"$MACFUSE_ROOT\"/*               || exit 1\nsudo chmod u+s \"$MACFUSE_BUNDLE_SUPPORT_DIR/load_fusefs\" || exit 1\nsudo chown root:admin $MACFUSE_ROOT/Library/             || exit 1\nsudo chown -R root:admin $MACFUSE_ROOT/Library/Frameworks|| exit 1\nsudo chmod 0775 $MACFUSE_ROOT/Library/Frameworks         || exit 1\nsudo chmod 1775 $MACFUSE_ROOT/Library/                   || exit 1\n\ncd \"$MACFUSE_ROOT\" || exit 1\n\nsudo rm -f /tmp/\"$MACFUSE_CORE_VERSIONED_NAME\".tar*                                    || exit 1\nsudo rm -rf \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"                                        || exit 1\nsudo mkdir -p \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"                                      || exit 1\nsudo tar -cpf \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"/\"$MACFUSE_CORE_VERSIONED_NAME\".tar . || exit 1\ncd \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"                                                 || exit 1\nsudo bzip2 -9 \"$MACFUSE_CORE_VERSIONED_NAME\".tar                                       || exit 1\nsudo rm -rf \"/tmp/$MACFUSE_OUT_NAME\"                                                   || exit 1\n\n# Create the MacFUSE Installer Package\n\ncd \"$PROJECT_DIR/../packaging/macfuse-core/\" && sudo ./make-pkg.sh \"$OS_VERSION\" \"$MACFUSE_VERSION\"";
8+                       shellScript = "# Create MacFUSE Tarball\n\n# If we are not running as root, just bail out.\nmy_uid=`/usr/bin/id -u`\nif [ $my_uid != 0 ]\nthen\n    exit 0\nfi\n\nMACFUSE_CORE_VERSIONED_NAME=macfuse-core-\"$OS_VERSION\"-\"$MACFUSE_VERSION\"\n\nMACFUSE_OUT_NAME=macfuse_out-\"$OS_VERSION\"\nMACFUSE_OUT=\"/tmp/$MACFUSE_OUT_NAME\"\nMACFUSE_BUILD=\"$MACFUSE_OUT/build/\"\nMACFUSE_ROOT=\"$MACFUSE_OUT/pkgroot/\"\nMACFUSE_BUNDLE_NAME=fusefs.fs\n\nsudo /bin/rm -rf $MACFUSE_OUT                           || exit 1\nsudo mkdir -p $MACFUSE_BUILD                            || exit 1\nsudo mkdir -p $MACFUSE_ROOT                             || exit 1\nsudo mkdir -p $MACFUSE_ROOT/System/Library/Filesystems/ || exit 1\nsudo mkdir -p $MACFUSE_ROOT/Library/Frameworks/         || exit 1\nsudo mkdir -p $MACFUSE_ROOT/usr/local/lib/              || exit 1\nsudo mkdir -p $MACFUSE_ROOT/usr/local/include/          || exit 1\nsudo mkdir -p $MACFUSE_ROOT/usr/local/lib/pkgconfig/    || exit 1\n\nMACFUSE_BUNDLE_DIR=\"$MACFUSE_ROOT/System/Library/Filesystems/$MACFUSE_BUNDLE_NAME\"\nMACFUSE_BUNDLE_SUPPORT_DIR=\"$MACFUSE_BUNDLE_DIR/Support\"\n\nsudo /bin/cp -pR \"$BUILT_PRODUCTS_DIR/fusefs.fs\" \"$MACFUSE_BUNDLE_DIR\"                         || exit 1\nsudo mkdir -p \"$MACFUSE_BUNDLE_SUPPORT_DIR\"                                               || exit 1\nsudo /bin/cp -pR \"$BUILT_PRODUCTS_DIR/fusefs.kext\" \"$MACFUSE_BUNDLE_SUPPORT_DIR/fusefs.kext\"   || exit 1\nsudo /bin/cp -pR \"$BUILT_PRODUCTS_DIR/load_fusefs\" \"$MACFUSE_BUNDLE_SUPPORT_DIR/load_fusefs\"   || exit 1\nsudo /bin/cp -pR \"$BUILT_PRODUCTS_DIR/mount_fusefs\" \"$MACFUSE_BUNDLE_SUPPORT_DIR/mount_fusefs\" || exit 1\n\n# Build the user-space FUSE library\nsudo tar -C \"$MACFUSE_BUILD\" -xzf \"$PROJECT_DIR/../libfuse/fuse-current.tar.gz\" || exit 1\nsudo chown -R root:wheel \"$MACFUSE_BUILD\"/fuse*                                 || exit 1\ncd \"$MACFUSE_BUILD\"/fuse*                                                       || exit 1\nsudo patch -p1 < \"$PROJECT_DIR/../libfuse/fuse-current-macosx.patch\"            || exit 1\nsudo /bin/sh ./darwin_configure.sh \"$PROJECT_DIR\"                               || exit 1\nsudo make -j2                                                                   || exit 1\nsudo make install DESTDIR=\"$MACFUSE_ROOT\"                                       || exit 1\n\n# Build MacFUSE.framework\ncd \"$PROJECT_DIR/../../sdk-objc\"                                                || exit 1\nsudo xcodebuild -configuration Release \"MACFUSE_BUILD_ROOT=$MACFUSE_ROOT\" \"MACFUSE_BUNDLE_VERSION_LITERAL=$MACFUSE_VERSION\" || exit 1\nsudo /bin/cp -pR build/Release/*.framework $MACFUSE_ROOT/Library/Frameworks/         || exit 1\n\nsudo chown -R root:wheel \"$MACFUSE_ROOT\"/*               || exit 1\nsudo chmod u+s \"$MACFUSE_BUNDLE_SUPPORT_DIR/load_fusefs\" || exit 1\nsudo chown root:admin $MACFUSE_ROOT/Library/             || exit 1\nsudo chown -R root:admin $MACFUSE_ROOT/Library/Frameworks|| exit 1\nsudo chmod 0775 $MACFUSE_ROOT/Library/Frameworks         || exit 1\nsudo chmod 1775 $MACFUSE_ROOT/Library/                   || exit 1\n\ncd \"$MACFUSE_ROOT\" || exit 1\n\nsudo rm -f /tmp/\"$MACFUSE_CORE_VERSIONED_NAME\".tar*                                    || exit 1\nsudo rm -rf \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"                                        || exit 1\nsudo mkdir -p \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"                                      || exit 1\nsudo tar -cpf \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"/\"$MACFUSE_CORE_VERSIONED_NAME\".tar . || exit 1\ncd \"/tmp/$MACFUSE_CORE_VERSIONED_NAME\"                                                 || exit 1\nsudo bzip2 -9 \"$MACFUSE_CORE_VERSIONED_NAME\".tar                                       || exit 1\nsudo rm -rf \"/tmp/$MACFUSE_OUT_NAME\"                                                   || exit 1\n\n# Create the MacFUSE Installer Package\n\ncd \"$PROJECT_DIR/../packaging/macfuse-core/\" && sudo ./make-pkg.sh \"$OS_VERSION\" \"$MACFUSE_VERSION\"";
9                };
10 /* End PBXShellScriptBuildPhase section */
11 
Note: See TracBrowser for help on using the repository browser.