summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@gentoo.org>2010-07-01 16:44:41 +0000
committerTomás Touceda <chiiph@gentoo.org>2010-07-01 16:44:41 +0000
commit098b3ac5fb257f399de5611d78e65d0102741504 (patch)
treec5d4f7fbcd1304cbe9fcd69b4d322d6cd8e753d8 /dev-tex
parentFix wrong intall dir (diff)
downloadgentoo-2-098b3ac5fb257f399de5611d78e65d0102741504.tar.gz
gentoo-2-098b3ac5fb257f399de5611d78e65d0102741504.tar.bz2
gentoo-2-098b3ac5fb257f399de5611d78e65d0102741504.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/slatex/ChangeLog7
-rw-r--r--dev-tex/slatex/slatex-20090928.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-tex/slatex/ChangeLog b/dev-tex/slatex/ChangeLog
index 05be2559eef8..2bcdc016c48d 100644
--- a/dev-tex/slatex/ChangeLog
+++ b/dev-tex/slatex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/slatex
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/ChangeLog,v 1.3 2010/04/17 17:52:07 pchrist Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/ChangeLog,v 1.4 2010/07/01 16:44:41 chiiph Exp $
+
+*slatex-20090928 (01 Jul 2010)
+
+ 01 Jul 2010; Tomas Touceda <chiiph@gentoo.org> +slatex-20090928.ebuild:
+ Version bump
17 Apr 2010; Panagiotis Christopoulos <pchrist@gentoo.org>
slatex-20050609.ebuild:
diff --git a/dev-tex/slatex/slatex-20090928.ebuild b/dev-tex/slatex/slatex-20090928.ebuild
new file mode 100644
index 000000000000..974708152e0f
--- /dev/null
+++ b/dev-tex/slatex/slatex-20090928.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/slatex-20090928.ebuild,v 1.1 2010/07/01 16:44:41 chiiph Exp $
+
+EAPI="3"
+
+# for updating the texmf database, id est latex-package_rehash
+inherit latex-package
+
+DESCRIPTION="SLaTeX is a Scheme program that allows you to write Scheme code in your (La)TeX source."
+HOMEPAGE="http://www.ccs.neu.edu/home/dorai/slatex/slatxdoc.html"
+SRC_URI="http://evalwhen.com/slatex/slatex.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="dev-scheme/guile"
+DEPEND="${CDEPEND} dev-scheme/scmxlate !dev-scheme/plt-scheme"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+TARGET_DIR="/usr/share/${PN}"
+
+src_prepare() {
+ sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" \
+ -i scmxlate-slatex-src.scm || die "sed failed"
+}
+
+src_compile() {
+ local command="(load \"/usr/share/scmxlate/scmxlate.scm\")"
+ guile -c "${command}" <<< "guile" || die
+}
+
+src_install() {
+ insinto "${TARGET_DIR}"
+ doins ${PN}.scm || die "doins failed"
+ insinto /usr/share/texmf/tex/latex/slatex/
+ doins ${PN}.sty || die "doins failed"
+ dobin ${PN} || die "dobin failed"
+}