diff -Naur --exclude='*~' edb-1.31/fink/40edb.el edb-1.31.fink/fink/40edb.el --- edb-1.31/fink/40edb.el 1969-12-31 16:00:00.000000000 -0800 +++ edb-1.31.fink/fink/40edb.el 2008-09-14 19:14:39.000000000 -0700 @@ -0,0 +1 @@ +(require 'database) diff -Naur --exclude='*~' edb-1.31/fink/README.fink edb-1.31.fink/fink/README.fink --- edb-1.31/fink/README.fink 1969-12-31 16:00:00.000000000 -0800 +++ edb-1.31.fink/fink/README.fink 2008-09-14 13:07:48.000000000 -0700 @@ -0,0 +1,22 @@ +This package was finkied by Jesse Alama . The +upstream maintainer is Thien-Thi Nguyen . The best +approximation to a homepage that EDB has is +http://www.emacswiki.org/cgi-bin/wiki/EmacsDataBase ; the upstream +maintainer's page for EDB is http://www.gnuvola.org/software/edb/ , +from which the upstream tarball was downloaded. + +According to @PREFIX@/share/doc/edb/NEWS, edb is distributed under the +GPL3+ license. From the copyright statements in +@PREFIX@/share/doc/edb/NEWS: + + Copyright (C) 2004,2005,2006,2007,2008 Thien-Thi Nguyen + + Permission is granted to anyone to make or distribute verbatim + copies of this document as received, in any medium, provided that + the copyright notice and this permission notice are preserved, thus + giving the recipient permission to redistribute in turn. + + Permission is granted to distribute modified versions of this + document, or of portions of it, under the above conditions, + provided also that they carry prominent notices stating who last + changed them. diff -Naur --exclude='*~' edb-1.31/fink/emacsen-install edb-1.31.fink/fink/emacsen-install --- edb-1.31/fink/emacsen-install 1969-12-31 16:00:00.000000000 -0800 +++ edb-1.31.fink/fink/emacsen-install 2008-09-14 13:54:08.000000000 -0700 @@ -0,0 +1,40 @@ +#!/bin/bash -e +# +# install file for the fink edb emacs package. +set -o posix + +FLAVOR=${1} + +echo >&2 "install/edb: Handling install of emacsen flavor ${FLAVOR}" + +if [ ${FLAVOR} == emacs20 ] +then + echo "install/edb: Skipping unsupported flavor ${FLAVOR}" + exit 0 +fi + +if [ ${FLAVOR} == emacs ] +then + echo "install/edb: Done." + exit 0 +fi + +echo >&2 -n "install/edb: Byte-compiling for ${FLAVOR}..." + +mkdir -p @PREFIX@/share/${FLAVOR}/site-lisp/edb; + +for i in connection.el database.el db-file-io.el db-format.el db-interfa.el db-isbn.el db-lemacs.el db-nosetf.el db-oldnames.el db-rdb.el db-rep.el db-search.el db-sort.el db-summary.el db-tagged.el db-two-dbs.el db-types.el db-util.el edb-1int-to-single.el edb-meta.el edb-t-human-names.el edb-t-places-usuk.el edb-t-timedate1.el state.el system.el bfuncs GNUmakefile ; do + ln -sf @PREFIX@/share/emacs/site-lisp/edb/${i} @PREFIX@/share/${FLAVOR}/site-lisp/edb; +done + +cd @PREFIX@/share/${FLAVOR}/site-lisp/edb; + +(${FLAVOR} -batch --no-site-file --eval '(setq vc-handled-backends nil)' --eval '(setq load-path (cons "." load-path))' -l bfuncs -f edb-bfunc-make-all 2>&1) | gzip -9qf > @PREFIX@/share/doc/edb/CompilationLog-${FLAVOR}.gz; + +rm @PREFIX@/share/${FLAVOR}/site-lisp/edb/bfuncs +rm @PREFIX@/share/${FLAVOR}/site-lisp/edb/GNUmakefile + +echo >&2 "done." +echo >&2 "install/edb: Compilation log saved in @PREFIX@/share/doc/edb/CompilationLog-${FLAVOR}.gz." + +exit 0 diff -Naur --exclude='*~' edb-1.31/fink/emacsen-remove edb-1.31.fink/fink/emacsen-remove --- edb-1.31/fink/emacsen-remove 1969-12-31 16:00:00.000000000 -0800 +++ edb-1.31.fink/fink/emacsen-remove 2008-09-14 18:27:12.000000000 -0700 @@ -0,0 +1,28 @@ +#!/bin/bash -e +# +# This is the Fink version of the edb emacs package. +set -o posix + +FLAVOR=${1} + +echo "remove/edb: Handling removal for emacsen flavor ${FLAVOR}" + +if [ ${FLAVOR} == emacs20 ] +then + echo "remove/edb: Skipping unsupported flavor ${FLAVOR}" + exit 0 +fi + +if [ ${FLAVOR} == xemacs ] +then + echo "remove/edb: Skipping unsupported flavor ${FLAVOR}" + exit 0 +fi + +echo >&2 -n "remove/edb: Purging compilation log and byte-compiled files for ${FLAVOR}..." +rm -Rf @PREFIX@/share/${FLAVOR}/site-lisp/edb +rm -f @PREFIX@/share/doc/edb/CompilationLog-${FLAVOR}.gz +rm -Rf @PREFIX@/share/${FLAVOR}/site-lisp/edb +echo >&2 "done." + +exit 0