+
+dospinport(){
+ port=$1
+
+ upperport="`echo $port|tr '[a-z]' '[A-Z]'`"
+ echo "Zipping wx$upperport..."
+
+ cd $APPDIR
+ getfilelist "$port" "/tmp/$port_filelist"
+
+ mkdir -p /tmp/wx$port/wxWidgets-$VERSION
+
+ for line in `cat /tmp/$port_filelist` ; do
+ cp -r $line /tmp/wx$port/wxWidgets-$VERSION
+ done
+
+ cd /tmp/wxWidgets-$VERSION
+
+ echo Copying readme files...
+ cp $APPDIR/docs/msw/readme.txt README-MSW.txt
+ cp $APPDIR/docs/msw/install.txt INSTALL-MSW.txt
+ cp $APPDIR/docs/licence.txt LICENCE.txt
+ cp $APPDIR/docs/lgpl.txt COPYING.LIB
+ cp $APPDIR/docs/changes.txt CHANGES.txt
+ cp $APPDIR/docs/readme.txt README.txt
+
+ zip $ZIPFLAGS -r -@ $DESTDIR/wx$upperport-$VERSION.zip /tmp/wx$port/wxWidgets-$VERSION
+}
+