diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2007-07-02 06:44:23 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2007-07-02 06:44:23 +0000 |
commit | 8750dfabb794f71b8b8efc0683b554a6dd2c38f5 (patch) | |
tree | 9e0b3e8f2e10a2290d436e763892c081af63af7a /app-emacs/doxymacs | |
parent | using new-style virtual dependency; make use of DOCS variable (diff) | |
download | historical-8750dfabb794f71b8b8efc0683b554a6dd2c38f5.tar.gz historical-8750dfabb794f71b8b8efc0683b554a6dd2c38f5.tar.bz2 historical-8750dfabb794f71b8b8efc0683b554a6dd2c38f5.zip |
new ebuild for bug 110083; taken from Sunrise; thanks to Ciprian Ciubotariu <cheepeero@gmx.net> and Christian Schlotter <again@gmx.de>: massaged a bit
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'app-emacs/doxymacs')
-rw-r--r-- | app-emacs/doxymacs/ChangeLog | 11 | ||||
-rw-r--r-- | app-emacs/doxymacs/doxymacs-1.8.0.ebuild | 46 | ||||
-rw-r--r-- | app-emacs/doxymacs/files/50doxymacs-gentoo.el | 11 | ||||
-rw-r--r-- | app-emacs/doxymacs/files/digest-doxymacs-1.8.0 | 3 | ||||
-rw-r--r-- | app-emacs/doxymacs/metadata.xml | 5 |
5 files changed, 76 insertions, 0 deletions
diff --git a/app-emacs/doxymacs/ChangeLog b/app-emacs/doxymacs/ChangeLog new file mode 100644 index 000000000000..c3345ca4bacc --- /dev/null +++ b/app-emacs/doxymacs/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-emacs/doxymacs +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/doxymacs/ChangeLog,v 1.1 2007/07/02 06:44:23 opfer Exp $ + +*doxymacs-1.8.0 (02 Jul 2007) + + 02 Jul 2007; Christian Faulhammer <opfer@gentoo.org> + +files/50doxymacs-gentoo.el, +metadata.xml, +doxymacs-1.8.0.ebuild: + new ebuild for bug 110083; taken from Sunrise; thanks to Ciprian Ciubotariu + <cheepeero@gmx.net> and Christian Schlotter <again@gmx.de>: massaged a bit + diff --git a/app-emacs/doxymacs/doxymacs-1.8.0.ebuild b/app-emacs/doxymacs/doxymacs-1.8.0.ebuild new file mode 100644 index 000000000000..c01d6db1631a --- /dev/null +++ b/app-emacs/doxymacs/doxymacs-1.8.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/doxymacs/doxymacs-1.8.0.ebuild,v 1.1 2007/07/02 06:44:23 opfer Exp $ + +NEED_EMACS=22 + +inherit elisp + +DESCRIPTION="Doxygen editing minor mode" +HOMEPAGE="http://doxymacs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-libs/libxml2-2.6.13" +RDEPEND="${DEPEND}" + +SITEFILE="50doxymacs-gentoo.el" +DOCS="AUTHORS ChangeLog NEWS README TODO" + +src_compile() { + econf \ + --with-datadir="${SITELISP}/${PN}" \ + --with-lispdir="${SITELISP}/${PN}" \ + || die "econf failed" + + emake || die "emake failed" + elisp-make-autoload-file ${PN}-autoloads.el lisp/ +} + +src_install() { + emake \ + prefix="${D}/usr" \ + datadir="${D}/${SITELISP}/${PN}" \ + lispdir="${D}/${SITELISP}/${PN}" \ + install \ + || die "emake install failed" + + elisp-install ${PN} ${PN}-autoloads.el + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + dodoc ${DOCS} || die "dodoc failed" +} diff --git a/app-emacs/doxymacs/files/50doxymacs-gentoo.el b/app-emacs/doxymacs/files/50doxymacs-gentoo.el new file mode 100644 index 000000000000..08f4affa7ac3 --- /dev/null +++ b/app-emacs/doxymacs/files/50doxymacs-gentoo.el @@ -0,0 +1,11 @@ + +;;; doxymacs site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(load "doxymacs-autoloads" nil t) +(add-hook 'c-mode-common-hook 'doxymacs-mode) + +(defun my-doxymacs-font-lock-hook () + (if (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode)) + (doxymacs-font-lock))) +(add-hook 'font-lock-mode-hook 'my-doxymacs-font-lock-hook) diff --git a/app-emacs/doxymacs/files/digest-doxymacs-1.8.0 b/app-emacs/doxymacs/files/digest-doxymacs-1.8.0 new file mode 100644 index 000000000000..0bb51ca72d8f --- /dev/null +++ b/app-emacs/doxymacs/files/digest-doxymacs-1.8.0 @@ -0,0 +1,3 @@ +MD5 a2c1750efdec955f42e410a18ebd4eb8 doxymacs-1.8.0.tar.gz 133600 +RMD160 f7a0657251d9220d75aec08dd796dbba3cfe99a5 doxymacs-1.8.0.tar.gz 133600 +SHA256 a23fd833bc3c21ee5387c62597610941e987f9d4372916f996bf6249cc495afa doxymacs-1.8.0.tar.gz 133600 diff --git a/app-emacs/doxymacs/metadata.xml b/app-emacs/doxymacs/metadata.xml new file mode 100644 index 000000000000..bc306fe58224 --- /dev/null +++ b/app-emacs/doxymacs/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>emacs</herd> +</pkgmetadata> |