Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/editors
In directory sc8-pr-cvs1:/tmp/cvs-serv30309
Added Files:
crypt++el-2.9.1-2.info crypt++el-2.9.1-2.patch
Log Message:
Fixed bug in emacsen-common install script. No longer deletes all .el
files in the elc directory since this has the side-effect of killing
subdirs.el. Now only deletes its own .el files.
--- NEW FILE: crypt++el-2.9.1-2.info ---
Package: crypt++el
Version: 2.9.1
Revision: 2
BuildDepends: dlcompat-dev
Depends: emacsen
Suggests: gnupg | gnupg-egd
Source: http://us.dl.sf.net/fink/direct_download/source/%n-%v.tar.gz
Source-MD5: fd4655e412e23c86f86db25da643ebc1
DocFiles: copyright README.fink
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%f.patch | patch -p1
CompileScript: echo "No compile needed"
InstallScript: <<
mkdir -p %i/etc/emacs/site-start.d
install -m 644 50crypt++.el %i/etc/emacs/site-start.d/
mkdir -p %i/share/emacs/site-lisp
install -m 644 crypt++.el %i/share/emacs/site-lisp/
mkdir -p %i/lib/emacsen-common/packages/install/
install -m 755 %n.install %i/lib/emacsen-common/packages/install/%n
mkdir -p %i/lib/emacsen-common/packages/remove/
install -m 755 %n.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
#
Description: Emacs-Lisp Code for encrypted/compressed files
DescDetail: <<
Code for handling all sorts of compressed and encrypted files like:
.gz, .tar.gz, .Z, .zip, .gpg, PGP etc.
It provides functionality similar to the fictional OrdoEmacs: allowing
you transparent editing-access to encrypted files, and suppressing
emacs's normal behavior of writing intermediate versions of the
buffer to disk in unencoded form.
<<
License: GPL
Homepage: http://freshmeat.net/projects/crypt++/
Maintainer: Christian Swinehart <[EMAIL PROTECTED]>
--- NEW FILE: crypt++el-2.9.1-2.patch ---
diff -u -Naur crypt++el-2.9.1/crypt++el.install crypt++el-2.9.1.fink/crypt++el.install
--- crypt++el-2.9.1/crypt++el.install Wed Dec 12 13:46:09 2001
+++ crypt++el-2.9.1.fink/crypt++el.install Tue Jun 10 15:13:23 2003
@@ -1,5 +1,5 @@
#!/bin/sh
-# /usr/lib/emacsen-common/packages/install/crypt++el
+# @PREFIX@/lib/emacsen-common/packages/install/crypt++el
set -e
FLAVOR=$1
@@ -7,31 +7,24 @@
byte_compile_options="-batch -f batch-byte-compile"
el_files="crypt++.el"
-el_dir=/usr/share/emacs/site-lisp/
-elc_dir=/usr/share/${FLAVOR}/site-lisp/
-el_path_list=`echo ${el_files} | perl -pe "s|^|${el_dir}|o"`
-elc_path_list=`echo ${el_files} | perl -pe "s|^|${elc_dir}|o"`
-#etc_dir=/etc/${FLAVOR}/site-start.d/
[EMAIL PROTECTED]@/share/emacs/site-lisp/
[EMAIL PROTECTED]@/share/${FLAVOR}/site-lisp/
+el_path_list=`for i in ${el_files}; do echo $i | perl -pe "s|^|${el_dir}|"; done`
+elc_path_list=`for i in ${el_files}; do echo $i | perl -pe "s|^|${elc_dir}|"; done`
[EMAIL PROTECTED]@/etc/${FLAVOR}/site-start.d/
if [ ${FLAVOR} != emacs ]
then
echo install/crypt++el: byte-compiling for ${FLAVOR}
-# ln -sf ${el_dir}/crypt++-init.el ${etc_dir}/50crypt++.el
-
# Copy the temp .el files
cp ${el_path_list} ${elc_dir}
# Byte compile them
-# cat <<-EOF >${elc_dir}/load-path-hack.el
-#(setq load-path (cons nil load-path))
-#EOF
(cd ${elc_dir} && ${FLAVOR} ${byte_compile_options} ${elc_path_list} 2>/dev/null)
# remove the redundant .el files
- # presumes that any .el files in the <flavor> dir are trash.
-# rm ${elc_dir}/load-path-hack.el
- rm ${elc_dir}/*.el
+ rm ${elc_path_list}
fi
exit 0;
diff -u -Naur crypt++el-2.9.1/crypt++el.remove crypt++el-2.9.1.fink/crypt++el.remove
--- crypt++el-2.9.1/crypt++el.remove Wed Dec 12 13:46:19 2001
+++ crypt++el-2.9.1.fink/crypt++el.remove Tue Jun 10 15:11:29 2003
@@ -1,5 +1,5 @@
#!/bin/sh
-# /usr/lib/emacsen-common/packages/remove/crypt++el
+# @PREFIX@/lib/emacsen-common/packages/remove/crypt++el
set -e
FLAVOR=$1
@@ -8,6 +8,6 @@
if [ ${FLAVOR} != emacs ]
then
echo emacsen-common: purging byte-compiled files for ${FLAVOR}
- rm -f /usr/share/${FLAVOR}/site-lisp/crypt++.elc
+ rm -f @PREFIX@/share/${FLAVOR}/site-lisp/crypt++.elc
fi
exit 0;
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits