diff options
Diffstat (limited to 'app-emacs/else-mode/else-mode-1.20.ebuild')
-rw-r--r-- | app-emacs/else-mode/else-mode-1.20.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-emacs/else-mode/else-mode-1.20.ebuild b/app-emacs/else-mode/else-mode-1.20.ebuild new file mode 100644 index 0000000..3c387d8 --- /dev/null +++ b/app-emacs/else-mode/else-mode-1.20.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit elisp + +DESCRIPTION="ELSE provides templates to generate code in several different languages" +HOMEPAGE="http://www.zipworld.com.au/~peterm/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND="virtual/emacs" + +SITEFILE=50else-mode-gentoo.el + +S=${WORKDIR} + +src_unpack() { + cd ${S} + cp ${FILESDIR}/*.el . +} + +src_compile() { + elisp-compile *.el || die +} + +src_install() { + + doinfo ${FILESDIR}/else.info + + mkdir ${D}/usr/share/${PN} + insinto /usr/share/${PN} + doins ${FILESDIR}/*.lse + + elisp-install ${PN} *.el *.elc + elisp-site-file-install ${FILESDIR}/${SITEFILE} +} + +pkg_postinst() { + elisp-site-regen +} + +pkg_postrm() { + elisp-site-regen +} |