From d5007361fb6cbf15e840a43b29d3059e2eeefae9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tiziano=20M=C3=BCller?= Date: Mon, 18 Dec 2006 00:15:24 +0000 Subject: [PATCH] Dropped old versions. Version bump. Updated bash-completion file and Exuberant ctags patch. Package-Manager: portage-2.1.2_rc3 --- dev-util/source-highlight/Manifest | 52 +++++--- .../files/digest-source-highlight-2.1.2 | 1 - .../files/digest-source-highlight-2.2 | 1 - .../source-highlight-exuberant-ctags.diff | 121 ------------------ .../source-highlight-2.1.2.ebuild | 40 ------ .../source-highlight-2.2.ebuild | 54 -------- 6 files changed, 34 insertions(+), 235 deletions(-) delete mode 100644 dev-util/source-highlight/files/digest-source-highlight-2.1.2 delete mode 100644 dev-util/source-highlight/files/digest-source-highlight-2.2 delete mode 100644 dev-util/source-highlight/files/source-highlight-exuberant-ctags.diff delete mode 100644 dev-util/source-highlight/source-highlight-2.1.2.ebuild delete mode 100644 dev-util/source-highlight/source-highlight-2.2.ebuild diff --git a/dev-util/source-highlight/Manifest b/dev-util/source-highlight/Manifest index 50784e500bfc..9c9c7c8e944b 100644 --- a/dev-util/source-highlight/Manifest +++ b/dev-util/source-highlight/Manifest @@ -1,20 +1,36 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 0c2b96c449ce3e15d417f146918666b0 ChangeLog 4074 -MD5 ec136e3bf2efb4bdb6934e287a23cd6a files/digest-source-highlight-1.11-r2 73 -MD5 28242883659cebf7a8b81de6c906067d files/digest-source-highlight-2.1.2 74 -MD5 e548a55cccb87455d6d99cadb49451da files/digest-source-highlight-2.2 72 -MD5 31e175c50dba5eee83d342be007c3871 files/source-highlight-exuberant-ctags.diff 8330 +AUX source-highlight-2.5-exuberant-ctags.diff 12551 RMD160 5ecbbeefb0b0ff2f8668c386878c41e3d044be60 SHA1 0f3e96df80568f3c0578ed5988425067743e2cb2 SHA256 2227ae46e873b68950f717bab0016bca6c22e0dfc916e3e1100fd3250d5ff25e +MD5 22de441fb54d9c912392b6dba1646e3f files/source-highlight-2.5-exuberant-ctags.diff 12551 +RMD160 5ecbbeefb0b0ff2f8668c386878c41e3d044be60 files/source-highlight-2.5-exuberant-ctags.diff 12551 +SHA256 2227ae46e873b68950f717bab0016bca6c22e0dfc916e3e1100fd3250d5ff25e files/source-highlight-2.5-exuberant-ctags.diff 12551 +AUX source-highlight-2.5.bash-completion 2220 RMD160 a48855f3e44128fc2823be1c6ddf6b8795b03313 SHA1 46eace19e95fd866c60199633764b74dbf462d1c SHA256 9bea75f6aee602a3b65ca0fd567238af8ab29c40a8ccbba48d5fb58104bb635c +MD5 d7230de2f997046eefa6bf7cf54059d1 files/source-highlight-2.5.bash-completion 2220 +RMD160 a48855f3e44128fc2823be1c6ddf6b8795b03313 files/source-highlight-2.5.bash-completion 2220 +SHA256 9bea75f6aee602a3b65ca0fd567238af8ab29c40a8ccbba48d5fb58104bb635c files/source-highlight-2.5.bash-completion 2220 +AUX source-highlight.bash-completion 1383 RMD160 97e3b43f3f58a3b6d9684df68ed98b89cd79f9a8 SHA1 a862f7b90e7dd1164c25319d31c2697777ccdc1e SHA256 2037b70df2c87fc6b753e4cdb2bd184687e5bdb7b13b0a1ed427da80c83355e2 MD5 8010d26caf8fbdd5b9c6ab34da1e492b files/source-highlight.bash-completion 1383 -MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254 +RMD160 97e3b43f3f58a3b6d9684df68ed98b89cd79f9a8 files/source-highlight.bash-completion 1383 +SHA256 2037b70df2c87fc6b753e4cdb2bd184687e5bdb7b13b0a1ed427da80c83355e2 files/source-highlight.bash-completion 1383 +DIST source-highlight-1.11.tar.gz 722472 +DIST source-highlight-2.5.tar.gz 681021 RMD160 f5dd7747960b0534cfb57744c036842c2643423d SHA1 4ba76ae656098f54904955cd227e53f18be454f7 SHA256 8238d03250a5a940ab3326ac6d93ae43f0359adb33eb5e8b961318840eeea9ff +EBUILD source-highlight-1.11-r2.ebuild 1015 RMD160 9028eb461dc49f5c29ef5992f3ec8a3d8798ab1e SHA1 a28de938a439d8bfff01898efeb228e0a337b1c9 SHA256 71b1d99646d52d4d0a3200b2e3368915734816f77c927c4e11d8e24ec53b3216 MD5 a14c15abad083ecd2d10a02282b53e71 source-highlight-1.11-r2.ebuild 1015 -MD5 5cadb4172cf419b459ffc2e2d70fe1ef source-highlight-2.1.2.ebuild 1087 -MD5 03cb02e04596db02374d9aceeedbc4cf source-highlight-2.2.ebuild 1452 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDU7PMEZCkKN40op4RAji6AJ4l4UEVEvzPy45WWHxQQXPFP5h2DgCgjpTl -Mn2CRsYRIHeyN+vMj9uR+hs= -=x03x ------END PGP SIGNATURE----- +RMD160 9028eb461dc49f5c29ef5992f3ec8a3d8798ab1e source-highlight-1.11-r2.ebuild 1015 +SHA256 71b1d99646d52d4d0a3200b2e3368915734816f77c927c4e11d8e24ec53b3216 source-highlight-1.11-r2.ebuild 1015 +EBUILD source-highlight-2.5.ebuild 1234 RMD160 fc0564d4f977be2e87a894ddcdacfe01a3695973 SHA1 d21c695b091539f990425ac540b627b29f287663 SHA256 5521843830bd8a188192ae34255bc292a5192a7e138d5ccd628a18c7d58e7009 +MD5 172062f0e4327b3e77dd5a8ea4064d44 source-highlight-2.5.ebuild 1234 +RMD160 fc0564d4f977be2e87a894ddcdacfe01a3695973 source-highlight-2.5.ebuild 1234 +SHA256 5521843830bd8a188192ae34255bc292a5192a7e138d5ccd628a18c7d58e7009 source-highlight-2.5.ebuild 1234 +MISC ChangeLog 4519 RMD160 8e9f4f15d162bb3e64aff074221e32cabb418474 SHA1 fba86ae85d29a875f36733adb67ad40e4f0b0230 SHA256 2e16a3f10d40bc3d6333ec5783a28951d6f9cb3159851d17f4074f773bd79b23 +MD5 a1a4fb90981f4e1c0ad828d927e6b38f ChangeLog 4519 +RMD160 8e9f4f15d162bb3e64aff074221e32cabb418474 ChangeLog 4519 +SHA256 2e16a3f10d40bc3d6333ec5783a28951d6f9cb3159851d17f4074f773bd79b23 ChangeLog 4519 +MISC metadata.xml 258 RMD160 f41059a7f29a2b5493ad80203a94a9a519bc5dcf SHA1 ebaf62e3133e26efd7eaac694e53d0398c2bc0de SHA256 79e17085ca01237995cedc73430ae1c4bbd3092968cffe18ea41237f7a2c1939 +MD5 85ea14bf3eb159f0771ec096dc151131 metadata.xml 258 +RMD160 f41059a7f29a2b5493ad80203a94a9a519bc5dcf metadata.xml 258 +SHA256 79e17085ca01237995cedc73430ae1c4bbd3092968cffe18ea41237f7a2c1939 metadata.xml 258 +MD5 ec136e3bf2efb4bdb6934e287a23cd6a files/digest-source-highlight-1.11-r2 73 +RMD160 e1e4aab0ee8b8e89c51852d85b2b852394e62775 files/digest-source-highlight-1.11-r2 73 +SHA256 1885dda68f2dfae62afaec96db5b5c814747b2528fe8e53a5e257b33805f7796 files/digest-source-highlight-1.11-r2 73 +MD5 66963391075a9e7282ad5f916942ca5f files/digest-source-highlight-2.5 262 +RMD160 837c969e640a4f13de2c97bd0e4fc5b3636af8d2 files/digest-source-highlight-2.5 262 +SHA256 e969aae9a22e37eedeac6e7b35b92d2ef94fae22c248be629beb1e88d708caca files/digest-source-highlight-2.5 262 diff --git a/dev-util/source-highlight/files/digest-source-highlight-2.1.2 b/dev-util/source-highlight/files/digest-source-highlight-2.1.2 deleted file mode 100644 index 3b66e5d082e3..000000000000 --- a/dev-util/source-highlight/files/digest-source-highlight-2.1.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 ed2f292ea28ff3d84d51c69f25e15418 source-highlight-2.1.2.tar.gz 557143 diff --git a/dev-util/source-highlight/files/digest-source-highlight-2.2 b/dev-util/source-highlight/files/digest-source-highlight-2.2 deleted file mode 100644 index 091d0d12ae8c..000000000000 --- a/dev-util/source-highlight/files/digest-source-highlight-2.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 f9e86829095fbb32d233c4bb38fad3d5 source-highlight-2.2.tar.gz 618405 diff --git a/dev-util/source-highlight/files/source-highlight-exuberant-ctags.diff b/dev-util/source-highlight/files/source-highlight-exuberant-ctags.diff deleted file mode 100644 index fbed026484ef..000000000000 --- a/dev-util/source-highlight/files/source-highlight-exuberant-ctags.diff +++ /dev/null @@ -1,121 +0,0 @@ -diff --exclude='*~' --exclude='.*' -I '$Id:' -urN source-highlight-2.2.orig/configure.ac source-highlight-2.2/configure.ac ---- source-highlight-2.2.orig/configure.ac 2005-10-17 09:48:06.000000000 -0400 -+++ source-highlight-2.2/configure.ac 2005-10-17 09:58:52.000000000 -0400 -@@ -150,7 +150,8 @@ - AM_CONDITIONAL(NO_HELP2MAN, test -z "$ac_cv_path_HELP2MAN" ) - - dnl this is for generating references --AC_PATH_PROGS(CTAGS, ctags) -+AC_PATH_PROGS(CTAGS, exuberant-ctags) -+AC_SUBST([$CTAGS]) - AM_CONDITIONAL(NO_CTAGS, test -z "$ac_cv_path_CTAGS" ) - - dnl ******************* -@@ -244,4 +245,4 @@ - - ctags is not installed so you won't be able to - generate references (--gen-references).]) --fi -\ No newline at end of file -+fi -diff --exclude='*~' --exclude='.*' -I '$Id:' -urN source-highlight-2.2.orig/doc/Makefile.am source-highlight-2.2/doc/Makefile.am ---- source-highlight-2.2.orig/doc/Makefile.am 2005-10-17 09:48:06.000000000 -0400 -+++ source-highlight-2.2/doc/Makefile.am 2005-10-17 10:12:10.000000000 -0400 -@@ -20,7 +20,7 @@ - - CPP2HTML = $(SRCHILITEPROG) -s cpp -f html $(STD_STYLE) - --CPP2HTML_WREFS = $(CPP2HTML) --title="Contains references to tags" --gen-references=inline --ctags="ctags --excmd=n --tag-relative=yes -o my_test_ref.tags" -+CPP2HTML_WREFS = $(CPP2HTML) --title="Contains references to tags" --gen-references=inline --ctags="@CTAGS@ --excmd=n --tag-relative=yes -o my_test_ref.tags" - - CHANGELOG2HTML = $(SRCHILITEPROG) -s changelog -f html $(STD_STYLE) - -@@ -44,55 +44,55 @@ - endif - - lang-list.texinfo: $(top_srcdir)/src/lang.map -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ --lang-list | sed -e 's/@/@@/' > $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ --lang-list | sed -e 's/@/@@/' > $@ - - outlang-list.texinfo: $(top_srcdir)/src/outlang.map -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ --outlang-list | sed -e 's/@/@@/' > $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ --outlang-list | sed -e 's/@/@@/' > $@ - - test.java.texinfo: $(top_srcdir)/tests/test.java -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test.java --style-file=$(top_srcdir)/src/texinfo.style -n > $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test.java --style-file=$(top_srcdir)/src/texinfo.style -n > $@ - - test_ref.h.texinfo: $(top_srcdir)/tests/test.h -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test.h --style-file=$(top_srcdir)/src/texinfo.style -n --gen-references=postline > $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test.h --style-file=$(top_srcdir)/src/texinfo.style -n --gen-references=postline > $@ - - debug.java.texinfo: $(top_srcdir)/tests/debug.java -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/debug.java --style-file=$(top_srcdir)/src/texinfo.style -n > $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/debug.java --style-file=$(top_srcdir)/src/texinfo.style -n > $@ - - %.lang.texinfo: $(top_srcdir)/src/%.lang -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ - - %.outlang.texinfo: $(top_srcdir)/src/%.outlang -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ - - %.lang.texinfo: $(top_srcdir)/tests/%.lang -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ - - %.lang.texinfo: $(srcdir)/%.lang -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ - - %.style.texinfo: $(top_srcdir)/src/%.style -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ - - %.diff.texinfo: %.diff -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ - - %.cpp.texinfo: $(top_srcdir)/tests/%.cpp -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $< --style-file=$(top_srcdir)/src/texinfo.style -o $@ - - test_extreme_comment_wrong.texinfo: $(top_srcdir)/tests/test_extreme_comment.cpp -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment.lang -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment.lang - - test_extreme_comment_1.texinfo: $(top_srcdir)/tests/test_extreme_comment.cpp -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment2.lang -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment2.lang - - test_extreme_comment_wrong2.texinfo: $(top_srcdir)/tests/test_extreme_comment2.cpp -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment2.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment2.lang -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment2.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment2.lang - - test_extreme_comment_2.texinfo: $(top_srcdir)/tests/test_extreme_comment2.cpp -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment2.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment3.lang -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment2.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment3.lang - - test_extreme_comment_3.texinfo: $(top_srcdir)/tests/test_extreme_comment3.cpp -- $(SRCHILITEEXE) --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment3.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment3.lang -+ $(SRCHILITEEXE) --ctags=@CTAGS@ --data-dir=$(top_srcdir)/src/ -f texinfo -i $(top_srcdir)/tests/test_extreme_comment3.cpp --style-file=$(top_srcdir)/src/texinfo.style -o $@ --lang-def=extreme_comment3.lang - - %.show.texinfo: %.lang - $(SRCHILITEEXE) --show-regex=$< 2> $@ -@@ -143,7 +143,7 @@ - # note that $(srcdir) actually points to doc dir - - langdef.lang.html: $(top_srcdir)/src/langdef.lang -- $(SRCHILITEPROG) $(STD_STYLE) -i $(top_srcdir)/src/langdef.lang -o langdef.lang.html -+ $(SRCHILITEPROG) --ctags=@CTAGS@ $(STD_STYLE) -i $(top_srcdir)/src/langdef.lang -o langdef.lang.html - - startapp.cc.html: $(top_srcdir)/src/startapp.cc - $(CPP2HTML) --doc $(OUTPUT_HERE) $(top_srcdir)/src/startapp.cc -@@ -236,4 +236,4 @@ - texinfo-clean: - rm -f $(GENERATEDINFOS) - --DISTCLEANFILES = $(HTML_GENERATED_FILES) source-highlight.1 $(GENERATEDINFOS) tags langdef.lang.html -\ No newline at end of file -+DISTCLEANFILES = $(HTML_GENERATED_FILES) source-highlight.1 $(GENERATEDINFOS) tags langdef.lang.html diff --git a/dev-util/source-highlight/source-highlight-2.1.2.ebuild b/dev-util/source-highlight/source-highlight-2.1.2.ebuild deleted file mode 100644 index 8171bca11c98..000000000000 --- a/dev-util/source-highlight/source-highlight-2.1.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/source-highlight-2.1.2.ebuild,v 1.1 2005/09/08 17:07:20 ka0ttic Exp $ - -inherit bash-completion eutils - -DESCRIPTION="Generate highlighted source code as an (x)html document" -HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html" -SRC_URI="ftp://ftp.gnu.org/gnu/src-highlite/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~mips ~ppc ~x86" -SLOT="0" -IUSE="doc" - -DEPEND="dev-libs/boost" - -src_compile() { - local myconf - - built_with_use dev-libs/boost threadsonly && \ - myconf="--with-boost-regex=boost_regex-gcc-mt" - - econf ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install () { - make DESTDIR="${D}" install || die "make install failed" - rm -fr ${D}/usr/share/doc - - dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL \ - NEWS README THANKS TODO.txt || die - dobashcompletion ${FILESDIR}/${PN}.bash-completion ${PN} - - if use doc ; then - cd ${S}/doc - dohtml *.html *.css *.java - fi -} diff --git a/dev-util/source-highlight/source-highlight-2.2.ebuild b/dev-util/source-highlight/source-highlight-2.2.ebuild deleted file mode 100644 index 900c851bdc1c..000000000000 --- a/dev-util/source-highlight/source-highlight-2.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/source-highlight/source-highlight-2.2.ebuild,v 1.1 2005/10/17 14:22:39 ka0ttic Exp $ - -inherit eutils bash-completion - -DESCRIPTION="Generate highlighted source code as an (x)html document" -HOMEPAGE="http://www.gnu.org/software/src-highlite/source-highlight.html" -SRC_URI="ftp://ftp.gnu.org/gnu/src-highlite/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~mips ~ppc ~x86" -SLOT="0" -IUSE="doc" - -DEPEND="dev-libs/boost - dev-util/ctags" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-exuberant-ctags.diff -} - -src_compile() { - local myconf - - einfo "Regenerating autoconf/automake files" - libtoolize --copy --force || die "libtoolize failed" - aclocal || die "aclocal failed" - autoheader || die "autoheader failed" - automake --add-missing --copy || die "automake failed" - autoconf || die "autoconf failed" - - built_with_use dev-libs/boost threadsonly && \ - myconf="--with-boost-regex=boost_regex-gcc-mt" - - econf ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install () { - make DESTDIR="${D}" install || die "make install failed" - rm -fr ${D}/usr/share/doc - - dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL \ - NEWS README THANKS TODO.txt || die - dobashcompletion ${FILESDIR}/${PN}.bash-completion ${PN} - - if use doc ; then - cd ${S}/doc - dohtml *.html *.css *.java - fi -} -- 2.26.2