pkgsrc/inputmethod/skk/files/SKK-CFG
uebayasi 34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00

17 lines
756 B
Text

;;; $NetBSD: SKK-CFG,v 1.3 2008/10/11 09:31:57 uebayasi Exp $
;;; from inputmethods/ddskk/files/SKK-CFG
;;; NetBSD: SKK-CFG,v 1.1.1.1 2002/09/16 13:20:44 uebayasi Exp
;;;
(setq pkgsrc-prefix (getenv "prefix"))
(setq pkgsrc-emacs-infoprefix (getenv "EMACS_INFOPREFIX"))
(setq pkgsrc-emacs-lispprefix (getenv "EMACS_LISPPREFIX"))
(setq APEL_SPECIFIC_LISPDIR (concat pkgsrc-emacs-lispprefix "/apel"))
(setq LISPDIR pkgsrc-emacs-lispprefix)
;;; XXX We avoid *.{el,elc} files installed under .../emacs/2?.?/site-lisp/...
(setq VERSION_SPECIFIC_LISPDIR pkgsrc-emacs-lispprefix)
(setq EMU_PREFIX "emu")
(setq SKK_DATADIR (concat pkgsrc-prefix "/share/skk"))
(setq SKK_INFODIR pkgsrc-emacs-infoprefix)
(setq SKK_LISPDIR (concat pkgsrc-emacs-lispprefix "/skk"))