Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors
In directory
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv31567/main/finkinfo/editors
Added Files:
color-theme.info color-theme.patch
Log Message:
New from tracker 1623991
--- NEW FILE: color-theme.patch ---
diff -Naur --exclude='*~' color-theme-6.6.0/fink/emacsen-install
color-theme-6.6.0.fink/fink/emacsen-install
--- color-theme-6.6.0/fink/emacsen-install 1969-12-31 18:00:00.000000000
-0600
+++ color-theme-6.6.0.fink/fink/emacsen-install 2006-12-28 20:28:50.000000000
-0600
@@ -0,0 +1,40 @@
+#!/bin/bash -e
+#
+# install file for the fink color-theme emacs package.
+
+set -o posix
+
+FLAVOR=${1}
+
+echo >&2 "install/color-theme: Handling install of emacsen flavor ${FLAVOR}"
+
+if [ ${FLAVOR} == emacs ]
+then
+ echo "install/color-theme: Done."
+ exit 0
+fi
+
+echo >&2 -n "install/color-theme: Byte-compiling for ${FLAVOR}..."
+mkdir -p @PREFIX@/share/${FLAVOR}/site-lisp/color-theme;
+for i in color-theme-autoloads.el color-theme.el color-theme-autoloads.in
Makefile Makefile.defs; do
+ ln -s -f @PREFIX@/share/emacs/site-lisp/color-theme/${i}
@PREFIX@/share/${FLAVOR}/site-lisp/color-theme/${i};
+done
+
+mkdir -p @PREFIX@/share/${FLAVOR}/site-lisp/color-theme/themes;
+for i in color-theme-example.el color-theme-library.el; do
+ ln -s -f @PREFIX@/share/emacs/site-lisp/color-theme/themes/${i}
@PREFIX@/share/${FLAVOR}/site-lisp/color-theme/themes/${i};
+done
+
+cd @PREFIX@/share/${FLAVOR}/site-lisp/color-theme;
+
+(make [EMAIL PROTECTED]@ [EMAIL
PROTECTED]@/share/${FLAVOR}/site-lisp/color-theme EMACS=${FLAVOR} lisp
--keep-going 2>&1) | gzip -9qf >
@PREFIX@/share/doc/color-theme/CompilationLog-${FLAVOR}.gz
+
+rm -f @PREFIX@/share/${FLAVOR}/site-lisp/color-theme/Makefile;
+rm -f @PREFIX@/share/${FLAVOR}/site-lisp/color-theme/Makefile.defs;
+rm -f @PREFIX@/share/${FLAVOR}/site-lisp/color-theme/color-theme-autoloads.in
+rm -f @PREFIX@/share/${FLAVOR}/site-lisp/color-theme/color-theme-autoloads.el~
+
+echo >&2 "done."
+echo >&2 "install/color-theme: Compilation log saved in
@PREFIX@/share/doc/color-theme/CompilationLog-${FLAVOR}.gz."
+
+exit 0
diff -Naur --exclude='*~' color-theme-6.6.0/fink/emacsen-remove
color-theme-6.6.0.fink/fink/emacsen-remove
--- color-theme-6.6.0/fink/emacsen-remove 1969-12-31 18:00:00.000000000
-0600
+++ color-theme-6.6.0.fink/fink/emacsen-remove 2006-12-28 19:35:34.000000000
-0600
@@ -0,0 +1,21 @@
+#!/bin/bash -e
+#
+# This is the Fink version of the color-theme emacs package.
+set -o posix
+
+FLAVOR=${1}
+
+echo "remove/color-theme: Handling removal for emacsen flavor ${FLAVOR}"
+
+if [ ${FLAVOR} == emacs20 ]
+then
+ echo "remove/color-theme: Skipping unsupported flavor ${FLAVOR}"
+ exit 0
+fi
+
+echo >&2 -n "remove/color-theme: Purging compilation log and byte-compiled
files for ${FLAVOR}..."
+rm -f @PREFIX@/share/doc/color-theme/CompilationLog-${FLAVOR}.gz
+rm -Rf @PREFIX@/share/${FLAVOR}/site-lisp/color-theme
+echo >&2 "done."
+
+exit 0
--- NEW FILE: color-theme.info ---
Package: color-theme
Description: Colored themes for emacsen
Version: 6.6.0
Revision: 1
Depends: emacsen
Source: http://download.gna.org/%n/%n-%v.tar.gz
Source-MD5: a4de73c236a6af11ab378bfe18dabcca
License: GPL
DocFiles: COPYING AUTHORS BUGS HACKING README ChangeLog
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
CompileScript: <<
<<
InstallScript: <<
mkdir -p %i/share/emacs/site-lisp/color-theme
install -m 644 *.el %i/share/emacs/site-lisp/color-theme
install -m 644 color-theme-autoloads.in %i/share/emacs/site-lisp/color-theme
install -m 644 Makefile %i/share/emacs/site-lisp/color-theme
install -m 644 Makefile.defs %i/share/emacs/site-lisp/color-theme
mkdir -p %i/share/emacs/site-lisp/color-theme/themes
install -m 644 themes/*.el %i/share/emacs/site-lisp/color-theme/themes
mkdir -p %i/lib/emacsen-common/packages/install
mkdir -p %i/lib/emacsen-common/packages/remove
install -m 755 fink/emacsen-install %i/lib/emacsen-common/packages/install/%n
install -m 755 fink/emacsen-remove %i/lib/emacsen-common/packages/remove/%n
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n
DescDetail: <<
Colortheme is a GNU Emacs and XEmacs mode that provides nice and
custom color themes. You can then easily change part or all of your
faces in all the modes (providing the theme you use does effectively
define colors for the mode you are interested in).
<<
DescUsage: <<
To begin using color-theme, add the form
(require 'color-theme)
to your emacs initialization file. Then call `color-theme-select' to
browse the available themes.
<<
Homepage: http://zedek.nerim.net/html/notebook/ColorTheme.html
Maintainer: Jesse Alama <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits