@ -267,7 +267,7 @@ TARBALL=$(TARNAME).tar.gz
BINARYNAME = $( TARNAME) -$( PLATFORM) -$( ARCH)
BINARYNAME = $( TARNAME) -$( PLATFORM) -$( ARCH)
BINARYTAR = $( BINARYNAME) .tar.gz
BINARYTAR = $( BINARYNAME) .tar.gz
PKG = out/$( TARNAME) .pkg
PKG = out/$( TARNAME) .pkg
packagemaker = /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
PKGSRC = nodejs-$( DESTCPU) -$( RAWVER) .tgz
PKGSRC = nodejs-$( DESTCPU) -$( RAWVER) .tgz
i f d e f N I G H T L Y
i f d e f N I G H T L Y
@ -305,10 +305,12 @@ pkg: $(PKG)
$(PKG) : release -only
$(PKG) : release -only
rm -rf $( PKGDIR)
rm -rf $( PKGDIR)
rm -rf out/deps out/Release
rm -rf out/deps out/Release
$( PYTHON) ./configure --without-snapshot --dest-cpu= ia32 --tag= $( TAG)
$( PYTHON) ./configure --download= all --with-intl= small-icu \
--without-snapshot --dest-cpu= ia32 --tag= $( TAG)
$( MAKE) install V = $( V) DESTDIR = $( PKGDIR) /32
$( MAKE) install V = $( V) DESTDIR = $( PKGDIR) /32
rm -rf out/deps out/Release
rm -rf out/deps out/Release
$( PYTHON) ./configure --without-snapshot --dest-cpu= x64 --tag= $( TAG)
$( PYTHON) ./configure --download= all --with-intl= small-icu \
--without-snapshot --dest-cpu= x64 --tag= $( TAG)
$( MAKE) install V = $( V) DESTDIR = $( PKGDIR)
$( MAKE) install V = $( V) DESTDIR = $( PKGDIR)
SIGN = " $( APP_SIGN) " PKGDIR = " $( PKGDIR) " bash tools/osx-codesign.sh
SIGN = " $( APP_SIGN) " PKGDIR = " $( PKGDIR) " bash tools/osx-codesign.sh
lipo $( PKGDIR) /32/usr/local/bin/node \
lipo $( PKGDIR) /32/usr/local/bin/node \
@ -317,7 +319,7 @@ $(PKG): release-only
-create
-create
mv $( PKGDIR) /usr/local/bin/node-universal $( PKGDIR) /usr/local/bin/node
mv $( PKGDIR) /usr/local/bin/node-universal $( PKGDIR) /usr/local/bin/node
rm -rf $( PKGDIR) /32
rm -rf $( PKGDIR) /32
$( packagemaker ) \
$( PACKAGEMAKER ) \
--id "org.nodejs.Node" \
--id "org.nodejs.Node" \
--doc tools/osx-pkg.pmdoc \
--doc tools/osx-pkg.pmdoc \
--out $( PKG)
--out $( PKG)
@ -340,7 +342,8 @@ tar: $(TARBALL)
$(BINARYTAR) : release -only
$(BINARYTAR) : release -only
rm -rf $( BINARYNAME)
rm -rf $( BINARYNAME)
rm -rf out/deps out/Release
rm -rf out/deps out/Release
$( PYTHON) ./configure --prefix= / --without-snapshot --dest-cpu= $( DESTCPU) --tag= $( TAG) $( CONFIG_FLAGS)
$( PYTHON) ./configure --prefix= / --download= all --with-intl= small-icu \
--without-snapshot --dest-cpu= $( DESTCPU) --tag= $( TAG) $( CONFIG_FLAGS)
$( MAKE) install DESTDIR = $( BINARYNAME) V = $( V) PORTABLE = 1
$( MAKE) install DESTDIR = $( BINARYNAME) V = $( V) PORTABLE = 1
cp README.md $( BINARYNAME)
cp README.md $( BINARYNAME)
cp LICENSE $( BINARYNAME)
cp LICENSE $( BINARYNAME)
@ -353,8 +356,9 @@ binary: $(BINARYTAR)
$(PKGSRC) : release -only
$(PKGSRC) : release -only
rm -rf dist out
rm -rf dist out
$( PYTHON) configure --prefix= / --without-snapshot \
$( PYTHON) configure --prefix= / --without-snapshot --download= all \
--dest-cpu= $( DESTCPU) --tag= $( TAG) $( CONFIG_FLAGS)
--with-intl= small-icu --dest-cpu= $( DESTCPU) --tag= $( TAG) \
$( CONFIG_FLAGS)
$( MAKE) install DESTDIR = dist
$( MAKE) install DESTDIR = dist
( cd dist; find * -type f | sort) > packlist
( cd dist; find * -type f | sort) > packlist
pkg_info -X pkg_install | \
pkg_info -X pkg_install | \