mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
@@ -1,2 +1 @@
|
||||
DIST cflow-1.6.tar.xz 679760 BLAKE2B f4947bf31db1c9dce00682bc7645df5f110d6bc7cb1d2d0b8cff0c57e47aca91916a3cfa4635feb4ae2a880c3ff966b128a61db30935c88a5509739062e9a6c4 SHA512 8f15503b0f94385641039bd05d65aa3c9a91bc032be26963279022d32136e12a583d15fdcb8e9d5ef0d31662334f994fd50b014baf7d8b221a1877172576e305
|
||||
DIST cflow-1.7.tar.xz 727604 BLAKE2B 0d015f66a1cdeb5119d09c6a81231414362bb5a130d744a4532f3eac7de54f05472716afdcf244d413f510f2f955655654192ef467c56588a09a69b064bd43b7 SHA512 e92a559c5a7141b6c94b700b91e5737b22ddd8236771ebef420a71f2d3a979a64339f56163a16b00e11125f5730927dad29f39ab1c154ceefe3ac4d622c82b02
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit elisp-common
|
||||
|
||||
DESCRIPTION="C function call hierarchy analyzer"
|
||||
HOMEPAGE="https://www.gnu.org/software/cflow/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug emacs nls"
|
||||
|
||||
RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )
|
||||
nls? ( virtual/libintl virtual/libiconv )"
|
||||
BDEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
PATCHES=( "${FILESDIR}/cflow-1.4-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
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user