summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/doxymacs')
-rw-r--r--app-emacs/doxymacs/Manifest1
-rw-r--r--app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild35
-rw-r--r--app-emacs/doxymacs/files/50doxymacs-gentoo.el12
-rw-r--r--app-emacs/doxymacs/metadata.xml8
4 files changed, 56 insertions, 0 deletions
diff --git a/app-emacs/doxymacs/Manifest b/app-emacs/doxymacs/Manifest
new file mode 100644
index 00000000000..d595dd0a094
--- /dev/null
+++ b/app-emacs/doxymacs/Manifest
@@ -0,0 +1 @@
+DIST doxymacs-1.8.0.tar.gz 133600 SHA256 a23fd833bc3c21ee5387c62597610941e987f9d4372916f996bf6249cc495afa SHA512 7461a8a415aadf331f856e4f122712cbedc2907eff9e452f24e6ee83b96903d9944d2cfdbcfeab8a66144a0be508eae723c29f82a081df9723560b10c444f8ac WHIRLPOOL f8b39d0a38032c1364d1d4ccf9a78f87be877fc8655cf29a8b189a01ec0fb76ca2b26b52c19fd780c27243c0ebf5f344331b62f1278efa3c341851ee7a9c86c0
diff --git a/app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild b/app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild
new file mode 100644
index 00000000000..7c861e34d03
--- /dev/null
+++ b/app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp flag-o-matic
+
+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"
+
+DEPEND=">=dev-libs/libxml2-2.6.13"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ append-flags -Wno-error #260874
+ econf --with-lispdir="${SITELISP}/${PN}"
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/app-emacs/doxymacs/files/50doxymacs-gentoo.el b/app-emacs/doxymacs/files/50doxymacs-gentoo.el
new file mode 100644
index 00000000000..47efe70e8af
--- /dev/null
+++ b/app-emacs/doxymacs/files/50doxymacs-gentoo.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'doxymacs-mode "doxymacs"
+ "Minor mode for using/creating Doxygen documentation." t)
+(autoload 'doxymacs-font-lock "doxymacs"
+ "Turn on font-lock for Doxygen keywords." t)
+(add-hook 'c-mode-common-hook 'doxymacs-mode)
+
+;; optional font-lock support
+;;(defun gentoo-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 'gentoo-doxymacs-font-lock-hook)
diff --git a/app-emacs/doxymacs/metadata.xml b/app-emacs/doxymacs/metadata.xml
new file mode 100644
index 00000000000..a9e1348325d
--- /dev/null
+++ b/app-emacs/doxymacs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">doxymacs</remote-id>
+</upstream>
+</pkgmetadata>