summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2012-07-25 01:51:51 +0200
committerMartin Väth <martin@mvath.de>2015-10-11 10:48:12 +0200
commit1797c5f839694f32fd962f0b4594de230f8e1280 (patch)
treeea94a8473e313ce464674a381c7fb73779a9e9ac /app-emacs/mv_emacs
parentBump less. Use l10n eclass. Update checksums (diff)
downloadmv-1797c5f839694f32fd962f0b4594de230f8e1280.tar.gz
mv-1797c5f839694f32fd962f0b4594de230f8e1280.tar.bz2
mv-1797c5f839694f32fd962f0b4594de230f8e1280.zip
Add cpplint. Install site file for mv_emcacs
Diffstat (limited to 'app-emacs/mv_emacs')
-rw-r--r--app-emacs/mv_emacs/ChangeLog5
-rw-r--r--app-emacs/mv_emacs/Manifest2
-rw-r--r--app-emacs/mv_emacs/mv_emacs-1.1-r1.ebuild52
-rw-r--r--app-emacs/mv_emacs/mv_emacs-1.1.ebuild28
4 files changed, 58 insertions, 29 deletions
diff --git a/app-emacs/mv_emacs/ChangeLog b/app-emacs/mv_emacs/ChangeLog
index 3d551b58..9374a4c9 100644
--- a/app-emacs/mv_emacs/ChangeLog
+++ b/app-emacs/mv_emacs/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*mv_emacs-1.1-r1 (24 Jul 2012)
+
+ 24 Jul 2012; Martin Väth <martin@mvath.de>
+ Add site file
+
*mv_emacs-1.1 (29 Jun 2012)
29 Jun 2012; Martin Väth <martin@mvath.de>
diff --git a/app-emacs/mv_emacs/Manifest b/app-emacs/mv_emacs/Manifest
index 48224efe..ee84dbcc 100644
--- a/app-emacs/mv_emacs/Manifest
+++ b/app-emacs/mv_emacs/Manifest
@@ -1 +1 @@
-DIST mv_emacs-1.1.tar.gz 17887 RMD160 580d1cd9137f166914284cb1546a88f38b0e73fc SHA1 229928ea33ca7ef029c35dc82a686fce2f38bbd0 SHA256 d722279743c77ee2e6ded5ac9e7f7e2e4d173a41a469559b9daf31828e1f2617
+DIST mv_emacs-1.1.tar.gz 17887 SHA256 d722279743c77ee2e6ded5ac9e7f7e2e4d173a41a469559b9daf31828e1f2617 SHA512 22e97ce8bf40cea7e8946facfb607185c64d06e318ff3dd8fe49dd2c73e65bc315880e8b34edb0ae731d9348ae16d66781ec5cd58fa3f835899e3d888eec4f1c WHIRLPOOL c0e80b1e6f8247e6a4889f49aa0274c4604c89354cfc336289b1fb80085e947edafc63693a6b68f3907294a5863b207a6854ee0b8f74856aa62e62da34160c48
diff --git a/app-emacs/mv_emacs/mv_emacs-1.1-r1.ebuild b/app-emacs/mv_emacs/mv_emacs-1.1-r1.ebuild
new file mode 100644
index 00000000..48d5d427
--- /dev/null
+++ b/app-emacs/mv_emacs/mv_emacs-1.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+RESTRICT="mirror"
+inherit elisp-common eutils vcs-snapshot
+
+DESCRIPTION="A collection of perl scripts (replacement in files, syncing dirs etc)"
+HOMEPAGE="https://github.com/vaeth/mv_emacs/"
+SRC_URI="http://github.com/vaeth/${PN}/tarball/release-${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/emacs"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ vcs-snapshot_src_unpack
+ cd "${S}"
+ mkdir sitefile
+ cat >"sitefile/50${PN}-gentoo.el" <<EOF
+(add-to-list 'load-path "@SITELISP@")
+(load "mv_emacs-autoloads")
+EOF
+}
+
+src_prepare() {
+ epatch_user
+}
+
+src_compile() {
+ elisp-make-autoload-file || die
+ elisp-compile *.el || die
+}
+
+src_install() {
+ dodoc README
+ elisp-install "${PN}" *.el *.elc || die
+ elisp-site-file-install "sitefile/50${PN}-gentoo.el" || die
+}
+
+pkg_postinst() {
+ elisp-site-regen
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}
diff --git a/app-emacs/mv_emacs/mv_emacs-1.1.ebuild b/app-emacs/mv_emacs/mv_emacs-1.1.ebuild
deleted file mode 100644
index 5912133d..00000000
--- a/app-emacs/mv_emacs/mv_emacs-1.1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-RESTRICT="mirror"
-inherit eutils elisp-common vcs-snapshot
-
-DESCRIPTION="A collection of perl scripts (replacement in files, syncing dirs etc)"
-HOMEPAGE="https://github.com/vaeth/mv_emacs/"
-SRC_URI="http://github.com/vaeth/${PN}/tarball/release-${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-PDEPEND="virtual/emacs"
-
-src_prepare() {
- epatch_user
-}
-
-src_install() {
- insinto "${SITELISP}/mv_emacs"
- doins *.el
- dodoc README
-}