freebsd-ports/databases/grass/files/patch-Makefile.in
Mark Linimon 71e67deb31 Update to 5.0.2, and add a little bit of deinstall logic.
PR:		ports/57931
Submitted by:	TAKATSU Tomonari <tota@rtfm.jp>
2003-12-09 01:46:09 +00:00

20 lines
1.2 KiB
Text

--- Makefile.in.orig Fri Oct 11 06:06:36 2002
+++ Makefile.in Thu Oct 9 22:59:48 2003
@@ -172,8 +172,6 @@
test -d ${BINDIR} || ${MAKE_DIR_CMD} ${BINDIR}
${SHELL} -c "sed -e \"s#^GISBASE.*#GISBASE=${INST_DIR}#\" ${GRASS_BIN}/grass${NAME_VER} > ${BINDIR}/grass${NAME_VER} ; true"
${SHELL} -c "chmod a+x ${BINDIR}/grass${NAME_VER} ; true"
- ${SHELL} -c "$(INSTALL) ${GRASS_BIN}/gmake${NAME_VER} ${BINDIR} ; true"
- ${SHELL} -c "$(INSTALL) ${GRASS_BIN}/gmakelinks${NAME_VER} ${BINDIR} ; true"
${SHELL} -c "cd ${GISBASE} ; tar cBf - bin | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
${SHELL} -c "cd ${GISBASE} ; tar cBf - bwidget | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
${SHELL} -c "cd ${GISBASE} ; tar cBf - documents | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
@@ -199,6 +197,8 @@
fi
${SHELL} -c "sed 's#'${GISBASE}'#'${INST_DIR}'#g' ${GISBASE}/etc/monitorcap > ${INST_DIR}/etc/monitorcap ; true"
${SHELL} -c "chmod -R 1777 ${INST_DIR}/locks 2>/dev/null ; true"
+ ${SHELL} -c "sed 's#'${GISBASE}'#'${INST_DIR}'#g' ${GISBASE}/etc/paint/driver.rsh > ${INST_DIR}/etc/paint/driver.rsh ; true"
+ ${SHELL} -c "chmod 755 ${INST_DIR}/etc/paint/driver.rsh ; true"
${SHELL} -c "chmod -R a+rX ${INST_DIR} 2>/dev/null ; true"
uninstall: FORCE