Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv6668
Modified Files:
psvn.info
Removed Files:
git-mode.info
Log Message:
New version. Made a snapshot of the source code, because it changes
quite often on the original web page, but there is no version
number. Also removed the patch, put install/remove scripts in the
.info file instead, and made a psvn-vars.el file, so the mode is
set-up automatically.
--- git-mode.info DELETED ---
Index: psvn.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors/psvn.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- psvn.info 19 Oct 2007 01:43:42 -0000 1.4
+++ psvn.info 1 Dec 2007 23:19:40 -0000 1.5
@@ -1,18 +1,72 @@
Package: psvn
-Version: 20070324
-Revision: 3
-Description: Subversion interface for Emacs
+Version: 20071115
+Revision: 1
+Description: Subversion interface for Emacs
License: GPL
Maintainer: Sebastien Maret <[EMAIL PROTECTED]>
-Source: http://www.xsteve.at/prg/emacs/psvn.el
-Source-MD5: e98fa9bf46045d903a0ae6cb20147efc
+Source: http://www-personal.umich.edu/~smaret/download/fink/psvn-%v.el
+Source-MD5: 79993e286fb5f0cb69f4d75f7ed81a5c
NoSourceDirectory: true
Depends: emacsen, svn-client
-PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
+PatchScript: <<
+#!/bin/bash -ev
+cd %b
+mkdir fink
+cd fink
+cat <<END > 50psvn-vars.el
+(require 'psvn)
+END
+cat <<END > install
+#!/bin/sh
+set -e
+FLAVOR=\$1
+echo install/psvn: Handling install of emacsen flavor \${FLAVOR}
+byte_compile_options="-batch -f batch-byte-compile"
+el_files="psvn.el"
+el_dir=%p/share/emacs/site-lisp/psvn/
+elc_dir=%p/share/\${FLAVOR}/site-lisp/psvn/
+el_var_file="50psvn-vars.el"
+el_var_dir=%p/etc/emacs/site-start.d/
+elc_var_dir=%p/etc/\${FLAVOR}/site-start.d/
+if [ \${FLAVOR} != emacs ]
+then
+ echo install/psvn: Byte-compiling for \${FLAVOR}
+ [ -d \${elc_dir} ] || mkdir \${elc_dir}
+ # Copy the temp .el files
+ (cd \${el_dir} && cp \${el_files} \${elc_dir})
+ (cd \${el_var_dir} && cp \${el_var_file} \${elc_var_dir})
+ # Byte compile them
+ (cd \${elc_dir} && \${FLAVOR} \${byte_compile_options} \${el_files} 2>
/dev/null)
+ (cd \${elc_var_dir} && \${FLAVOR} \${byte_compile_options} \${el_var_file}
2> /dev/null)
+ # Remove the redundant .el files. Presumes that any .el files in
+ # the <flavor> dir are trash.
+ rm \${elc_dir}/*.el \${elc_var_dir}/*.el
+fi
+exit 0;
+END
+cat <<END > remove
+#!/bin/sh
+set -e
+FLAVOR=\$1
+elc_dir=%p/share/\${FLAVOR}/site-lisp/psvn
+elc_var_file="50psvn-vars.elc"
+elc_var_dir=%p/etc/\${FLAVOR}/site-start.d/
+echo remove/psvn: Handling removal of emacsen flavor \${FLAVOR}
+if [ \${FLAVOR} != emacs ]
+then
+ echo remove/psvn-mode: Purging byte-compiled files for \${FLAVOR}
+ rm -f \${elc_dir}/*.elc \${elc_var_dir}/\${elc_var_file}
+ [ -d \${elc_dir} -a \`ls -la \${elc_dir}|wc -l\` -le 3 ] && rmdir \${elc_dir}
+fi
+exit 0;
+END
+<<
CompileScript: true
InstallScript: <<
install -d %i/share/emacs/site-lisp/psvn
- install -m 644 psvn.el %i/share/emacs/site-lisp/psvn
+ install -m 644 psvn-%v.el %i/share/emacs/site-lisp/psvn/psvn.el
+ install -d %i/etc/emacs/site-start.d
+ install -m 644 fink/50psvn-vars.el %i/etc/emacs/site-start.d
install -d %i/lib/emacsen-common/packages/install
install -d %i/lib/emacsen-common/packages/remove
install -m 755 fink/install %i/lib/emacsen-common/packages/install/psvn
@@ -20,13 +74,11 @@
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n
+Homepage: http://www.xsteve.at/prg/vc_svn/
DescDetail: <<
Psvn is an interface for the revision control tool Subversion. It
provides a similar interface for Subversion as PCL-CVS for CVS.
<<
DescUsage: <<
-To use psvn.el put the following line in your .emacs:
- (require 'psvn)
-Start the svn interface with M-x svn-status
+Start the svn interface with `M-x svn-status'
<<
-Homepage: http://www.xsteve.at/prg/vc_svn/
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs