diff --git a/PBProjects/English.lproj/InfoPlist.strings b/PBProjects/English.lproj/InfoPlist.strings new file mode 100644 index 0000000..f586bf0 Binary files /dev/null and b/PBProjects/English.lproj/InfoPlist.strings differ diff --git a/PBProjects/README.txt b/PBProjects/README.txt new file mode 100644 index 0000000..8616b0c --- /dev/null +++ b/PBProjects/README.txt @@ -0,0 +1,25 @@ +This is an unofficial OS X Project Builder environment to build a physfs Framework. + + +Built with: +physfs 0.1.7 +Project Builder 2.0.1 +OS X (10.2 Jaguar) + +This project was created by brainlessly mimicking the SDL (Simple Direct Media +Layer) Project Builder projects. The scripts were also shamelessly taken from +SDL as well. There may be errors. Use at your own risk! + +This project creates 2 installer packages: + +- A physfs framework for development (for people who wish to link to physfs) + +- A physfs framework for users (for users who run programs that used the above +package + +This project also builds static libraries for physfs (to build physfs and physfsc) but +they are not installed anywhere. If you wish to use them, you will need to +copy them out of the build directory. + +Eric Wing + diff --git a/PBProjects/exports/Makefile b/PBProjects/exports/Makefile new file mode 100644 index 0000000..c489a63 --- /dev/null +++ b/PBProjects/exports/Makefile @@ -0,0 +1,12 @@ + +EXPORTS = SDL_sound.x +HEADERS = \ + ../../SDL_sound.h + +all: $(EXPORTS) + +$(EXPORTS): $(HEADERS) + perl gendef.pl $(HEADERS) >$@ || rm $@ + +clean: + rm -f $(EXPORTS) diff --git a/PBProjects/exports/gendef.pl b/PBProjects/exports/gendef.pl new file mode 100644 index 0000000..5feb414 --- /dev/null +++ b/PBProjects/exports/gendef.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl +# +# Program to take a set of header files and generate DLL export definitions + +while ( ($file = shift(@ARGV)) ) { + if ( ! defined(open(FILE, $file)) ) { + warn "Couldn't open $file: $!\n"; + next; + } + $printed_header = 0; + $file =~ s,.*/,,; + while () { + if ( /^__EXPORT__.*\s\**([^\s\(]+)\(/ ) { + print "\t_$1\n"; + } elsif ( /^__EXPORT__.*\s\**([^\s\(]+)$/ ) { + print "\t_$1\n"; + } + } + close(FILE); +} diff --git a/PBProjects/exports/physfs.exp b/PBProjects/exports/physfs.exp new file mode 100644 index 0000000..47ae242 --- /dev/null +++ b/PBProjects/exports/physfs.exp @@ -0,0 +1,71 @@ + _PHYSFS_getLinkedVersion + _PHYSFS_init + _PHYSFS_deinit + _PHYSFS_supportedArchiveTypes + _PHYSFS_freeList + _PHYSFS_getLastError + _PHYSFS_getDirSeparator + _PHYSFS_permitSymbolicLinks + _PHYSFS_getCdRomDirs + _PHYSFS_getBaseDir + _PHYSFS_getUserDir + _PHYSFS_getWriteDir + _PHYSFS_setWriteDir + _PHYSFS_addToSearchPath + _PHYSFS_removeFromSearchPath + _PHYSFS_getSearchPath + _PHYSFS_setSaneConfig + _PHYSFS_mkdir + _PHYSFS_delete + _PHYSFS_getRealDir + _PHYSFS_enumerateFiles + _PHYSFS_exists + _PHYSFS_isDirectory + _PHYSFS_isSymbolicLink + _PHYSFS_openWrite + _PHYSFS_openAppend + _PHYSFS_openRead + _PHYSFS_close + _PHYSFS_getLastModTime + _PHYSFS_read + _PHYSFS_write + _PHYSFS_eof + _PHYSFS_tell + _PHYSFS_seek + _PHYSFS_fileLength + _PHYSFS_swapSLE16 + _PHYSFS_swapULE16 + _PHYSFS_swapSLE32 + _PHYSFS_swapULE32 + _PHYSFS_swapSLE64 + _PHYSFS_swapULE64 + _PHYSFS_swapSBE16 + _PHYSFS_swapUBE16 + _PHYSFS_swapSBE32 + _PHYSFS_swapUBE32 + _PHYSFS_swapSBE64 + _PHYSFS_swapUBE64 + _PHYSFS_readSLE16 + _PHYSFS_readULE16 + _PHYSFS_readSBE16 + _PHYSFS_readUBE16 + _PHYSFS_readSLE32 + _PHYSFS_readULE32 + _PHYSFS_readSBE32 + _PHYSFS_readUBE32 + _PHYSFS_readSLE64 + _PHYSFS_readULE64 + _PHYSFS_readSBE64 + _PHYSFS_readUBE64 + _PHYSFS_writeSLE16 + _PHYSFS_writeULE16 + _PHYSFS_writeSBE16 + _PHYSFS_writeUBE16 + _PHYSFS_writeSLE32 + _PHYSFS_writeULE32 + _PHYSFS_writeSBE32 + _PHYSFS_writeUBE32 + _PHYSFS_writeSLE64 + _PHYSFS_writeULE64 + _PHYSFS_writeSBE64 + _PHYSFS_writeUBE64 diff --git a/PBProjects/mkpbprojects.csh b/PBProjects/mkpbprojects.csh new file mode 100755 index 0000000..0d81a51 --- /dev/null +++ b/PBProjects/mkpbprojects.csh @@ -0,0 +1,20 @@ +#!/bin/csh + +### +## This script creates "PBProjects.tar.gz" in the parent directory +### + +# remove build products +rm -rf build + +# remove Finder info files +find . -name ".DS_Store" -exec rm "{}" ";" + +# remove user project prefs +find . -name "*.pbxuser" -exec rm "{}" ";" + +# create the archive +(cd .. && gnutar -zcvf PBProjects.tar.gz PBProjects) + + + diff --git a/PBProjects/physfs.pbproj/project.pbxproj b/PBProjects/physfs.pbproj/project.pbxproj new file mode 100644 index 0000000..c0d91ad --- /dev/null +++ b/PBProjects/physfs.pbproj/project.pbxproj @@ -0,0 +1,1233 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 38; + objects = { + 014CEA440018CDF011CA2923 = { + buildRules = ( + ); + buildSettings = { + COPY_PHASE_STRIP = NO; + OPTIMIZATION_CFLAGS = "-O0"; + }; + isa = PBXBuildStyle; + name = Development; + }; + 014CEA450018CDF011CA2923 = { + buildRules = ( + ); + buildSettings = { + COPY_PHASE_STRIP = YES; + }; + isa = PBXBuildStyle; + name = Deployment; + }; +//010 +//011 +//012 +//013 +//014 +//030 +//031 +//032 +//033 +//034 + 034768DFFF38A50411DB9C8B = { + children = ( + 034768E0FF38A50411DB9C8B, + F8FDCD0303AEBD5D01A8000A, + F8FDCD0903AEBD7901A8000A, + F8FDCD1003AEBD8901A8000A, + ); + isa = PBXGroup; + name = Products; + refType = 4; + }; + 034768E0FF38A50411DB9C8B = { + isa = PBXFrameworkReference; + path = physfs.framework; + refType = 3; + }; +//030 +//031 +//032 +//033 +//034 +//080 +//081 +//082 +//083 +//084 + 0867D690FE84028FC02AAC07 = { + buildStyles = ( + 014CEA440018CDF011CA2923, + 014CEA450018CDF011CA2923, + ); + isa = PBXProject; + mainGroup = 0867D691FE84028FC02AAC07; + productRefGroup = 034768DFFF38A50411DB9C8B; + projectDirPath = ""; + targets = ( + 0867D69CFE84028FC02AAC07, + F8FDCD0203AEBD5D01A8000A, + F8FDCD0803AEBD7901A8000A, + F8FDCD0F03AEBD8901A8000A, + ); + }; + 0867D691FE84028FC02AAC07 = { + children = ( + 089C1666FE841158C02AAC07, + 08FB77AEFE84172EC02AAC07, + 089C1665FE841158C02AAC07, + F8FDCD2103AEBE7B01A8000A, + 034768DFFF38A50411DB9C8B, + ); + isa = PBXGroup; + name = physfs; + refType = 4; + }; + 0867D69CFE84028FC02AAC07 = { + buildPhases = ( + 0867D69DFE84028FC02AAC07, + 0867D69EFE84028FC02AAC07, + 0867D69FFE84028FC02AAC07, + 0867D6A0FE84028FC02AAC07, + 0867D6A2FE84028FC02AAC07, + F8FDCD2203AECAA201A8000A, + ); + buildSettings = { + DEBUGGING_SYMBOLS = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + EXPORTED_SYMBOLS_FILE = exports/physfs.exp; + FRAMEWORK_SEARCH_PATHS = ""; + FRAMEWORK_VERSION = A; + HEADER_SEARCH_PATHS = ""; + INSTALL_PATH = "$(HOME)/Library/Frameworks"; + LIBRARY_SEARCH_PATHS = ""; + OTHER_LDFLAGS = "-seg1addr 0x30A00000"; + PRODUCT_NAME = physfs; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + WRAPPER_EXTENSION = framework; + }; + dependencies = ( + ); + isa = PBXFrameworkTarget; + name = Framework; + productInstallPath = "$(HOME)/Library/Frameworks"; + productName = physfs; + productReference = 034768E0FF38A50411DB9C8B; + productSettingsXML = " + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + physfs + CFBundleGetInfoString + http://www.icculus.org/physfs + CFBundleIconFile + + CFBundleIdentifier + + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + PhysFS + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.7 + CFBundleSignature + ???? + CFBundleVersion + 0.0.1d1 + NSPrincipalClass + + + +"; + shouldUseHeadermap = 1; + }; + 0867D69DFE84028FC02AAC07 = { + buildActionMask = 2147483647; + files = ( + F8FDCE0A03AEDD6801A8000A, + F8FDCE6803AEDE1F01A8000A, + F8FDCE6B03AEDE1F01A8000A, + F8FDCE8A03AEDE1F01A8000A, + F8FDCE8C03AEDE1F01A8000A, + F8FDCE8E03AEDE1F01A8000A, + F8FDCE9003AEDE1F01A8000A, + F8FDCE9103AEDE1F01A8000A, + F8FDCE9403AEDE1F01A8000A, + F8FDCE9603AEDE1F01A8000A, + F8FDCE9B03AEDE1F01A8000A, + F8FDCE9D03AEDE1F01A8000A, + F8FDCE9E03AEDE1F01A8000A, + F8FDCEA003AEDE1F01A8000A, + ); + isa = PBXHeadersBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 0867D69EFE84028FC02AAC07 = { + buildActionMask = 2147483647; + files = ( + ); + isa = PBXResourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 0867D69FFE84028FC02AAC07 = { + buildActionMask = 2147483647; + files = ( + F8FDCE6203AEDE1F01A8000A, + F8FDCE6303AEDE1F01A8000A, + F8FDCE6703AEDE1F01A8000A, + F8FDCE6903AEDE1F01A8000A, + F8FDCE6A03AEDE1F01A8000A, + F8FDCE6C03AEDE1F01A8000A, + F8FDCE7503AEDE1F01A8000A, + F8FDCE8603AEDE1F01A8000A, + F8FDCE8703AEDE1F01A8000A, + F8FDCE8803AEDE1F01A8000A, + F8FDCE8903AEDE1F01A8000A, + F8FDCE8B03AEDE1F01A8000A, + F8FDCE8D03AEDE1F01A8000A, + F8FDCE8F03AEDE1F01A8000A, + F8FDCE9203AEDE1F01A8000A, + F8FDCE9303AEDE1F01A8000A, + F8FDCE9503AEDE1F01A8000A, + F8FDCE9A03AEDE1F01A8000A, + F8FDCE9C03AEDE1F01A8000A, + F8FDCE9F03AEDE1F01A8000A, + F8FDCEC703AEDE3A01A8000A, + ); + isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 0867D6A0FE84028FC02AAC07 = { + buildActionMask = 2147483647; + files = ( + ); + isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 0867D6A2FE84028FC02AAC07 = { + buildActionMask = 2147483647; + files = ( + ); + isa = PBXRezBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 089C1665FE841158C02AAC07 = { + children = ( + F8FDCE0803AEDD6801A8000A, + ); + isa = PBXGroup; + name = "Public Headers"; + refType = 4; + }; + 089C1666FE841158C02AAC07 = { + children = ( + 089C1667FE841158C02AAC07, + ); + isa = PBXVariantGroup; + name = InfoPlist.strings; + path = ""; + refType = 4; + }; + 089C1667FE841158C02AAC07 = { + fileEncoding = 10; + isa = PBXFileReference; + name = English; + path = English.lproj/InfoPlist.strings; + refType = 4; + }; + 08FB77AEFE84172EC02AAC07 = { + children = ( + F8FDCE0B03AEDDC901A8000A, + F8FDCE0F03AEDDC901A8000A, + F8FDCE1003AEDDC901A8000A, + F8FDCE1103AEDDC901A8000A, + F8FDCE1203AEDDC901A8000A, + ); + isa = PBXGroup; + name = "pkg-support"; + refType = 4; + }; +//080 +//081 +//082 +//083 +//084 +//F80 +//F81 +//F82 +//F83 +//F84 + F8FDCCFE03AEBD5D01A8000A = { + buildActionMask = 2147483647; + files = ( + F8FDCE0903AEDD6801A8000A, + F8FDCEA403AEDE1F01A8000A, + F8FDCEA703AEDE1F01A8000A, + F8FDCEB303AEDE1F01A8000A, + F8FDCEB503AEDE1F01A8000A, + F8FDCEB703AEDE1F01A8000A, + F8FDCEB903AEDE1F01A8000A, + F8FDCEBA03AEDE1F01A8000A, + F8FDCEBD03AEDE1F01A8000A, + F8FDCEBF03AEDE1F01A8000A, + F8FDCEC103AEDE1F01A8000A, + F8FDCEC303AEDE1F01A8000A, + F8FDCEC403AEDE1F01A8000A, + F8FDCEC603AEDE1F01A8000A, + ); + isa = PBXHeadersBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F8FDCCFF03AEBD5D01A8000A = { + buildActionMask = 2147483647; + files = ( + F8FDCEA103AEDE1F01A8000A, + F8FDCEA203AEDE1F01A8000A, + F8FDCEA303AEDE1F01A8000A, + F8FDCEA503AEDE1F01A8000A, + F8FDCEA603AEDE1F01A8000A, + F8FDCEA803AEDE1F01A8000A, + F8FDCEAD03AEDE1F01A8000A, + F8FDCEAF03AEDE1F01A8000A, + F8FDCEB003AEDE1F01A8000A, + F8FDCEB103AEDE1F01A8000A, + F8FDCEB203AEDE1F01A8000A, + F8FDCEB403AEDE1F01A8000A, + F8FDCEB603AEDE1F01A8000A, + F8FDCEB803AEDE1F01A8000A, + F8FDCEBB03AEDE1F01A8000A, + F8FDCEBC03AEDE1F01A8000A, + F8FDCEBE03AEDE1F01A8000A, + F8FDCEC003AEDE1F01A8000A, + F8FDCEC203AEDE1F01A8000A, + F8FDCEC503AEDE1F01A8000A, + F8FDCECA03AF0B0001A8000A, + ); + isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F8FDCD0003AEBD5D01A8000A = { + buildActionMask = 2147483647; + files = ( + ); + isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F8FDCD0103AEBD5D01A8000A = { + buildActionMask = 2147483647; + files = ( + ); + isa = PBXRezBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + F8FDCD0203AEBD5D01A8000A = { + buildPhases = ( + F8FDCCFE03AEBD5D01A8000A, + F8FDCCFF03AEBD5D01A8000A, + F8FDCD0003AEBD5D01A8000A, + F8FDCD0103AEBD5D01A8000A, + ); + buildSettings = { + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + LIBRARY_STYLE = STATIC; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOL_FLAGS = ""; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = libphysfs.a; + REZ_EXECUTABLE = YES; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + }; + dependencies = ( + ); + isa = PBXLibraryTarget; + name = "Static Library"; + productInstallPath = /usr/local/lib; + productName = libphysfs.a; + productReference = F8FDCD0303AEBD5D01A8000A; + shouldUseHeadermap = 0; + }; + F8FDCD0303AEBD5D01A8000A = { + isa = PBXLibraryReference; + path = libphysfs.a; + refType = 3; + }; + F8FDCD0803AEBD7901A8000A = { + buildPhases = ( + F8FDCDDA03AECC6401A8000A, + ); + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "Standard Package"; + REZ_EXECUTABLE = YES; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + }; + dependencies = ( + F8FDCF6303AF110C01A8000A, + ); + isa = PBXToolTarget; + name = "Standard Package"; + productInstallPath = /usr/local/bin; + productName = "Standard Package"; + productReference = F8FDCD0903AEBD7901A8000A; + shouldUseHeadermap = 0; + }; + F8FDCD0903AEBD7901A8000A = { + isa = PBXExecutableFileReference; + path = "Standard Package"; + refType = 3; + }; + F8FDCD0F03AEBD8901A8000A = { + buildPhases = ( + F8FDCDDB03AECC7A01A8000A, + ); + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "Devel Package"; + REZ_EXECUTABLE = YES; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + }; + dependencies = ( + F8FDCF6403AF111101A8000A, + ); + isa = PBXToolTarget; + name = "Devel Package"; + productInstallPath = /usr/local/bin; + productName = "Devel Package"; + productReference = F8FDCD1003AEBD8901A8000A; + shouldUseHeadermap = 0; + }; + F8FDCD1003AEBD8901A8000A = { + isa = PBXExecutableFileReference; + path = "Devel Package"; + refType = 3; + }; + F8FDCD2103AEBE7B01A8000A = { + children = ( + F8FDCE1503AEDE1F01A8000A, + F8FDCE2303AEDE1F01A8000A, + F8FDCE2403AEDE1F01A8000A, + F8FDCE2503AEDE1F01A8000A, + F8FDCE2603AEDE1F01A8000A, + F8FDCE3403AEDE1F01A8000A, + ); + isa = PBXGroup; + name = "Library Source"; + path = ""; + refType = 4; + }; + F8FDCD2203AECAA201A8000A = { + buildActionMask = 8; + files = ( + ); + generatedFileNames = ( + ); + isa = PBXShellScriptBuildPhase; + neededFileNames = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = "# make frameworks directory if it doesn't already exist\nmkdir -p ~/Library/Frameworks\n# delete the old framework\nrm -rf ~/Library/Frameworks/physfs.framework\n# copy framework to its home\n/Developer/Tools/CpMac -r build/physfs.framework ~/Library/Frameworks/physfs.framework\n# precompile header for speedier compiles\n/usr/bin/cc -I $HOME/Library/Frameworks/physfs.framework/Headers -precomp ~/Library/Frameworks/physfs.framework/Headers/physfs.h -o ~/Library/Frameworks/physfs.framework/Headers/physfs.p"; + }; + F8FDCDDA03AECC6401A8000A = { + buildActionMask = 2147483647; + files = ( + ); + generatedFileNames = ( + ); + isa = PBXShellScriptBuildPhase; + neededFileNames = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "exec ./pkg-support/mkpackage.sh \"physfs\" \"standard\""; + }; + F8FDCDDB03AECC7A01A8000A = { + buildActionMask = 2147483647; + files = ( + ); + generatedFileNames = ( + ); + isa = PBXShellScriptBuildPhase; + neededFileNames = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "exec ./pkg-support/mkpackage.sh \"physfs\" \"devel\""; + }; + F8FDCE0803AEDD6801A8000A = { + isa = PBXFileReference; + name = physfs.h; + path = ../physfs.h; + refType = 2; + }; + F8FDCE0903AEDD6801A8000A = { + fileRef = F8FDCE0803AEDD6801A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE0A03AEDD6801A8000A = { + fileRef = F8FDCE0803AEDD6801A8000A; + isa = PBXBuildFile; + settings = { + ATTRIBUTES = ( + Public, + ); + }; + }; + F8FDCE0B03AEDDC901A8000A = { + children = ( + F8FDCE0C03AEDDC901A8000A, + F8FDCE0D03AEDDC901A8000A, + F8FDCE0E03AEDDC901A8000A, + ); + isa = PBXGroup; + name = "devel-resources"; + path = "pkg-support/devel-resources"; + refType = 2; + }; + F8FDCE0C03AEDDC901A8000A = { + isa = PBXExecutableFileReference; + path = install.sh; + refType = 4; + }; + F8FDCE0D03AEDDC901A8000A = { + isa = PBXFileReference; + path = ReadMe.txt; + refType = 4; + }; + F8FDCE0E03AEDDC901A8000A = { + isa = PBXFileReference; + path = Welcome.txt; + refType = 4; + }; + F8FDCE0F03AEDDC901A8000A = { + isa = PBXExecutableFileReference; + name = mkpackage.sh; + path = "pkg-support/mkpackage.sh"; + refType = 2; + }; + F8FDCE1003AEDDC901A8000A = { + isa = PBXFileReference; + name = "physfs-devel.info"; + path = "pkg-support/physfs-devel.info"; + refType = 2; + }; + F8FDCE1103AEDDC901A8000A = { + isa = PBXFileReference; + name = physfs.info; + path = "pkg-support/physfs.info"; + refType = 2; + }; + F8FDCE1203AEDDC901A8000A = { + children = ( + F8FDCE1303AEDDC901A8000A, + F8FDCE1403AEDDC901A8000A, + ); + isa = PBXGroup; + name = resources; + path = "pkg-support/resources"; + refType = 2; + }; + F8FDCE1303AEDDC901A8000A = { + isa = PBXFileReference; + path = ReadMe.txt; + refType = 4; + }; + F8FDCE1403AEDDC901A8000A = { + isa = PBXFileReference; + path = Welcome.txt; + refType = 4; + }; + F8FDCE1503AEDE1F01A8000A = { + children = ( + F8FDCE1B03AEDE1F01A8000A, + F8FDCE1C03AEDE1F01A8000A, + F8FDCE2003AEDE1F01A8000A, + F8FDCE2103AEDE1F01A8000A, + F8FDCE2203AEDE1F01A8000A, + ); + isa = PBXGroup; + name = archivers; + path = ../archivers; + refType = 2; + }; + F8FDCE1B03AEDE1F01A8000A = { + isa = PBXFileReference; + path = dir.c; + refType = 4; + }; + F8FDCE1C03AEDE1F01A8000A = { + isa = PBXFileReference; + path = grp.c; + refType = 4; + }; + F8FDCE2003AEDE1F01A8000A = { + isa = PBXFileReference; + path = unzip.c; + refType = 4; + }; + F8FDCE2103AEDE1F01A8000A = { + isa = PBXFileReference; + path = unzip.h; + refType = 4; + }; + F8FDCE2203AEDE1F01A8000A = { + isa = PBXFileReference; + path = zip.c; + refType = 4; + }; + F8FDCE2303AEDE1F01A8000A = { + isa = PBXFileReference; + name = physfs_byteorder.c; + path = ../physfs_byteorder.c; + refType = 2; + }; + F8FDCE2403AEDE1F01A8000A = { + isa = PBXFileReference; + name = physfs_internal.h; + path = ../physfs_internal.h; + refType = 2; + }; + F8FDCE2503AEDE1F01A8000A = { + isa = PBXFileReference; + name = physfs.c; + path = ../physfs.c; + refType = 2; + }; + F8FDCE2603AEDE1F01A8000A = { + children = ( + F8FDCE2B03AEDE1F01A8000A, + F8FDCE2C03AEDE1F01A8000A, + F8FDCE3003AEDE1F01A8000A, + F8FDCE3103AEDE1F01A8000A, + F8FDCE3203AEDE1F01A8000A, + F8FDCE3303AEDE1F01A8000A, + ); + isa = PBXGroup; + name = platform; + path = ../platform; + refType = 2; + }; + F8FDCE2B03AEDE1F01A8000A = { + isa = PBXFileReference; + path = beos.cpp; + refType = 4; + }; + F8FDCE2C03AEDE1F01A8000A = { + isa = PBXFileReference; + path = macclassic.c; + refType = 4; + }; + F8FDCE3003AEDE1F01A8000A = { + isa = PBXFileReference; + path = posix.c; + refType = 4; + }; + F8FDCE3103AEDE1F01A8000A = { + isa = PBXFileReference; + path = skeleton.c; + refType = 4; + }; + F8FDCE3203AEDE1F01A8000A = { + isa = PBXFileReference; + path = unix.c; + refType = 4; + }; + F8FDCE3303AEDE1F01A8000A = { + isa = PBXFileReference; + path = win32.c; + refType = 4; + }; + F8FDCE3403AEDE1F01A8000A = { + children = ( + F8FDCE4303AEDE1F01A8000A, + F8FDCE4403AEDE1F01A8000A, + F8FDCE4503AEDE1F01A8000A, + F8FDCE4603AEDE1F01A8000A, + F8FDCE4703AEDE1F01A8000A, + F8FDCE4803AEDE1F01A8000A, + F8FDCE4903AEDE1F01A8000A, + F8FDCE4A03AEDE1F01A8000A, + F8FDCE4B03AEDE1F01A8000A, + F8FDCE4C03AEDE1F01A8000A, + F8FDCE4D03AEDE1F01A8000A, + F8FDCE4E03AEDE1F01A8000A, + F8FDCE4F03AEDE1F01A8000A, + F8FDCE5003AEDE1F01A8000A, + F8FDCE5103AEDE1F01A8000A, + F8FDCE5203AEDE1F01A8000A, + F8FDCE5303AEDE1F01A8000A, + F8FDCE5703AEDE1F01A8000A, + F8FDCE5803AEDE1F01A8000A, + F8FDCE5903AEDE1F01A8000A, + F8FDCE5A03AEDE1F01A8000A, + F8FDCE5B03AEDE1F01A8000A, + F8FDCE5C03AEDE1F01A8000A, + F8FDCE5D03AEDE1F01A8000A, + ); + isa = PBXGroup; + name = zlib114; + path = ../zlib114; + refType = 2; + }; + F8FDCE4303AEDE1F01A8000A = { + isa = PBXFileReference; + path = adler32.c; + refType = 4; + }; + F8FDCE4403AEDE1F01A8000A = { + isa = PBXFileReference; + path = compress.c; + refType = 4; + }; + F8FDCE4503AEDE1F01A8000A = { + isa = PBXFileReference; + path = crc32.c; + refType = 4; + }; + F8FDCE4603AEDE1F01A8000A = { + isa = PBXFileReference; + path = deflate.c; + refType = 4; + }; + F8FDCE4703AEDE1F01A8000A = { + isa = PBXFileReference; + path = deflate.h; + refType = 4; + }; + F8FDCE4803AEDE1F01A8000A = { + isa = PBXFileReference; + path = infblock.c; + refType = 4; + }; + F8FDCE4903AEDE1F01A8000A = { + isa = PBXFileReference; + path = infblock.h; + refType = 4; + }; + F8FDCE4A03AEDE1F01A8000A = { + isa = PBXFileReference; + path = infcodes.c; + refType = 4; + }; + F8FDCE4B03AEDE1F01A8000A = { + isa = PBXFileReference; + path = infcodes.h; + refType = 4; + }; + F8FDCE4C03AEDE1F01A8000A = { + isa = PBXFileReference; + path = inffast.c; + refType = 4; + }; + F8FDCE4D03AEDE1F01A8000A = { + isa = PBXFileReference; + path = inffast.h; + refType = 4; + }; + F8FDCE4E03AEDE1F01A8000A = { + isa = PBXFileReference; + path = inffixed.h; + refType = 4; + }; + F8FDCE4F03AEDE1F01A8000A = { + isa = PBXFileReference; + path = inflate.c; + refType = 4; + }; + F8FDCE5003AEDE1F01A8000A = { + isa = PBXFileReference; + path = inftrees.c; + refType = 4; + }; + F8FDCE5103AEDE1F01A8000A = { + isa = PBXFileReference; + path = inftrees.h; + refType = 4; + }; + F8FDCE5203AEDE1F01A8000A = { + isa = PBXFileReference; + path = infutil.c; + refType = 4; + }; + F8FDCE5303AEDE1F01A8000A = { + isa = PBXFileReference; + path = infutil.h; + refType = 4; + }; + F8FDCE5703AEDE1F01A8000A = { + isa = PBXFileReference; + path = trees.c; + refType = 4; + }; + F8FDCE5803AEDE1F01A8000A = { + isa = PBXFileReference; + path = trees.h; + refType = 4; + }; + F8FDCE5903AEDE1F01A8000A = { + isa = PBXFileReference; + path = uncompr.c; + refType = 4; + }; + F8FDCE5A03AEDE1F01A8000A = { + isa = PBXFileReference; + path = zconf.h; + refType = 4; + }; + F8FDCE5B03AEDE1F01A8000A = { + isa = PBXFileReference; + path = zlib.h; + refType = 4; + }; + F8FDCE5C03AEDE1F01A8000A = { + isa = PBXFileReference; + path = zutil.c; + refType = 4; + }; + F8FDCE5D03AEDE1F01A8000A = { + isa = PBXFileReference; + path = zutil.h; + refType = 4; + }; + F8FDCE6203AEDE1F01A8000A = { + fileRef = F8FDCE1B03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE6303AEDE1F01A8000A = { + fileRef = F8FDCE1C03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE6703AEDE1F01A8000A = { + fileRef = F8FDCE2003AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE6803AEDE1F01A8000A = { + fileRef = F8FDCE2103AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE6903AEDE1F01A8000A = { + fileRef = F8FDCE2203AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE6A03AEDE1F01A8000A = { + fileRef = F8FDCE2303AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE6B03AEDE1F01A8000A = { + fileRef = F8FDCE2403AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE6C03AEDE1F01A8000A = { + fileRef = F8FDCE2503AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE7503AEDE1F01A8000A = { + fileRef = F8FDCE3003AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8603AEDE1F01A8000A = { + fileRef = F8FDCE4303AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8703AEDE1F01A8000A = { + fileRef = F8FDCE4403AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8803AEDE1F01A8000A = { + fileRef = F8FDCE4503AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8903AEDE1F01A8000A = { + fileRef = F8FDCE4603AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8A03AEDE1F01A8000A = { + fileRef = F8FDCE4703AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8B03AEDE1F01A8000A = { + fileRef = F8FDCE4803AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8C03AEDE1F01A8000A = { + fileRef = F8FDCE4903AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8D03AEDE1F01A8000A = { + fileRef = F8FDCE4A03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8E03AEDE1F01A8000A = { + fileRef = F8FDCE4B03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE8F03AEDE1F01A8000A = { + fileRef = F8FDCE4C03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9003AEDE1F01A8000A = { + fileRef = F8FDCE4D03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9103AEDE1F01A8000A = { + fileRef = F8FDCE4E03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9203AEDE1F01A8000A = { + fileRef = F8FDCE4F03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9303AEDE1F01A8000A = { + fileRef = F8FDCE5003AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9403AEDE1F01A8000A = { + fileRef = F8FDCE5103AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9503AEDE1F01A8000A = { + fileRef = F8FDCE5203AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9603AEDE1F01A8000A = { + fileRef = F8FDCE5303AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9A03AEDE1F01A8000A = { + fileRef = F8FDCE5703AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9B03AEDE1F01A8000A = { + fileRef = F8FDCE5803AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9C03AEDE1F01A8000A = { + fileRef = F8FDCE5903AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9D03AEDE1F01A8000A = { + fileRef = F8FDCE5A03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9E03AEDE1F01A8000A = { + fileRef = F8FDCE5B03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCE9F03AEDE1F01A8000A = { + fileRef = F8FDCE5C03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA003AEDE1F01A8000A = { + fileRef = F8FDCE5D03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA103AEDE1F01A8000A = { + fileRef = F8FDCE1B03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA203AEDE1F01A8000A = { + fileRef = F8FDCE1C03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA303AEDE1F01A8000A = { + fileRef = F8FDCE2003AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA403AEDE1F01A8000A = { + fileRef = F8FDCE2103AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA503AEDE1F01A8000A = { + fileRef = F8FDCE2203AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA603AEDE1F01A8000A = { + fileRef = F8FDCE2303AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA703AEDE1F01A8000A = { + fileRef = F8FDCE2403AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEA803AEDE1F01A8000A = { + fileRef = F8FDCE2503AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEAD03AEDE1F01A8000A = { + fileRef = F8FDCE3203AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEAF03AEDE1F01A8000A = { + fileRef = F8FDCE4303AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB003AEDE1F01A8000A = { + fileRef = F8FDCE4403AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB103AEDE1F01A8000A = { + fileRef = F8FDCE4503AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB203AEDE1F01A8000A = { + fileRef = F8FDCE4603AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB303AEDE1F01A8000A = { + fileRef = F8FDCE4703AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB403AEDE1F01A8000A = { + fileRef = F8FDCE4803AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB503AEDE1F01A8000A = { + fileRef = F8FDCE4903AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB603AEDE1F01A8000A = { + fileRef = F8FDCE4A03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB703AEDE1F01A8000A = { + fileRef = F8FDCE4B03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB803AEDE1F01A8000A = { + fileRef = F8FDCE4C03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEB903AEDE1F01A8000A = { + fileRef = F8FDCE4D03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEBA03AEDE1F01A8000A = { + fileRef = F8FDCE4E03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEBB03AEDE1F01A8000A = { + fileRef = F8FDCE4F03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEBC03AEDE1F01A8000A = { + fileRef = F8FDCE5003AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEBD03AEDE1F01A8000A = { + fileRef = F8FDCE5103AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEBE03AEDE1F01A8000A = { + fileRef = F8FDCE5203AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEBF03AEDE1F01A8000A = { + fileRef = F8FDCE5303AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC003AEDE1F01A8000A = { + fileRef = F8FDCE5703AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC103AEDE1F01A8000A = { + fileRef = F8FDCE5803AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC203AEDE1F01A8000A = { + fileRef = F8FDCE5903AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC303AEDE1F01A8000A = { + fileRef = F8FDCE5A03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC403AEDE1F01A8000A = { + fileRef = F8FDCE5B03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC503AEDE1F01A8000A = { + fileRef = F8FDCE5C03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC603AEDE1F01A8000A = { + fileRef = F8FDCE5D03AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCEC703AEDE3A01A8000A = { + fileRef = F8FDCE3203AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCECA03AF0B0001A8000A = { + fileRef = F8FDCE3003AEDE1F01A8000A; + isa = PBXBuildFile; + settings = { + }; + }; + F8FDCF6303AF110C01A8000A = { + isa = PBXTargetDependency; + target = 0867D69CFE84028FC02AAC07; + }; + F8FDCF6403AF111101A8000A = { + isa = PBXTargetDependency; + target = 0867D69CFE84028FC02AAC07; + }; + }; + rootObject = 0867D690FE84028FC02AAC07; +} diff --git a/PBProjects/pkg-support/devel-resources/ReadMe.txt b/PBProjects/pkg-support/devel-resources/ReadMe.txt new file mode 100755 index 0000000..e493d4f --- /dev/null +++ b/PBProjects/pkg-support/devel-resources/ReadMe.txt @@ -0,0 +1,7 @@ +This is an example portable sound library for use with SDL. +The API can be found in the file ~/Library/Frameworks/physfs.framework/Headers/physfs.h + +The source code is available from: +http://www.icculus.org/physfs/ + +This library is distributed under the terms of the GNU LGPL license: http://www.gnu.org/copyleft/lesser.html diff --git a/PBProjects/pkg-support/devel-resources/Welcome.txt b/PBProjects/pkg-support/devel-resources/Welcome.txt new file mode 100644 index 0000000..88f392e --- /dev/null +++ b/PBProjects/pkg-support/devel-resources/Welcome.txt @@ -0,0 +1,3 @@ +This package installs the developer version of the physfs library and associated files. + +The physfs Framework is installed into ~/Library/Frameworks. diff --git a/PBProjects/pkg-support/devel-resources/install.sh b/PBProjects/pkg-support/devel-resources/install.sh new file mode 100755 index 0000000..d0fb06d --- /dev/null +++ b/PBProjects/pkg-support/devel-resources/install.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# finish up the installation +# this script should be executed using the sudo command +# this file is copied to physfs.post_install and physfs.post_upgrade +# inside the .pkg bundle +echo "Running post-install script" +umask 022 + +ROOT=/Developer/Documentation/SDL + +echo "Moving physfs.framework to ~/Library/Frameworks" +# move SDL to its proper home, so the target stationary works +mkdir -p ~/Library/Frameworks +/Developer/Tools/CpMac -r $ROOT/physfs.framework ~/Library/Frameworks +rm -rf $ROOT/physfs.framework + +echo "Precompiling Header" +# precompile header for speedier compiles +/usr/bin/cc -I $HOME/Library/Frameworks/SDL.framework/Headers -precomp ~/Library/Frameworks/physfs.framework/Headers/physfs.h -o ~/Library/Frameworks/physfs.framework/Headers/physfs.p diff --git a/PBProjects/pkg-support/mkpackage.sh b/PBProjects/pkg-support/mkpackage.sh new file mode 100755 index 0000000..cddad69 --- /dev/null +++ b/PBProjects/pkg-support/mkpackage.sh @@ -0,0 +1,51 @@ +#!/bin/sh + +# Generic script to create a package with Project Builder in mind +# There should only be one version of this script for all projects! + +FRAMEWORK="$1" +VARIANT="$2" + +if test "$VARIANT" = "devel" ; then + PACKAGE="$FRAMEWORK-devel" + PACKAGE_RESOURCES="pkg-support/devel-resources" +else + PACKAGE="$FRAMEWORK" + PACKAGE_RESOURCES="pkg-support/resources" +fi + +echo "Building package for $FRAMEWORK.framework" +echo "Will fetch resources from $PACKAGE_RESOURCES" +echo "Will create the package $PACKAGE.pkg" + +# create a copy of the framework +mkdir -p build/pkg-tmp +/Developer/Tools/CpMac -r "build/$FRAMEWORK.framework" build/pkg-tmp/ + + +if test "$VARIANT" = "standard" ; then + rm -rf "build/pkg-tmp/$FRAMEWORK.framework/Headers" + rm -rf "build/pkg-tmp/$FRAMEWORK.framework/Versions/Current/Headers" +fi + +rm -rf build/pkg-tmp/$FRAMEWORK.framework/Resources/pbdevelopment.plist +rm -rf $PACKAGE_RESOURCES/.DS_Store + +# create the .pkg +package build/pkg-tmp "pkg-support/$PACKAGE.info" -d build -r "$PACKAGE_RESOURCES" + +if test "$VARIANT" = "devel" ; then + # create install scripts + DIR="build/$PACKAGE.pkg" + cp "$DIR/install.sh" "$DIR/$PACKAGE.post_install" + mv "$DIR/install.sh" "$DIR/$PACKAGE.post_upgrade" + + # add execute flag to scripts + chmod 755 "$DIR/$PACKAGE.post_install" "$DIR/$PACKAGE.post_upgrade" +fi + +# remove temporary files +rm -rf build/pkg-tmp + +# compress +(cd build; tar -zcvf "$PACKAGE.pkg.tar.gz" "$PACKAGE.pkg") diff --git a/PBProjects/pkg-support/physfs-devel.info b/PBProjects/pkg-support/physfs-devel.info new file mode 100644 index 0000000..54510db --- /dev/null +++ b/PBProjects/pkg-support/physfs-devel.info @@ -0,0 +1,15 @@ +Title PhysFS-Devel 0.1.7 +Version 1 +Description PhysFS Library for Mac OS X (http://www.icculus.org/physfs/) +DefaultLocation /Developer/Documentation/physfs +Diskname (null) +DeleteWarning +NeedsAuthorization YES +DisableStop NO +UseUserMask YES +Application NO +Relocatable NO +Required NO +InstallOnly NO +RequiresReboot NO +InstallFat NO diff --git a/PBProjects/pkg-support/physfs.info b/PBProjects/pkg-support/physfs.info new file mode 100644 index 0000000..5441f49 --- /dev/null +++ b/PBProjects/pkg-support/physfs.info @@ -0,0 +1,15 @@ +Title PhysFS 0.1.7 +Version 1 +Description PhysFS Library for Mac OS X (http://www.icculus.org/physfs/) +DefaultLocation /Library/Frameworks +Diskname (null) +DeleteWarning +NeedsAuthorization NO +DisableStop NO +UseUserMask NO +Application NO +Relocatable YES +Required NO +InstallOnly NO +RequiresReboot NO +InstallFat NO diff --git a/PBProjects/pkg-support/resources/ReadMe.txt b/PBProjects/pkg-support/resources/ReadMe.txt new file mode 100755 index 0000000..cdc9844 --- /dev/null +++ b/PBProjects/pkg-support/resources/ReadMe.txt @@ -0,0 +1,6 @@ +This is an example portable file system. + +The source code is available from: +http://www.icculus.org/physfs/ + +This library is distributed under the terms of the GNU LGPL license: http://www.gnu.org/copyleft/lesser.html diff --git a/PBProjects/pkg-support/resources/Welcome.txt b/PBProjects/pkg-support/resources/Welcome.txt new file mode 100644 index 0000000..ca8fd89 --- /dev/null +++ b/PBProjects/pkg-support/resources/Welcome.txt @@ -0,0 +1,3 @@ +This package installs the physfs library into /Library/Frameworks. You can also install it in +/Library/Frameworks if your access privileges are not high enough. + diff --git a/PBProjects/uninstall.csh b/PBProjects/uninstall.csh new file mode 100755 index 0000000..efcf3fa --- /dev/null +++ b/PBProjects/uninstall.csh @@ -0,0 +1,29 @@ +#!/bin/csh + +### +## This script removes the Developer physfs package +### + +setenv HOME_DIR ~ + +sudo -v -p "Enter administrator password to remove physfs: " + +sudo rm -rf "$HOME_DIR/Library/Frameworks/physfs.framework" + +# will only remove the Frameworks dir if empty (since we put it there) +sudo rmdir "$HOME_DIR/Library/Frameworks" + +#sudo rm -r "$HOME_DIR/Readme physfs Developer.txt" +sudo rm -r "/Developer/Documentation/physfs" +sudo rm -r "/Developer/Documentation/ManPages/man1/physfs"* +#sudo rm -r "/Developer/ProjectBuilder Extras/Project Templates/Application/physfs Application" +#sudo rm -r "/Developer/ProjectBuilder Extras/Target Templates/physfs" +sudo rm -r "/Library/Receipts/physfs-devel.pkg" + +# rebuild apropos database +sudo /usr/libexec/makewhatis + +unsetenv HOME_DIR + + +