[rkward-cvs] SF.net SVN: rkward-code:[4574] trunk/rkward/macports/update_bundle.sh

m-eik at users.sf.net m-eik at users.sf.net
Fri Mar 8 20:33:22 UTC 2013


Revision: 4574
          http://sourceforge.net/p/rkward/code/4574
Author:   m-eik
Date:     2013-03-08 20:33:22 +0000 (Fri, 08 Mar 2013)
Log Message:
-----------
MacPorts: update to the bundle script

Modified Paths:
--------------
    trunk/rkward/macports/update_bundle.sh

Modified: trunk/rkward/macports/update_bundle.sh
===================================================================
--- trunk/rkward/macports/update_bundle.sh	2013-03-08 16:06:27 UTC (rev 4573)
+++ trunk/rkward/macports/update_bundle.sh	2013-03-08 20:33:22 UTC (rev 4574)
@@ -159,7 +159,10 @@
 
 # remove static libraries, they're a waste of disk space
 if [[ $RMSTLIBS ]] ; then
+  echo "deleting all static libs in ${MPTINST}/lib/..."
   sudo rm ${MPTINST}/lib/*.a
+  echo "deleting all static libs in ${MPTINST}/var/macports/build..."
+  find "${MPTINST}/var/macports/build" -name "*.a" -exec sudo rm \{\} \;
 fi
 
 # set some variables
@@ -171,13 +174,13 @@
   else
     TARGETVERS=$PORTVERS
   fi
-  KDEVERS=$(port list kde4-baseapps | sed -e "s/.*@//;s/[[:space:]].*//")
-  RVERS=$(port list R | sed -e "s/.*@//;s/[[:space:]].*//")
+  KDEVERS=$(port list kdelibs4 | sed -e "s/.*@//;s/[[:space:]].*//")
+  RVERS=$(port list R-framework | sed -e "s/.*@//;s/[[:space:]].*//")
 fi
 
 # make meta-package including dependencies
 if [[ $MAKEMDMD ]] ; then
-  sudo port -v mdmg $PTARGET
+  sudo port -v mdmg $PTARGET || exit 1
   # copy the image file to a public directory
   if [[ $COPYMDMD ]] ; then
     MDMGFILE=${WORKDIR}/${PTARGET}-${PORTVERS}.dmg





More information about the rkward-tracker mailing list