- # zip up Univ-specific files
- echo Creating $DESTDIR/wxWidgets-$VERSION-Univ.zip
- expandlines $MANIFESTDIR/univ.rsp /tmp/univfiles
- zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-Univ.zip < /tmp/univfiles
- rearchive wxWidgets-$VERSION-Univ.zip wxWidgets-$VERSION $DESTDIR
-
- # VC++ project files
- echo Creating $DESTDIR/wxWidgets-$VERSION-VC.zip
- expandlines $MANIFESTDIR/vc.rsp /tmp/vcfiles
- zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-VC.zip < /tmp/vcfiles
- rearchive wxWidgets-$VERSION-VC.zip wxWidgets-$VERSION $DESTDIR
-
- # eVC++ project files
- echo Creating $DESTDIR/wxWidgets-$VERSION-eVC.zip
- expandlines $MANIFESTDIR/wince.rsp /tmp/wincefiles
- zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-eVC.zip < /tmp/wincefiles
- rearchive wxWidgets-$VERSION-eVC.zip wxWidgets-$VERSION $DESTDIR
-
- # DMC project files
- echo Creating $DESTDIR/wxWidgets-$VERSION-DMC.zip
- expandlines $MANIFESTDIR/dmc.rsp /tmp/dmcfiles
- zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-DMC.zip < /tmp/dmcfiles
- rearchive wxWidgets-$VERSION-DMC.zip wxWidgets-$VERSION $DESTDIR
-
- # BC++ project files
- echo Creating $DESTDIR/wxWidgets-$VERSION-BC.zip
- expandlines $MANIFESTDIR/bc.rsp /tmp/bcfiles
- zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-BC.zip < /tmp/bcfiles
- rearchive wxWidgets-$VERSION-BC.zip wxWidgets-$VERSION $DESTDIR
-
- # CodeWarrior project files
- echo Creating $DESTDIR/wxWidgets-$VERSION-CW.zip
- expandlines $MANIFESTDIR/cw.rsp /tmp/cwfiles
- zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-CW.zip < /tmp/cwfiles
- rearchive wxWidgets-$VERSION-CW.zip wxWidgets-$VERSION $DESTDIR
+ if [ $port = "os2" ] || [ $port = "all" ]; then
+ zip $ZIPFLAGS -g $DESTDIR/wx$portname-$VERSION.zip INSTALL-OS2.txt
+ fi
+
+ # put all files in a wxWidgets-$VERSION subdir in the zip archive
+ rearchive wx$portname-$VERSION.zip wxWidgets-$VERSION $DESTDIR