Changeset 43239 in vbox for trunk/src/VBox/Installer/darwin/Makefile.kmk
- Timestamp:
- Sep 7, 2012 11:40:35 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r43010 r43239 117 117 # 118 118 $(VBOX_PATH_DIST)/VirtualBox-$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)-r$(VBOX_SVN_REV).dmg: \ 119 $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox. mpkg \119 $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox.pkg \ 120 120 $(VBOX_BRAND_DARWIN_DISKIMAGE_BG) \ 121 121 $(VBOX_BRAND_DARWIN_DISKIMAGE_DS_STORE) \ … … 129 129 sudo rm -Rf $(VBOX_PATH_PACK_TMP)/DiskImage.tmp 130 130 $(MKDIR) -p $(VBOX_PATH_PACK_TMP)/DiskImage.tmp/ 131 sudo mv $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox. mpkg $(VBOX_PATH_PACK_TMP)/DiskImage.tmp/131 sudo mv $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox.pkg $(VBOX_PATH_PACK_TMP)/DiskImage.tmp/ 132 132 sudo rm -Rf \ 133 133 $@ \ … … 165 165 # The meta-package. 166 166 # 167 $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox. mpkg: \167 $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox.pkg: \ 168 168 $(VBOX_PATH_PACK_TMP)/Packages/VBoxStartupItems.pkg \ 169 169 $(VBOX_PATH_PACK_TMP)/Packages/VBoxKEXTs.pkg \ … … 178 178 sudo rm -Rf \ 179 179 $@ \ 180 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.root \181 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.desc \182 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res180 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.root \ 181 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.desc \ 182 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res 183 183 @# Correct directory permissions are important. 184 184 $(MKDIR) -p \ 185 185 $(@D) \ 186 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.desc \187 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res \188 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/English.lproj186 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.desc \ 187 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res \ 188 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/English.lproj 189 189 @# Do keyword replacement in the package info and description files. 190 190 $(SED) \ … … 196 196 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \ 197 197 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \ 198 --output $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/English.lproj/Welcome.rtf \198 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/English.lproj/Welcome.rtf \ 199 199 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Welcome.rtf 200 200 @# Copy the resources. 201 $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Conclusion.rtf $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/English.lproj/Conclusion.rtf201 $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Conclusion.rtf $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/English.lproj/Conclusion.rtf 202 202 $(SED) \ 203 203 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \ 204 204 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \ 205 205 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \ 206 --output $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/English.lproj/Localizable.strings \206 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/English.lproj/Localizable.strings \ 207 207 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Localizable.strings 208 $(INSTALL) -m 0644 $(VBOX_BRAND_DARWIN_INSTALLER_BG) $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/background.tif208 $(INSTALL) -m 0644 $(VBOX_BRAND_DARWIN_INSTALLER_BG) $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/background.tif 209 209 $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES), \ 210 210 $(MKDIR) -p \ 211 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj$(NLTAB) \211 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj$(NLTAB) \ 212 212 $(SED) \ 213 213 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \ … … 215 215 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \ 216 216 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \ 217 --output $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Welcome.rtf \217 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Welcome.rtf \ 218 218 $(VBOX_BRAND_$(f)_VIRTUALBOX_WELCOME_RTF)$(NLTAB) \ 219 $(INSTALL) -m 0644 $(VBOX_BRAND_$(f)_VIRTUALBOX_CONCLUSION_RTF) $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Conclusion.rtf$(NLTAB) \219 $(INSTALL) -m 0644 $(VBOX_BRAND_$(f)_VIRTUALBOX_CONCLUSION_RTF) $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Conclusion.rtf$(NLTAB) \ 220 220 $(SED) \ 221 221 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \ 222 222 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \ 223 223 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \ 224 --output $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Localizable.strings \224 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Localizable.strings \ 225 225 $(VBOX_BRAND_$(f)_VIRTUALBOX_LOCALIZABLE_STRINGS)$(NLTAB) \ 226 226 ) … … 229 229 --distribution $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/distribution.dist \ 230 230 --package-path $(VBOX_PATH_PACK_TMP)/Packages \ 231 --resources $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res \232 --identifier org. virtualbox.mpkg.virtualbox \231 --resources $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res \ 232 --identifier org.VirtualBox.mpkg.virtualbox \ 233 233 --version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 234 234 $(if $(VBOX_MACOSX_INSTALLER_SIGN),--sign "$(VBOX_MACOSX_INSTALLER_SIGN)",) \ … … 236 236 @# Cleanup. 237 237 sudo rm -Rf \ 238 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.root \239 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.desc \240 $(VBOX_PATH_PACK_TMP)/VirtualBox. mpkg.res241 242 VirtualBox. mpkg: $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox.mpkg238 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.root \ 239 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.desc \ 240 $(VBOX_PATH_PACK_TMP)/VirtualBox.dist.res 241 242 VirtualBox.pkg:: $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox.pkg 243 243 244 244 #
Note:
See TracChangeset
for help on using the changeset viewer.