Date: Wed, 08 Jan 2003 18:37:41 +0900 From: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> To: Henrik Motakef <henrik.motakef@web.de> Cc: freebsd-ports@FreeBSD.org Subject: Re: How to install Emacs Lisp files? Message-ID: <wyptr8j82i.wl@eken3.eken.phys.nagoya-u.ac.jp> In-Reply-To: <8765t6alwj.fsf@interim.henrik-motakef.de> References: <8765t6alwj.fsf@interim.henrik-motakef.de>
next in thread | previous in thread | raw e-mail | index | archive | help
At 03 Jan 2003 05:37:48 +0100, Henrik Motakef <henrik.motakef@web.de> wrote: > What is the best way to install emacs lisp files for whatever Emacs is > installed? > > I'm looking in a port that includes an elisp file that works with > either GNU Emacs or XEmacs. It is also useful without any Emacs, so > creating a foo-emacs and a foo-xemacs port seems stupid. My idea is > basically to look what Emacsen are installed, and put the elisp file > in their load-path, without adding a dependency on any Emacs. > > As far as I can see, there are PREFIX/share/emacs/site-lisp and > PREFIX/lib/xemacs/site-lisp that are independent of the specific > (X)Emacs version, but is there a convenient way not to have to check > whether one or both of them are already installed? bsd.emacs.mk > doesn't seem to mention something like that, and the chapter in the > porter's handbook isn't too helpful yet ;-) I think there is no need to check since your idea is to add no dependency on Emacsen. See mpg123.el ports etc. as a guide. 1. mkdir -p to create both site-lisp directories 2. install files into one of them 3. create symbolic link Regards, -- Yoichi Nakayama To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wyptr8j82i.wl>