summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-05-29 19:13:49 +0200
committerUlrich Müller <ulm@gentoo.org>2014-05-29 19:13:49 +0200
commit52453516c4b98f0f1e513828ca54ea0be16c7668 (patch)
tree714a11dd0501a9c079e69034d56be20c6fff423a
parentRemove obsolete comment. (diff)
downloademacs-52453516c4b98f0f1e513828ca54ea0be16c7668.tar.gz
emacs-52453516c4b98f0f1e513828ca54ea0be16c7668.tar.bz2
emacs-52453516c4b98f0f1e513828ca54ea0be16c7668.zip
Ebuild for BBDB version 3, bug 511572. Work in progress.
Package-Manager: portage-2.2.10
-rw-r--r--app-emacs/bbdb/ChangeLog10
-rw-r--r--app-emacs/bbdb/Manifest1
-rw-r--r--app-emacs/bbdb/bbdb-3.1.2.ebuild56
-rw-r--r--app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el2
-rw-r--r--app-emacs/bbdb/metadata.xml14
5 files changed, 83 insertions, 0 deletions
diff --git a/app-emacs/bbdb/ChangeLog b/app-emacs/bbdb/ChangeLog
new file mode 100644
index 0000000..531110a
--- /dev/null
+++ b/app-emacs/bbdb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-emacs/bbdb
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*bbdb-3.1.2 (29 May 2014)
+
+ 29 May 2014; Ulrich Müller <ulm@gentoo.org> +bbdb-3.1.2.ebuild,
+ +files/50bbdb-gentoo-3.1.2.el, +metadata.xml:
+ Ebuild for BBDB version 3, bug 511572. Work in progress.
+
diff --git a/app-emacs/bbdb/Manifest b/app-emacs/bbdb/Manifest
new file mode 100644
index 0000000..539cc0b
--- /dev/null
+++ b/app-emacs/bbdb/Manifest
@@ -0,0 +1 @@
+DIST bbdb-3.1.2.tar.gz 378935 SHA256 05780f030584ddaa717d04700bc70e7d9e929141223c7f130fc0c778d73241bf SHA512 8b32baadc4eb06b0abf533ccb1f540f4f407f27b8d2e847ae25e62d1405e1de5cfc6af16368eecd4086f281ee7a4016cf25568847b3cb798156c7e18e1912576 WHIRLPOOL d8d50c34ba3a1ccf879a1749b37f0cdc8c5d46ff4d01940256501574e933b1e8d141d6ded8bc6a797e6377b759ba55582b5d2c3190489e9cbf96487c7124dbb5
diff --git a/app-emacs/bbdb/bbdb-3.1.2.ebuild b/app-emacs/bbdb/bbdb-3.1.2.ebuild
new file mode 100644
index 0000000..2ebef0e
--- /dev/null
+++ b/app-emacs/bbdb/bbdb-3.1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/bbdb/bbdb-2.35-r1.ebuild,v 1.7 2012/09/25 19:22:48 ulm Exp $
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="The Insidious Big Brother Database"
+HOMEPAGE="http://savannah.nongnu.org/projects/bbdb/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ GPL-1+ FDL-1.3+"
+SLOT="0"
+KEYWORDS=""
+IUSE="tex vm"
+
+DEPEND="tex? ( virtual/tex-base )
+ vm? ( app-emacs/vm )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo-${PV}.el"
+TEXMF="/usr/share/texmf-site"
+
+src_configure() {
+ econf \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")" \
+ EMACS="${EMACS} -q --no-site-file"
+}
+
+src_compile() {
+ emake -C lisp
+}
+
+src_install() {
+ emake -C lisp DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo doc/*.info*
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ if use tex; then
+ insinto "${TEXMF}"/tex/plain/${PN}
+ doins tex/*.tex
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
+
+pkg_postrm() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
diff --git a/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el b/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el
new file mode 100644
index 0000000..45a7cc2
--- /dev/null
+++ b/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'bbdb-loaddefs)
diff --git a/app-emacs/bbdb/metadata.xml b/app-emacs/bbdb/metadata.xml
new file mode 100644
index 0000000..f7806e7
--- /dev/null
+++ b/app-emacs/bbdb/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ The Insidious Big Brother Database (BBDB) is a contact management utility
+ for use with GNU Emacs and XEmacs. It can hook into Emacs-based mail- and
+ news-readers and automatically collect information on messages therein.
+</longdescription>
+<use>
+ <flag name='tex'>Install plain TeX support files</flag>
+ <flag name='vm'>Add support for <pkg>app-emacs/vm</pkg></flag>
+</use>
+</pkgmetadata>