summaryrefslogtreecommitdiff
path: root/dev-util/cflow
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/cflow
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/cflow')
-rw-r--r--dev-util/cflow/Manifest7
-rw-r--r--dev-util/cflow/cflow-1.4.ebuild59
-rw-r--r--dev-util/cflow/files/50cflow-gentoo.el6
-rw-r--r--dev-util/cflow/files/cflow-1.4-info-direntry.patch13
-rw-r--r--dev-util/cflow/metadata.xml15
5 files changed, 100 insertions, 0 deletions
diff --git a/dev-util/cflow/Manifest b/dev-util/cflow/Manifest
new file mode 100644
index 000000000000..f0858af68a7e
--- /dev/null
+++ b/dev-util/cflow/Manifest
@@ -0,0 +1,7 @@
+AUX 50cflow-gentoo.el 177 SHA256 53c0cb29bcd25b0212f8377beb74cc493695c31242af987d90ac98adb723a2b1 SHA512 1edbe2c330206fdb9ad3844a2278dc71d13a0ce7c46c73030192de3f05634fe08012c04e7c94883b1f6fde21483aba29e16f7a1466719c975e9c60d59507c5e3 WHIRLPOOL 85088df90a26e04b117f45a42a03de04fe2cf53cfa08851b2feb02c60fe2e3ce272f79d47c6cfeac257e93b762b26ecadf311f979b2baf8565550047fa5e14af
+AUX cflow-1.4-info-direntry.patch 356 SHA256 ece43488993d5ae773163d31a523f123607b20c1531717650ccfccc7a7d4f116 SHA512 6bcfd0ec801b3c487d817d2fd1a0f030a1e3fccffb03f5343eb335c807fd763a8c00d8f98654ce3f8574e756a9c1d5769da71b9fb70acee0ecdace6395a3a624 WHIRLPOOL 7d84bd278e69ed8d8cce8c16f4afe999354cfa431e61b79664352ca2a6dd1403f237fd398821e0bb3d26763947c8fef776984d9ae870f45a1c1ae81814fddbc2
+DIST cflow-1.4.tar.bz2 634862 SHA256 037e39d6048ea91c68a5f3a561e10f22fd085d1f7641643e19c831a94ec26bca SHA512 b8f8bd0e75e9ad0ba112313c576766b7cf72ef1e29ad0b0a2ce233f43b4196e311077be2134ff6e0fa0bb18375469ca6a969307fa7565a63ab60dec20400ee03 WHIRLPOOL fb1b7ef812c18b0732126a3a624cfba6de6abbdc419717c4d1dc403717e6200dfe85f3189d65547391679f846c6044a7407bde1339201596c67f61023d307255
+EBUILD cflow-1.4.ebuild 1062 SHA256 ee316e7bb9aafe7c2e8abf3d11840d495ab3b98a2accd34f70f74c40c6b22a96 SHA512 98d316fb2cef72bcf601a744604bda6bbc3bf28673d4879264993f79cb0c4468bee5ca65317d05924459f609ccb116e1745c10aa324608b7df02a2af4705de8d WHIRLPOOL d5362150eb1a81e86445f60c8f29e28f4e655dacda0bc35ca4a8757b07cb0f08d681758e00e69b5414a6560c8cf4e78e2460a45f4d80da2172d9a094bfc8e706
+MISC ChangeLog 2382 SHA256 c7f3ea4219fedf996588075252c4f790ed8596d889f07caf1e9143d2906b3926 SHA512 cec1111259b9053807f4b95805a7c1e1d29ce8dc8ff8b4f94f3d526cc704d6efa7e5ed280a842563cb427da6a9c2afa66a8eb2ca265da4c8ce5b2f0e3ee0312c WHIRLPOOL 87c3b663b00539398f1eedffca548a6a163795ff6208f17312ead5cba3663eaa5080fbc1cb5d7b0d55b05531ad2149e8f1b473c527da4fe3c39015701b3e76b1
+MISC ChangeLog-2015 1842 SHA256 cd1ab287de96bf73ed61cc50a4ce443cefd8fbb1c34370c8f6183c4e94eb0f6f SHA512 c23a529eb566dd2ad8eb5245bbef2f623a4fa8ff5e5818366725b4626f2cdd08fb835f386eb6bb4deb34c987bb959783a3fa5629fd2560b53740d2c9c4bd1247 WHIRLPOOL 849d15365d0c1610e5560856f633b69f032b586121fd2f5f6e0a0a2983d4b90b4559b49d1fb1b718d49233bab694d263f5b9f312618b5755a67339ddb3aa4ef4
+MISC metadata.xml 588 SHA256 fd85bb56c39672bfb63b8a369275bca6a41af4117f29222d12b77858bdb787ca SHA512 cc702fd85f1e907a364f9e79e4b183bd4ff2317750bf917acbef7d326abded9c1adbd66bd21a46df7b394e9d4990c8c056c7173a4fa758217519f3def7c789a2 WHIRLPOOL c23b9b087aa7b3f420775a53d4a2274de6e000804a88077846f2b913842c45637e2e0c36a72ba3efb43a2c7d9a596a4dc8be92bac27bd5aa05a6b34de0722d7a
diff --git a/dev-util/cflow/cflow-1.4.ebuild b/dev-util/cflow/cflow-1.4.ebuild
new file mode 100644
index 000000000000..d34006c749eb
--- /dev/null
+++ b/dev-util/cflow/cflow-1.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit elisp-common eutils
+
+DESCRIPTION="C function call hierarchy analyzer"
+HOMEPAGE="https://www.gnu.org/software/cflow/"
+SRC_URI="ftp://download.gnu.org.ua/pub/release/cflow/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug emacs nls"
+
+RDEPEND="emacs? ( virtual/emacs )
+ nls? ( virtual/libintl virtual/libiconv )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-info-direntry.patch"
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable debug) \
+ EMACS=no
+}
+
+src_compile() {
+ default
+
+ if use emacs; then
+ elisp-compile elisp/cflow-mode.el
+ fi
+}
+
+src_install() {
+ default
+ doinfo doc/cflow.info
+
+ if use emacs; then
+ elisp-install ${PN} elisp/cflow-mode.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-util/cflow/files/50cflow-gentoo.el b/dev-util/cflow/files/50cflow-gentoo.el
new file mode 100644
index 000000000000..56a2c8c5d775
--- /dev/null
+++ b/dev-util/cflow/files/50cflow-gentoo.el
@@ -0,0 +1,6 @@
+
+;;; cflow site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'cflow-mode "cflow-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.cflow\\'" . cflow-mode))
diff --git a/dev-util/cflow/files/cflow-1.4-info-direntry.patch b/dev-util/cflow/files/cflow-1.4-info-direntry.patch
new file mode 100644
index 000000000000..ab7e4956425f
--- /dev/null
+++ b/dev-util/cflow/files/cflow-1.4-info-direntry.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/cflow.texi b/doc/cflow.texi
+index dfb1fdf..5dc1d48 100644
+--- a/doc/cflow.texi
++++ b/doc/cflow.texi
+@@ -21,7 +21,7 @@
+ @end direntry
+ @dircategory Emacs
+ @direntry
+-* cflow mode: (cflow)cflow mode. Major mode for visiting cflow charts.
++* cflow mode: (cflow)Emacs. Major mode for visiting cflow charts.
+ @end direntry
+ @end ifinfo
+
diff --git a/dev-util/cflow/metadata.xml b/dev-util/cflow/metadata.xml
new file mode 100644
index 000000000000..8e343daf6159
--- /dev/null
+++ b/dev-util/cflow/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dev-zero@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ GNU cflow analyzes a collection of C source files and prints a graph,
+ charting control flow within the program.
+
+ GNU cflow is able to produce both direct and inverted flowgraphs for C
+ sources. Optionally a cross-reference listing can be generated. Two
+ output formats are implemented: POSIX and GNU (extended).
+ </longdescription>
+</pkgmetadata>