diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-04-16 10:27:57 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-04-16 10:27:57 +0000 |
commit | c0106d959bdc16d0c8d91ea1a3e94ae8d211fd87 (patch) | |
tree | eee41f19e74dd9b858fd2e602777f984a3155c20 | |
parent | OpenOffice.org 2.2, finally (diff) | |
download | gentoo-2-c0106d959bdc16d0c8d91ea1a3e94ae8d211fd87.tar.gz gentoo-2-c0106d959bdc16d0c8d91ea1a3e94ae8d211fd87.tar.bz2 gentoo-2-c0106d959bdc16d0c8d91ea1a3e94ae8d211fd87.zip |
Version bump to vm-7.19.282.
(Portage version: 2.1.2.3)
-rw-r--r-- | app-emacs/vm/ChangeLog | 9 | ||||
-rw-r--r-- | app-emacs/vm/files/digest-vm-7.19.282 | 6 | ||||
-rw-r--r-- | app-emacs/vm/vm-7.19.282.ebuild | 67 |
3 files changed, 81 insertions, 1 deletions
diff --git a/app-emacs/vm/ChangeLog b/app-emacs/vm/ChangeLog index 7afb54e8b7dc..9084f42af49e 100644 --- a/app-emacs/vm/ChangeLog +++ b/app-emacs/vm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emacs/vm # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/ChangeLog,v 1.20 2007/04/06 10:48:14 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/ChangeLog,v 1.21 2007/04/16 10:27:57 ulm Exp $ + +*vm-7.19.282 (16 Apr 2007) + + 16 Apr 2007; Ulrich Mueller <ulm@gentoo.org> +vm-7.19.282.ebuild: + Version bump (copied from Emacs overlay). Include patches and addons from + the new upstream maintainer Robert Widhopf-Fenk. Added some die comments; + use emake instead of make; introduced bbdb USE flag and dependency. *vm-7.19-r3 (06 Apr 2007) diff --git a/app-emacs/vm/files/digest-vm-7.19.282 b/app-emacs/vm/files/digest-vm-7.19.282 new file mode 100644 index 000000000000..4529dae603fd --- /dev/null +++ b/app-emacs/vm/files/digest-vm-7.19.282 @@ -0,0 +1,6 @@ +MD5 fadfef52b6b8eded9a84afdcd0282de9 vm-7.19.282.patch.gz 267935 +RMD160 df8428644a99b6fa51a445eba16f80eb6b29dea4 vm-7.19.282.patch.gz 267935 +SHA256 7c87fda4ed37a478de2d03ad6bf1cdf62cedd12d78f226d90197ba8a4a1968b3 vm-7.19.282.patch.gz 267935 +MD5 7866f6243e398d76ae32356a4af76fa3 vm-7.19.tar.gz 381658 +RMD160 7a28c0a096f1f8093cffb9fc621cd270dd67b432 vm-7.19.tar.gz 381658 +SHA256 54bdd076bb98cad57a71fb986d131963e97a13cc71f15819d32691e3c0c5bdb0 vm-7.19.tar.gz 381658 diff --git a/app-emacs/vm/vm-7.19.282.ebuild b/app-emacs/vm/vm-7.19.282.ebuild new file mode 100644 index 000000000000..e204839601fe --- /dev/null +++ b/app-emacs/vm/vm-7.19.282.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-7.19.282.ebuild,v 1.1 2007/04/16 10:27:57 ulm Exp $ + +inherit elisp eutils versionator + +VM_PV=$(get_version_component_range 1-2 ${PV}) +VM_P=vm-${VM_PV} +PATCH_PV=$(get_version_component_range 3- ${PV}) + +DESCRIPTION="The VM mail reader for Emacs" +HOMEPAGE="http://www.robf.de/Hacking/elisp/" +SRC_URI="ftp://ftp.uni-mainz.de/pub/software/gnu/vm/${VM_P}.tar.gz + mirror://gentoo/${P}.patch.gz" +# patch taken from http://www.robf.de/Hacking/elisp/${VM_P}.patch.gz + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~x86" +IUSE="bbdb" + +DEPEND="bbdb? ( app-emacs/bbdb )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${VM_P}" + +SITEFILE=51vm-gentoo.el + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${WORKDIR}/${P}.patch" + epatch "${FILESDIR}/vm-info-dir-fix-gentoo.patch" + + # extract patchdoc.txt from leading text of patch + sed -e '1,/^\*\**$/d;/^diff\|^Bin/,$d' "${WORKDIR}/${P}.patch" \ + >patchdoc.txt || die "sed failed" + + # fix vm-version + sed -i -e '/^ (interactive)/,/^$/c\' \ + -e " (concat vm-version \"-devo-${PATCH_PV}\"))\n" vm-version.el \ + || die "sed failed" + + if ! use bbdb; then + elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set." + rm -f vm-pcrisis.* + sed -i -e '1,/^vm\.info:/s/ vm-pcrisis.info//' Makefile \ + || die "sed failed" + fi +} + +src_compile() { + emake CC="$(tc-getCC)" || die "compilation failed" +} + +src_install() { + emake prefix="${D}/usr" \ + INFODIR="${D}/usr/share/info" \ + LISPDIR="${D}${SITELISP}/vm" \ + PIXMAPDIR="${D}/usr/share/pixmaps/vm" \ + install || die "installation failed" + + elisp-install vm *.el + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + dodoc README ChangeLog oldChangeLog TODO patchdoc.txt +} |