Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/editors
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv18349

Added Files:
        psvn.patch psvn.info 
Log Message:
New package.


--- NEW FILE: psvn.patch ---
diff -ruN -x '*~' psvn/fink/install psvn.patched/fink/install
--- psvn/fink/install   1969-12-31 19:00:00.000000000 -0500
+++ psvn.patched/fink/install   2007-03-25 18:16:30.000000000 -0400
@@ -0,0 +1,29 @@
+#!/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"
[EMAIL PROTECTED]@/share/emacs/site-lisp/psvn/
[EMAIL PROTECTED]@/share/${FLAVOR}/site-lisp/psvn/
+
+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})
+
+    # Byte compile them
+    (cd ${elc_dir} && ${FLAVOR} ${byte_compile_options} ${el_files} 2> 
/dev/null)
+
+    # Remove the redundant .el files
+    # Presumes that any .el files in the <flavor> dir are trash.
+    rm ${elc_dir}/*.el
+fi
+exit 0;
diff -ruN -x '*~' psvn/fink/remove psvn.patched/fink/remove
--- psvn/fink/remove    1969-12-31 19:00:00.000000000 -0500
+++ psvn.patched/fink/remove    2007-03-25 18:25:42.000000000 -0400
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+FLAVOR=$1
[EMAIL PROTECTED]@/share/${FLAVOR}/site-lisp/psvn
+
+echo remove/psvn: Handling removal of emacsen flavor ${FLAVOR}
+
+if [ ${FLAVOR} != emacs ]
+then
+   echo emacsen-common: purging byte-compiled files for ${FLAVOR}
+   rm -f ${elc_dir}/*.elc
+   [ -d ${elc_dir} -a `ls -la ${elc_dir}|wc -l` -gt 3 ] && rmdir ${elc_dir}
+fi
+exit 0;

--- NEW FILE: psvn.info ---
Package: psvn
Version: 20070324
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
NoSourceDirectory: true
Depends: emacsen, svn-client
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
CompileScript: true
InstallScript: <<
  install -d %i/share/emacs/site-lisp/psvn
  install -m 644 psvn.el %i/share/emacs/site-lisp/psvn
  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
  install -m 755 fink/remove %i/lib/emacsen-common/packages/remove/psvn
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n
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
<<
Homepage: http://www.xsteve.at/prg/vc_svn/


-------------------------------------------------------------------------
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
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to