diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-11-21 07:22:30 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-11-21 07:22:30 +0400 |
commit | 9d1bdbcf05c9f23a9e18caccf305cf63b563c3b8 (patch) | |
tree | f9907aaaf9cecdf3c0453a266f3c03c46336a1a7 /tools | |
parent | 61e796decc0fc77ee58d8e69f949220767da5dc8 (diff) |
Fixes #2084. Makeify tools/osx-dist.sh
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/osx-dist.sh | 28 | ||||
-rw-r--r-- | tools/osx-pkg.pmdoc/01local.xml | 2 |
2 files changed, 1 insertions, 29 deletions
diff --git a/tools/osx-dist.sh b/tools/osx-dist.sh deleted file mode 100755 index 496aead1cdf..00000000000 --- a/tools/osx-dist.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -TOOLS=`dirname $0` -ROOT=$TOOLS/.. - -VERSION=`python $TOOLS/getnodeversion.py` -CONTENTS=$ROOT/dist-osx -PMDOC=$TOOLS/osx-pkg.pmdoc -VENDOR='org.nodejs' -NAME=NodeJS - -# go build it in the root of the git repository -pushd $ROOT - -./configure --prefix=/usr/local -make -make install DESTDIR="$CONTENTS" - -popd # $ROOT - -PKGID="$VENDOR.$NAME-$VERSION" - -packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker - -$packagemaker \ - --id "$PKGID" \ - --doc $PMDOC \ - --out $CONTENTS/node-v$VERSION.pkg diff --git a/tools/osx-pkg.pmdoc/01local.xml b/tools/osx-pkg.pmdoc/01local.xml index 91e2156a04c..a4b48a818b5 100644 --- a/tools/osx-pkg.pmdoc/01local.xml +++ b/tools/osx-pkg.pmdoc/01local.xml @@ -1 +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">../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><contents><file-list>01local-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file +<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><contents><file-list>01local-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
\ No newline at end of file |