diff -Naur --exclude='*~' ebib-0.26/fink/emacsen-install ebib-0.26.fink/fink/emacsen-install --- ebib-0.26/fink/emacsen-install 1969-12-31 16:00:00.000000000 -0800 +++ ebib-0.26.fink/fink/emacsen-install 2006-08-04 19:13:59.000000000 -0700 @@ -0,0 +1,35 @@ +#!/bin/bash -e +# +# install file for the fink ebib emacs package. + +set -o posix + +FLAVOR=${1} + +echo >&2 "install/ebib: Handling install of emacsen flavor ${FLAVOR}" + +if [ ${FLAVOR} == emacs20 ] +then + echo "install/ebib: Skipping unsupported flavor ${FLAVOR}" + exit 0 +fi + +if [ ${FLAVOR} == emacs ] +then + echo "install/ebib: Done." + exit 0 +fi + +echo >&2 -n "install/ebib: Byte-compiling for ${FLAVOR}..." +mkdir -p @PREFIX@/share/${FLAVOR}/site-lisp/ebib; +ln -s @PREFIX@/share/emacs/site-lisp/ebib/ebib.el @PREFIX@/share/${FLAVOR}/site-lisp/ebib; + + +cd @PREFIX@/share/${FLAVOR}/site-lisp/ebib; + +(${FLAVOR} -batch -f batch-byte-compile 2>&1 ebib.el) | gzip -9qf > @PREFIX@/share/doc/ebib/CompilationLog-${FLAVOR}.gz; + +echo >&2 "done." +echo >&2 "install/ebib: Compilation log saved in @PREFIX@/share/doc/ebib/CompilationLog-${FLAVOR}.gz." + +exit 0 diff -Naur --exclude='*~' ebib-0.26/fink/emacsen-remove ebib-0.26.fink/fink/emacsen-remove --- ebib-0.26/fink/emacsen-remove 1969-12-31 16:00:00.000000000 -0800 +++ ebib-0.26.fink/fink/emacsen-remove 2006-08-04 15:08:50.000000000 -0700 @@ -0,0 +1,21 @@ +#!/bin/bash -e +# +# This is the Fink version of the ebib emacs package. +set -o posix + +FLAVOR=${1} + +echo "remove/ebib: Handling removal for emacsen flavor ${FLAVOR}" + +if [ ${FLAVOR} == emacs20 ] +then + echo "remove/ebib: Skipping unsupported flavor ${FLAVOR}" + exit 0 +fi + +echo >&2 -n "remove/ebib: Purging compilation log and byte-compiled files for ${FLAVOR}..." +rm -f @PREFIX@/share/doc/ebib/CompilationLog-${FLAVOR}.gz +rm -Rf @PREFIX@/share/${FLAVOR}/site-lisp/ebib +echo >&2 "done." + +exit 0