[GRASS-SVN] r56410 - grass/trunk/macosx

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 25 08:51:07 PDT 2013


Author: kyngchaos
Date: 2013-05-25 08:51:07 -0700 (Sat, 25 May 2013)
New Revision: 56410

Modified:
   grass/trunk/macosx/Makefile
Log:
sync OS X install target, fixes #854

Modified: grass/trunk/macosx/Makefile
===================================================================
--- grass/trunk/macosx/Makefile	2013-05-25 15:31:10 UTC (rev 56409)
+++ grass/trunk/macosx/Makefile	2013-05-25 15:51:07 UTC (rev 56410)
@@ -98,6 +98,12 @@
 
 install-basic-macosx:
 	-tar cBCf $(GISBASE) - . | tar xBCf $(INST_DIR_TARGET) - 2>/dev/null
+	sed -e 's#^\(GRASS_HOME.[^=]*\).*#\1= $(INST_DIR)#g' \
+		-e 's#$(GISBASE)#$(INST_DIR)#g' \
+		${GISBASE}/include/Make/Platform.make > ${INST_DIR_TARGET}/include/Make/Platform.make
+	sed -e 's#^\(ARCH_DISTDIR.[^=]*\).*#\1= $(INST_DIR)#g' \
+		-e 's#^\(ARCH_BINDIR.[^=]*\).*#\1= $(UNIX_BIN)#g' \
+		${GISBASE}/include/Make/Grass.make > ${INST_DIR_TARGET}/include/Make/Grass.make
 	-sed -e 's#'@GISBASE@'#'$(INST_DIR)'#g' \
 	     -e 's#'@LD_LIBRARY_PATH_VAR@'#'$(LD_LIBRARY_PATH_VAR)'#g' \
 	     -e 's#'@CONFIG_PROJSHARE@'#'$(PROJSHARE)'#g' \



More information about the grass-commit mailing list