[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e95d59aee590589d1e1313433f4306b2d133b762)

Vlad Glagolev scm at sourcemage.org
Mon Aug 25 05:26:11 EDT 2008


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 editors/nano/BUILD   |    3 +--
 editors/nano/DETAILS |   17 ++++++++---------
 editors/nano/HISTORY |    3 +++
 editors/nano/INSTALL |   17 +++++++++--------
 4 files changed, 21 insertions(+), 19 deletions(-)

New commits:
commit e95d59aee590589d1e1313433f4306b2d133b762
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    nano: => 2.0.8 + clean up

diff --git a/editors/nano/BUILD b/editors/nano/BUILD
index c578f4d..c89cde6 100755
--- a/editors/nano/BUILD
+++ b/editors/nano/BUILD
@@ -7,5 +7,4 @@
               --mandir=${TRACK_ROOT}/usr/share/man   \
              --infodir=${TRACK_ROOT}/usr/share/info  \
                        $OPTS                 &&
-  make DESTDIR=$INSTALL_ROOT
-
+  make DESTDIR="$INSTALL_ROOT"
diff --git a/editors/nano/DETAILS b/editors/nano/DETAILS
index df1b0d1..e3ef9ff 100755
--- a/editors/nano/DETAILS
+++ b/editors/nano/DETAILS
@@ -1,16 +1,15 @@
            SPELL=nano
-         VERSION=2.0.7
-          BRANCH=2.0
-      SOURCE_HASH[0]=sha512:6a51440a497f0f1738d396863cda232e629edc03c6ee8ecca944c83b1c58329811194161c8fbd72c425af6c1adfdbbca8c5c6f0c340877f69093dcd975d6d2d0
-          SOURCE=${SPELL}-${VERSION}.tar.gz
-SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
-   SOURCE_URL[0]=http://www.nano-editor.org/dist/v${BRANCH}/${SOURCE}
-#      SOURCE_GPG=gurus.gpg:${SOURCE}.sig
-        WEB_SITE=http://www.nano-editor.org
+         VERSION=2.0.8
+          BRANCH=`echo $VERSION | cut -d . -f 1,2`
+     SOURCE_HASH=sha512:979adff2e00a708061a5d8951d88854f299d0cac4b3abcd1a2681cd86688fc79d60d159d20681a39ae975500abd8a408a937373e8b988e26d6ecc5a77fda82eb
+          SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+   SOURCE_URL[0]=http://www.nano-editor.org/dist/v$BRANCH/$SOURCE
+        WEB_SITE=http://www.nano-editor.org/
          ENTERED=20010922
       LICENSE[0]=GPL
         KEYWORDS="editors"
-           SHORT="nano is a superior clone of the pico text editor."
+           SHORT="superior clone of the pico text editor"
 cat << EOF
 The nano project was started because of a few problems with the
 wonderfully easy-to-use and friendly Pico text editor. GNU nano
diff --git a/editors/nano/HISTORY b/editors/nano/HISTORY
index f7709ab..d199e20 100644
--- a/editors/nano/HISTORY
+++ b/editors/nano/HISTORY
@@ -1,3 +1,6 @@
+2008-08-25 Vlad Glagolev <stealth at sourcemage.org>
+	* DETAILS: updated spell to 2.0.8, cleaned up
+
 2007-12-20 Treeve Jelbert <treeve at sourcemage.org>
 	* DETAILS: version 2.0.7
 
diff --git a/editors/nano/INSTALL b/editors/nano/INSTALL
index e6ad6e4..8e7f194 100755
--- a/editors/nano/INSTALL
+++ b/editors/nano/INSTALL
@@ -1,13 +1,14 @@
-make install DESTDIR=$INSTALL_ROOT  &&
+make install DESTDIR="$INSTALL_ROOT" &&
 
-if [[ "$NANO_SELECTED_CONFIG" == "nanorc-sample" ]]; then
-  install_config_file  doc/nanorc.sample  $INSTALL_ROOT/etc/nanorc
+if [[ $NANO_SELECTED_CONFIG == nanorc-sample ]]; then
+  install_config_file doc/nanorc.sample "$INSTALL_ROOT/etc/nanorc"
 elif [[ "${NANO_SELECTED_CONFIG}" != "" ]] ; then
-  install_config_file  $SCRIPT_DIRECTORY/spell-config/$NANO_SELECTED_CONFIG $INSTALL_ROOT/etc/nanorc
+  install_config_file "$SPELL_DIRECTORY/spell-config/$NANO_SELECTED_CONFIG" \
+                      "$INSTALL_ROOT/etc/nanorc"
 fi &&
 
-mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
-if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
-                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
-  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
+install -vm 755 -d "$INSTALL_ROOT/etc/profile.d" &&
+if install_config_file "$SPELL_DIRECTORY/profile.d/editor.sh" \
+                       "$INSTALL_ROOT/etc/profile.d/editor.sh"; then
+  chmod 0755 "$INSTALL_ROOT/etc/profile.d/editor.sh"
 fi



More information about the SM-Commit mailing list