summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-19 08:16:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-19 08:16:01 +0000
commit8d5fca1f3e6a51a30f5aea98639845e7ee45f571 (patch)
tree08f82f2d9029f2fd65d042a590f279507b07d91f /app-text
parentPut docs in the correct directory (#299332) (diff)
downloadhistorical-8d5fca1f3e6a51a30f5aea98639845e7ee45f571.tar.gz
historical-8d5fca1f3e6a51a30f5aea98639845e7ee45f571.tar.bz2
historical-8d5fca1f3e6a51a30f5aea98639845e7ee45f571.zip
Version bump.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-text')
-rw-r--r--app-text/highlight/ChangeLog8
-rw-r--r--app-text/highlight/Manifest4
-rw-r--r--app-text/highlight/highlight-3.0_beta.ebuild63
3 files changed, 73 insertions, 2 deletions
diff --git a/app-text/highlight/ChangeLog b/app-text/highlight/ChangeLog
index e1ab5eae748b..85affc24d26f 100644
--- a/app-text/highlight/ChangeLog
+++ b/app-text/highlight/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/highlight
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.32 2010/06/08 01:26:55 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.33 2010/06/19 08:16:01 ssuominen Exp $
+
+*highlight-3.0_beta (19 Jun 2010)
+
+ 19 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +highlight-3.0_beta.ebuild:
+ Version bump.
08 Jun 2010; Jonathan Callen <abcd@gentoo.org> highlight-2.9.ebuild:
Fix bug 323103 by setting PREFIX="${EPREFIX}/usr" instead of just
diff --git a/app-text/highlight/Manifest b/app-text/highlight/Manifest
index 83b791c74ac7..3a4944cbf16e 100644
--- a/app-text/highlight/Manifest
+++ b/app-text/highlight/Manifest
@@ -1,4 +1,6 @@
DIST highlight-2.9.tar.bz2 378746 RMD160 b058772aaeb2cc844cb0ae620c2866d02884b59b SHA1 6ab40a5af8b5564d90e8eba1c58b03486e8e4471 SHA256 520549886428c00af97667c4587a13aaf99cc8a5a69f8e850ab4c52940dae41d
+DIST highlight-3.0-beta.tar.bz2 553995 RMD160 1a992c77877d5c4a88fa32299ffb27c7ee7caa30 SHA1 b0bcd7d6f40abfb03ff49d3d3c1e9f393b1688d3 SHA256 5ee6cbfb519a71ed7207af524c3fcf08906352dfe6620804e64b2dd2ba999043
EBUILD highlight-2.9.ebuild 1508 RMD160 d8f7e81f289eb41d232c2178a27ef999420a12ab SHA1 7a65727050fed262ab9b4ac623ed42d6e6b0a0cf SHA256 88a00e3c60f37f25e13f81c6c507c2015851c3fc77cf518806c039be3d931b37
-MISC ChangeLog 4155 RMD160 c9e0119d503e92c0b6b6751977acf86de58def76 SHA1 62a052262a6f74484d7e387d4fe32b914b016bad SHA256 5acc41ca7827e52014293d7b0ecd752ae5951e2cb586aaab1fa306d9fb8c2bd7
+EBUILD highlight-3.0_beta.ebuild 1387 RMD160 672391bcb74732c4a6639da668599abbdee94bab SHA1 d5536e82aba348b8a9bd8eeccdfcf52b6d3fa276 SHA256 682c3e49b526ee439c93eb62e9760f248ec5cdd020b1e10c1b6c310702d13bf9
+MISC ChangeLog 4296 RMD160 29a55ae414d122bb1b54ab54bbd3566bcdc8a051 SHA1 3e646dffc6d849dac1cffa4431190d43e99c007e SHA256 f58d757cbe7c1b45f7598ce6c3a134b579a3dea7485717676a75aadd489ac34b
MISC metadata.xml 176 RMD160 4c10f88bb3b4c3c8f85b05a0bbef8238212ae884 SHA1 239dc089587796161139a7a9928cee878b99c147 SHA256 be997c23d8e59987382e8e46c1aa92ab261a676a929139908b7a8242d0157e81
diff --git a/app-text/highlight/highlight-3.0_beta.ebuild b/app-text/highlight/highlight-3.0_beta.ebuild
new file mode 100644
index 000000000000..02e29194fba7
--- /dev/null
+++ b/app-text/highlight/highlight-3.0_beta.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-3.0_beta.ebuild,v 1.1 2010/06/19 08:16:01 ssuominen Exp $
+
+EAPI=3
+inherit toolchain-funcs
+
+MY_P=${P/_/-}
+
+DESCRIPTION="converts source code to formatted text ((X)HTML, RTF, (La)TeX, XSL-FO, XML) with syntax highlight"
+HOMEPAGE="http://www.andre-simon.de/"
+SRC_URI="http://www.andre-simon.de/zip/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="qt4"
+
+DEPEND="dev-lang/lua
+ qt4? ( x11-libs/qt-gui:4 )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ myhlopts=(
+ "CXX=$(tc-getCXX)"
+ "DESTDIR=${D}"
+ "PREFIX=${EPREFIX}/usr"
+ "doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
+ "conf_dir=${EPREFIX}/etc/highlight/"
+ )
+}
+
+src_prepare() {
+ sed -i \
+ -e 's:dir}plugins:dir}web_plugins:' \
+ makefile || die
+
+ sed -i \
+ -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
+ src/core/datadir.cpp || die
+
+ sed -i \
+ -e 's:-O2::' \
+ -e 's:CFLAGS:CXXFLAGS:g' \
+ src/makefile || die
+}
+
+src_compile() {
+ emake -f makefile "${myhlopts[@]}" || die
+
+ if use qt4; then
+ emake -j1 -f makefile "${myhlopts[@]}" gui || die
+ fi
+}
+
+src_install() {
+ emake -f makefile "${myhlopts[@]}" install || die
+
+ if use qt4; then
+ emake -f makefile "${myhlopts[@]}" install-gui || die
+ fi
+}