[SM-Commit] PERFORCE change 77962 by Pol Vinogradov for review
Perforce Review Daemon
p4review at smee.org
Tue Apr 18 15:20:01 EDT 2006
Change 77962 by pol_vinogradov at public on 2006/04/18 20:17:13
CONFIGURE: added query for spell highlighting
BUILD: if statement added, patch if needed
INSTALL: added if and install_config_file
spellhighlight.diff: added
Affected files ...
... //sgl/grimoires/devel/editors/nano/BUILD#3 edit
... //sgl/grimoires/devel/editors/nano/CONFIGURE#4 edit
... //sgl/grimoires/devel/editors/nano/HISTORY#18 edit
... //sgl/grimoires/devel/editors/nano/INSTALL#2 edit
... //sgl/grimoires/devel/editors/nano/spellhighlight.diff#1 add
Differences ...
==== //sgl/grimoires/devel/editors/nano/BUILD#3 (xtext) ====
@@ -1,5 +1,11 @@
OPTS="$OPTS --build=${BUILD} ${NANO_OPTS}"
[[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}"
+ if [[ "$SPELL_HIGHLIGHT" == "y" ]]; then
+ cd doc &&
+ patch -p0 < ${SCRIPT_DIRECTORY}/spellhighlight.diff &&
+ cd ${SOURCE_DIRECTORY}
+ fi &&
+
./configure --prefix=${TRACK_ROOT}/usr \
--sysconfdir=${TRACK_ROOT}/etc \
==== //sgl/grimoires/devel/editors/nano/CONFIGURE#4 (xtext) ====
@@ -32,4 +32,10 @@
"--enable-nanorc" "--disable-nanorc" &&
config_query_option NANO_OPTS "Enable UTF-8 support?" y \
"--enable-utf8" "--disable-utf8"
+fi &&
+
+if [[ "${NANO_CONFIG}" == "all" || $( echo ${NANO_OPTS} | grep -o enable-color ) = "enable-color" &&
+$( echo ${NANO_OPTS} | grep -o enable-nanorc ) = "enable-nanorc" ]] ; then
+ config_query SPELL_HIGHLIGHT "Do you want to enable syntax highlighting of spell files?" y
fi
+
==== //sgl/grimoires/devel/editors/nano/HISTORY#18 (text) ====
@@ -1,3 +1,9 @@
+2006-04-19 Pol Vinogradov <vin.public at gmail.com>
+ * CONFIGURE: added query for spell highlighting
+ * BUILD: if statement added, patch if needed
+ * INSTALL: added if and install_config_file
+ * spellhighlight.diff: added
+
2006-03-30 Sergey Lipnevich <sergey at sourcemage.org>
* DETAILS: upgrade to 1.3.11.
==== //sgl/grimoires/devel/editors/nano/INSTALL#2 (xtext) ====
@@ -1,1 +1,5 @@
-make install DESTDIR=$INSTALL_ROOT
+make install DESTDIR=$INSTALL_ROOT &&
+
+if [[ "${NANO_CONFIG}" == "all" || $( echo ${NANO_OPTS} | grep -o enable-nanorc ) = "enable-nanorc" ]] ; then
+ install_config_file doc/nanorc.sample $INSTALL_ROOT/etc/nanorc
+fi
More information about the SM-Commit
mailing list