summaryrefslogtreecommitdiff
blob: e2e3d9d2b3ce905ad5a37c8cb2c522a09643f67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/initsplit/initsplit-1.6-r1.ebuild,v 1.1 2007/10/14 09:41:19 ulm Exp $

inherit elisp

DESCRIPTION="Split customizations into different files"
HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki?InitSplit"
SRC_URI="mirror://gentoo/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

SITEFILE=51${PN}-gentoo.el

pkg_postinst() {
	elisp-site-regen
	elog "Initsplit is no longer enabled as a site default. Add the following"
	elog "line to your ~/.emacs file to enable configuration file splitting:"
	elog "  (add-hook 'write-file-hooks 'initsplit-split-user-init-file t)"
	elog ""
	elog "If you want configuration files byte-compiled, also add this line:"
	elog "  (add-hook 'after-save-hook 'initsplit-byte-compile-files t)"
}