[GRASS-SVN] r36843 - in grass/trunk/macosx: . pkg/resources
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 21 09:10:30 EDT 2009
Author: kyngchaos
Date: 2009-04-21 09:10:30 -0400 (Tue, 21 Apr 2009)
New Revision: 36843
Modified:
grass/trunk/macosx/Makefile
grass/trunk/macosx/pkg/resources/postflight.in
Log:
disable modbuild (to be deleted, hopefully)
Modified: grass/trunk/macosx/Makefile
===================================================================
--- grass/trunk/macosx/Makefile 2009-04-21 13:04:30 UTC (rev 36842)
+++ grass/trunk/macosx/Makefile 2009-04-21 13:10:30 UTC (rev 36843)
@@ -4,7 +4,7 @@
SUBDIRS =
ifeq ($(MACOSX_APP),1)
-SUBDIRS = app modbuild
+SUBDIRS = app
endif
include $(MODULE_TOPDIR)/include/Make/Dir.make
@@ -62,9 +62,9 @@
-sed 's#'${GISBASE}'#'${INST_DIR}'#g' ${GISBASE}/etc/monitorcap > ${INST_DIR}/etc/monitorcap
-chmod -R a+rX ${prefix}/${MACOSX_APP_NAME} 2>/dev/null
-touch ${prefix}/${MACOSX_APP_NAME}
- -cd ${GRASS_HOME} ; tar cBf - gem/skeleton | (cd ${INST_DIR}/etc ; tar xBf - ) 2>/dev/null
- -${INSTALL} ${GRASS_HOME}/gem/gem6 ${prefix}/${MACOSX_APP_NAME}/Contents/MacOS 2>/dev/null
- -cd ${GISBASE} ; tar cBf - modbuild | (cd ${MACOSX_SUPPDIR} ; tar xBf - ) 2>/dev/null
+ @#-cd ${GRASS_HOME} ; tar cBf - gem/skeleton | (cd ${INST_DIR}/etc ; tar xBf - ) 2>/dev/null
+ @#-${INSTALL} ${GRASS_HOME}/gem/gem6 ${prefix}/${MACOSX_APP_NAME}/Contents/MacOS 2>/dev/null
+ @#-cd ${GISBASE} ; tar cBf - modbuild | (cd ${MACOSX_SUPPDIR} ; tar xBf - ) 2>/dev/null
@# help file package - in the future files will go in /Library/Documentation/Help
${LN_DIR} "${INST_DIR}/docs/html" /Library/Documentation/Help/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}
@@ -89,8 +89,8 @@
-cd ${GISBASE} ; tar cBf - lib | (cd ${MACOSX_BUNDLE_PREFIX} ; tar xBf - ) 2>/dev/null
-sed 's#'${GISBASE}'#'${INST_DIR_MACOSX}'#g' ${GISBASE}/etc/monitorcap > dist/${MACOSX_APPDIR}/etc/monitorcap
-chmod -R a+rX dist/${MACOSX_APPDIR} 2>/dev/null
- -cd ${GRASS_HOME} ; tar cBf - gem/skeleton | (cd ${MACOSX_BUNDLE_PREFIX}/etc ; tar xBf - ) 2>/dev/null
- -${INSTALL} ${GRASS_HOME}/gem/gem6 dist/${MACOSX_APP_NAME}/Contents/MacOS 2>/dev/null
+ @#-cd ${GRASS_HOME} ; tar cBf - gem/skeleton | (cd ${MACOSX_BUNDLE_PREFIX}/etc ; tar xBf - ) 2>/dev/null
+ @#-${INSTALL} ${GRASS_HOME}/gem/gem6 dist/${MACOSX_APP_NAME}/Contents/MacOS 2>/dev/null
@# extras to bundle
${MAKE} bundle-macosx
@# pkg resources
@@ -101,7 +101,7 @@
-sed -e "s#@GRASS_VERSION_MAJOR@#${GRASS_VERSION_MAJOR}#g" -e "s#@GRASS_VERSION_MINOR@#${GRASS_VERSION_MINOR}#g" -e "s#@GRASS_VERSION_RELEASE@#${GRASS_VERSION_RELEASE}#g" -e "s#@VER_MINOR_REL@#${VER_MINOR_REL}#g" -e "s#@VER_DATE@#${VER_DATE}#g" -e "s#@PKG_INST_DIR@#${PKG_INST_DIR}#g" pkg/resources/Info.plist.in > dist/Info.plist
-${INSTALL_DATA} pkg/resources/License.rtf dist/resources
-${INSTALL_DATA} pkg/resources/ReadMe.rtf dist/resources
- -cd ${GISBASE} ; tar cBf - modbuild | (cd ${GRASS_HOME}/macosx/dist/resources ; tar xBf - ) 2>/dev/null
+ @#-cd ${GISBASE} ; tar cBf - modbuild | (cd ${GRASS_HOME}/macosx/dist/resources ; tar xBf - ) 2>/dev/null
@# build the package
ifeq ($(XCODE_VER),xcode3)
${PACKAGEMAKER} --target 10.4 --root-volume-only --id org.osgeo.grass --root dist/${MACOSX_APP_NAME} --info dist/Info.plist --out "GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR}.pkg" --resources dist/resources
Modified: grass/trunk/macosx/pkg/resources/postflight.in
===================================================================
--- grass/trunk/macosx/pkg/resources/postflight.in 2009-04-21 13:04:30 UTC (rev 36842)
+++ grass/trunk/macosx/pkg/resources/postflight.in 2009-04-21 13:10:30 UTC (rev 36843)
@@ -20,7 +20,7 @@
# modbuild
-cp -Rf "$PACKAGE_PATH/Contents/Resources/modbuild" "$MACOSX_SUPPDIR"
+#cp -Rf "$PACKAGE_PATH/Contents/Resources/modbuild" "$MACOSX_SUPPDIR"
# readme
# needs a better home?
More information about the grass-commit
mailing list