File tree 9 files changed +31
-25
lines changed 9 files changed +31
-25
lines changed Original file line number Diff line number Diff line change 44
44
/dist-osx
45
45
/npm.wxs
46
46
/tools /msvs /npm.wixobj
47
+ /tools /osx-pkg.pmdoc /index.xml
47
48
/test /addons /doc- * /
48
49
email.md
49
50
deps /v8- *
Original file line number Diff line number Diff line change @@ -223,8 +223,10 @@ docclean:
223
223
224
224
RAWVER =$(shell $(PYTHON ) tools/getnodeversion.py)
225
225
VERSION =v$(RAWVER )
226
+ FULLVERSION =$(VERSION )
226
227
RELEASE =$(shell $(PYTHON ) tools/getnodeisrelease.py)
227
228
PLATFORM =$(shell uname | tr '[:upper:]' '[:lower:]')
229
+ NPMVERSION =v$(shell cat deps/npm/package.json | grep '"version"' | sed 's/^[^:]* : "\([^"]* \) ",.*/\1/')
228
230
ifeq ($(findstring x86_64,$(shell uname -m) ) ,x86_64)
229
231
DESTCPU ?= x64
230
232
else
@@ -239,11 +241,11 @@ else
239
241
ARCH =x86
240
242
endif
241
243
endif
242
- TARNAME =iojs-$(VERSION )
243
244
ifdef NIGHTLY
244
245
TAG = nightly-$(NIGHTLY )
245
- TARNAME =iojs- $(VERSION ) -$(TAG )
246
+ FULLVERSION = $(VERSION ) -$(TAG )
246
247
endif
248
+ TARNAME =iojs-$(FULLVERSION )
247
249
TARBALL =$(TARNAME ) .tar
248
250
BINARYNAME =$(TARNAME ) -$(PLATFORM ) -$(ARCH )
249
251
BINARYTAR =$(BINARYNAME ) .tar
@@ -299,6 +301,7 @@ $(PKG): release-only
299
301
-create
300
302
mv $(PKGDIR ) /usr/local/bin/iojs-universal $(PKGDIR ) /usr/local/bin/iojs
301
303
rm -rf $(PKGDIR ) /32
304
+ cat tools/osx-pkg.pmdoc/index.xml.tmpl | sed -e ' s|__iojsversion__|' $(FULLVERSION ) ' |g' | sed -e ' s|__npmversion__|' $(NPMVERSION ) ' |g' > tools/osx-pkg.pmdoc/index.xml
302
305
$(packagemaker ) \
303
306
--id " org.nodejs.Node" \
304
307
--doc tools/osx-pkg.pmdoc \
File renamed without changes.
Original file line number Diff line number Diff line change 1
- <pkg-contents spec =" 1.12" />
1
+ <pkg-contents spec =" 1.12" />
Original file line number Diff line number Diff line change 1
- <pkgref spec =" 1.12" uuid =" 053587FE-BDF3-4EF5-815D-281427431048" ><config ><identifier >org.nodejs .pkg</identifier ><version >1.0</version ><description ></description ><post-install type =" none" /><requireAuthorization /><installFrom relative =" true" mod =" true" >../out/dist-osx/usr/local/</installFrom ><installTo mod =" true" relocatable =" true" >/usr/local</installTo ><flags ><followSymbolicLinks /></flags ><packageStore type =" internal" ></packageStore ><mod >installTo.isRelativeType</mod ><mod >installTo</mod ><mod >locationType</mod ><mod >relocatable</mod ><mod >installFrom.path</mod ><mod >installTo.isAbsoluteType</mod ><mod >identifier</mod ><mod >parent</mod ><mod >installTo.path</mod ><mod >installFrom.isRelativeType</mod ></config ></pkgref >
1
+ <pkgref spec =" 1.12" uuid =" 053587FE-BDF3-4EF5-815D-281427431048" ><config ><identifier >org.iojs .pkg</identifier ><version >1.0</version ><description ></description ><post-install type =" none" /><requireAuthorization /><installFrom relative =" true" mod =" true" >../out/dist-osx/usr/local/</installFrom ><installTo mod =" true" relocatable =" true" >/usr/local</installTo ><flags ><followSymbolicLinks /></flags ><packageStore type =" internal" ></packageStore ><mod >installTo.isRelativeType</mod ><mod >installTo</mod ><mod >locationType</mod ><mod >relocatable</mod ><mod >installFrom.path</mod ><mod >installTo.isAbsoluteType</mod ><mod >identifier</mod ><mod >parent</mod ><mod >installTo.path</mod ><mod >installFrom.isRelativeType</mod ></config ></pkgref >
Original file line number Diff line number Diff line change 1
- <pkg-contents spec =" 1.12" />
1
+ <pkg-contents spec =" 1.12" />
Original file line number Diff line number Diff line change 1
- <pkgref spec =" 1.12" uuid =" DF0233A3-6B5D-4FBF-8048-8FC57F42278F" ><config ><identifier >org.nodejs.node .npm.pkg</identifier ><version >1.0</version ><description ></description ><post-install type =" none" /><requireAuthorization /><installFrom relative =" true" >../deps/npm</installFrom ><installTo mod =" true" >/usr/local/lib/node_modules/npm</installTo ><flags ><followSymbolicLinks /></flags ><packageStore type =" internal" ></packageStore ><mod >installTo.path</mod ><mod >installFrom.isRelativeType</mod ><mod >installTo</mod ><mod >scripts.postinstall.isRelativeType</mod ><mod >parent</mod ><mod >installTo.isAbsoluteType</mod ></config ><scripts ><postinstall relative =" true" mod =" true" >osx-pkg-postinstall.sh</postinstall ></scripts ></pkgref >
1
+ <pkgref spec =" 1.12" uuid =" DF0233A3-6B5D-4FBF-8048-8FC57F42278F" ><config ><identifier >org.iojs .npm.pkg</identifier ><version >1.0</version ><description ></description ><post-install type =" none" /><requireAuthorization /><installFrom relative =" true" >../deps/npm</installFrom ><installTo mod =" true" >/usr/local/lib/node_modules/npm</installTo ><flags ><followSymbolicLinks /></flags ><packageStore type =" internal" ></packageStore ><mod >installTo.path</mod ><mod >installFrom.isRelativeType</mod ><mod >installTo</mod ><mod >scripts.postinstall.isRelativeType</mod ><mod >parent</mod ><mod >installTo.isAbsoluteType</mod ></config ><scripts ><postinstall relative =" true" mod =" true" >osx-pkg-postinstall.sh</postinstall ></scripts ></pkgref >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <pkmkdoc spec="1.12"><properties><title>io.js</title><build>/Users/iojs/Desktop/iojs.pkg</build><organization>org.iojs</organization><userSees ui="both"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="io.js" id="choice3" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.iojs.pkg"/></choice><choice title="npm" id="choice4" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.iojs.npm.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="background">../doc/osx_installer_logo.png</resource><resource relative="true" mod="true" type="license">../LICENSE</resource><resource mime-type="text/rtf" kind="embedded" type="welcome"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
2
+ {\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
3
+ {\colortbl;\red255\green255\blue255;}
4
+ \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
5
+
6
+ \f0\fs26 \cf0 This package will install io.js __iojsversion__ and npm __npmversion__ into /usr/local/. The binary /usr/local/bin/iojs will also be symlinked as /usr/local/bin/node.}]]></resource><resource mime-type="text/rtf" kind="embedded" type="conclusion"><![CDATA[{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
7
+ {\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
8
+ {\colortbl;\red255\green255\blue255;}
9
+ \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
10
+
11
+ \f0\fs26 \cf0 io.js was installed at\
12
+ \
13
+ /usr/local/bin/iojs\
14
+ and symlinked at\
15
+ /usr/local/bin/node\
16
+ \
17
+ npm was installed at\
18
+ \
19
+ /usr/local/bin/npm\
20
+ \
21
+ Make sure that /usr/local/bin is in your $PATH.}]]></resource></locale></resources><flags/><item type="file">01local.xml</item><item type="file">02npm.xml</item><mod>properties.title</mod><mod>properties.userDomain</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>
You can’t perform that action at this time.
0 commit comments