]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/create_archives.sh
moved wxOverlay into overlay.* files and out of dc.h/dcbase.cpp; implemented wxOverla...
[wxWidgets.git] / distrib / scripts / create_archives.sh
index 1ce1508e3e34ace5b02e0c6788f4d81710c3fe53..b07a0640d52ed156e995e89981076368b1a3e897 100755 (executable)
@@ -114,11 +114,20 @@ doinit()
 dospinport(){
     port=$1
     
-    if [ $port != "all" ]; then
-        portname="`echo $port|tr '[a-z]' '[A-Z]'`"    
-    else
-        portname="Widgets"
-    fi
+    case "$port" in
+        all)
+            portname="Widgets";;
+        base)
+            portname="Base";;
+        motif)
+            portname="Motif";;
+        mac)
+            portname="Mac";;
+        *)
+            # for all the others (DFB, GTK, MGL, MSW, X11) just use the
+            # upper-case version as they are abbreviations
+            portname=`echo $port | tr '[a-z]' '[A-Z]'`;;
+    esac
     
     echo "Creating wx$portname distribution..."
 
@@ -151,7 +160,7 @@ dospinport(){
     echo "Creating wx$portname-$VERSION.tar.gz..."
     tar czf $APPDIR/deliver/wx$portname-$VERSION.tar.gz wx$portname-$VERSION
     echo "Creating wx$portname-$VERSION.tar.bz2..."
-    tar ch wxWidgets-$VERSION | bzip2 -f9 > $APPDIR/deliver/wx$portname-$VERSION.tar.bz2
+    tar ch wx$portname-$VERSION | bzip2 -f9 > $APPDIR/deliver/wx$portname-$VERSION.tar.bz2
     popd
     rm -rf /tmp/wx$port
     rm ${portfiles}