Changeset 48937 in vbox for trunk/src/VBox/Additions/darwin/Installer/Makefile.kmk
- Timestamp:
- Oct 7, 2013 9:23:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/darwin/Installer/Makefile.kmk
r48254 r48937 159 159 $(VBOX_PATH_PACK_TMP)/VBoxDarwinAdditions.dist.res \ 160 160 $(VBOX_PATH_PACK_TMP)/VBoxDarwinAdditions.dist.res/English.lproj 161 161 162 162 @# Do keyword replacement in the package info and description files. 163 163 $(SED) \ … … 173 173 @# Copy the resources. 174 174 $(INSTALL) -m 0644 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/Conclusion.rtf $(VBOX_PATH_PACK_TMP)/VBoxDarwinAdditions.dist.res/English.lproj/Conclusion.rtf 175 175 176 176 $(SED) \ 177 177 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \ … … 181 181 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/Localizable.strings 182 182 $(INSTALL) -m 0644 $(VBOX_BRAND_DARWIN_INSTALLER_BG) $(VBOX_PATH_PACK_TMP)/VBoxDarwinAdditions.dist.res/background.tif 183 183 184 184 $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES), \ 185 185 $(MKDIR) -p \ … … 200 200 $(VBOX_BRAND_$(f)_VIRTUALBOX_LOCALIZABLE_STRINGS)$(NLTAB) \ 201 201 ) 202 202 203 203 @# Build the package. 204 204 $(VBOX_PRODUCTBUILD) \ … … 209 209 --version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 210 210 $(if $(VBOX_MACOSX_INSTALLER_SIGN),--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \ 211 $@ 212 211 $@ 212 213 213 @# Cleanup. 214 214 sudo rm -Rf \ … … 279 279 sudo chown root:admin $(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.root/Library 280 280 sudo chown -R root:wheel $(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.root/Library/Extensions 281 281 282 282 # Copy package internal files 283 283 $(INSTALL) $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/PkgBuildComponent.plist $(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.desc/PkgBuildComponent.plist 284 284 285 285 # Copy installer scripts 286 286 $(INSTALL) -m 0755 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/postflight $(VBOX_PATH_PACK_TMP)/VBoxGuestAdditionsKEXTs.pkg.res 287 287 288 288 @# Build the package. 289 289 $(VBOX_PKGBUILD) \ … … 330 330 $(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).res \ 331 331 $(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).res/English.lproj 332 332 333 333 @# Create directory structure within a package w/ proper permittions 334 334 $(MKDIR) -p -m 0775 \ … … 336 336 "$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/LaunchAgents" \ 337 337 "$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/LaunchDaemons" 338 338 339 339 @# Install binaries 340 340 ifdef VBOX_WITH_COMBINED_PACKAGE … … 355 355 # Add Uninstall.tool 356 356 $(INSTALL) $(VBOX_ADD_PATH_DI_SRC)/DiskImage/Uninstall.tool "$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/Application Support/VirtualBox Guest Additions/" \ 357 357 358 358 @# Install launchd stuff 359 359 $(INSTALL) -m 0755 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsToolsAndServices/VBoxServiceWrapper \ … … 363 363 $(INSTALL) -m 644 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsToolsAndServices/org.virtualbox.additions.vboxservice.plist \ 364 364 "$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/LaunchDaemons/" 365 365 366 366 @# Correct ownership 367 367 sudo chown -R root:wheel "$(VBOX_PATH_PACK_TMP)/$(VBOX_GA_PKG).root/Library/" 368 368 369 369 @# Build the package. 370 370 $(VBOX_PKGBUILD) \
Note:
See TracChangeset
for help on using the changeset viewer.