summaryrefslogtreecommitdiff
path: root/app-emacs/filladapt/filladapt-2.12.2.ebuild
blob: e2880aa486feddd764f939445ae32cd1e1eb9512 (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
27
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

NEED_EMACS=24.4

inherit elisp readme.gentoo-r1

DESCRIPTION="Filladapt enhances the behavior of Emacs' fill functions"
HOMEPAGE="http://www.wonderworks.com/ https://elpa.gnu.org/packages/filladapt.html"
SRC_URI="https://elpa.gnu.org/packages/${P}.el"
S="${WORKDIR}"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

SITEFILE="50${PN}-gentoo.el"
DOC_CONTENTS="Filladapt is not enabled as a site default. Add the following
	lines to your ~/.emacs file to enable adaptive fill by default:
	\n\t(require 'filladapt)
	\n\t(setq-default filladapt-mode t)"

src_unpack() {
	mv "${DISTDIR}"/${P}.el "${WORKDIR}"/${PN}.el || die
}