#! /bin/bash
wxVer=$1
if [ $# -ne 1 ]; then
  echo "usage: $0 wxPython_version"
  exit 1
fi
wxDir=wxPython-src-$wxVer
tar -xjf $wxDir.tar.bz2
mkdir -p wxPython/i_files
cp $wxDir/wxPython/include/wx/wxPython/* wxPython
cp $wxDir/wxPython/src/*.i wxPython/i_files
tar -cjf wxPython-$wxVer-MacPorts-subset.tar.bz2 wxPython
