summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2008-01-17 22:55:29 +0000
committerMarijn Schouten <hkbst@gentoo.org>2008-01-17 22:55:29 +0000
commit88d1a7133cf447495823e41b67c44032b90debe1 (patch)
treea3f54f8f096e912b62373aeaa7addd84c76c5c10 /dev-tex/slatex
parentInitial commit, dep for SLaTeX (bug 188118) (diff)
downloadgentoo-2-88d1a7133cf447495823e41b67c44032b90debe1.tar.gz
gentoo-2-88d1a7133cf447495823e41b67c44032b90debe1.tar.bz2
gentoo-2-88d1a7133cf447495823e41b67c44032b90debe1.zip
Initial commit, bug 188118
(Portage version: 2.1.4)
Diffstat (limited to 'dev-tex/slatex')
-rw-r--r--dev-tex/slatex/ChangeLog10
-rw-r--r--dev-tex/slatex/Manifest16
-rw-r--r--dev-tex/slatex/files/digest-slatex-200506093
-rw-r--r--dev-tex/slatex/metadata.xml12
-rw-r--r--dev-tex/slatex/slatex-20050609.ebuild50
5 files changed, 91 insertions, 0 deletions
diff --git a/dev-tex/slatex/ChangeLog b/dev-tex/slatex/ChangeLog
new file mode 100644
index 000000000000..6f3cb16f6e50
--- /dev/null
+++ b/dev-tex/slatex/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tex/slatex
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/ChangeLog,v 1.1 2008/01/17 22:55:29 hkbst Exp $
+
+*slatex-20050609 (17 Jan 2008)
+
+ 17 Jan 2008; Marijn Schouten <hkBst@gentoo.org> +metadata.xml,
+ +slatex-20050609.ebuild:
+ Initial commit, bug 188118
+
diff --git a/dev-tex/slatex/Manifest b/dev-tex/slatex/Manifest
new file mode 100644
index 000000000000..2da455908f62
--- /dev/null
+++ b/dev-tex/slatex/Manifest
@@ -0,0 +1,16 @@
+DIST slatex-20050609.tar.gz 47617 RMD160 73cb79c8b64a788caf74568304118d1e11d1f399 SHA1 426169e392316a70ebcda44775793b9cd01e93b4 SHA256 d392d523054f5100698f12477ef65ea7f4b074da2723c60bb9f3410b51a2ab2e
+EBUILD slatex-20050609.ebuild 1395 RMD160 b2d1d26b4b38d243e8fa704aa9d3ee3ed0ff70e3 SHA1 ca47b6b4f34b3ff6c3643bbf8d7d0f1a66c53649 SHA256 bf972f0c4b9b3d2d6ad619bcfbfd18e53aa11237eca781adfd40229496690aee
+MD5 2b3dda1743913c5cf0dd950327397c4c slatex-20050609.ebuild 1395
+RMD160 b2d1d26b4b38d243e8fa704aa9d3ee3ed0ff70e3 slatex-20050609.ebuild 1395
+SHA256 bf972f0c4b9b3d2d6ad619bcfbfd18e53aa11237eca781adfd40229496690aee slatex-20050609.ebuild 1395
+MISC ChangeLog 269 RMD160 05742465590894019cc2d318ace5a2146d765386 SHA1 a78bd9eec89ed9ec3710c2d2448a3ff572e63532 SHA256 b186f6d15244fc85f99184e46a3316671995b18062df4f3129022781b8399691
+MD5 2616fcf69482a73f0f4bb40ce69355fd ChangeLog 269
+RMD160 05742465590894019cc2d318ace5a2146d765386 ChangeLog 269
+SHA256 b186f6d15244fc85f99184e46a3316671995b18062df4f3129022781b8399691 ChangeLog 269
+MISC metadata.xml 1501 RMD160 aacb0740bcf83689a947547de054b21f11d0b1be SHA1 04914f684764a614f7b83b1fc0e279b2f5bc04b7 SHA256 c36b12fbd194f770f5f49efb530ccc50333fa6248169d0f9a4c92c38c528c558
+MD5 f68eea8914fcb9a81ea00ec3bfbe6ae8 metadata.xml 1501
+RMD160 aacb0740bcf83689a947547de054b21f11d0b1be metadata.xml 1501
+SHA256 c36b12fbd194f770f5f49efb530ccc50333fa6248169d0f9a4c92c38c528c558 metadata.xml 1501
+MD5 5c8552f44cab0b16287fd8c78f085e02 files/digest-slatex-20050609 244
+RMD160 00dca2c1618f9653cd0d608d14348be9b5f14435 files/digest-slatex-20050609 244
+SHA256 d30d324719bdb8418bf2264e2b964d834fb9562133e819eaf0cc3eba9cb88ed8 files/digest-slatex-20050609 244
diff --git a/dev-tex/slatex/files/digest-slatex-20050609 b/dev-tex/slatex/files/digest-slatex-20050609
new file mode 100644
index 000000000000..2b5ec7b24d64
--- /dev/null
+++ b/dev-tex/slatex/files/digest-slatex-20050609
@@ -0,0 +1,3 @@
+MD5 1b271ee5c7b64bf3be80737428fd4ed1 slatex-20050609.tar.gz 47617
+RMD160 73cb79c8b64a788caf74568304118d1e11d1f399 slatex-20050609.tar.gz 47617
+SHA256 d392d523054f5100698f12477ef65ea7f4b074da2723c60bb9f3410b51a2ab2e slatex-20050609.tar.gz 47617
diff --git a/dev-tex/slatex/metadata.xml b/dev-tex/slatex/metadata.xml
new file mode 100644
index 000000000000..40280b1e69ce
--- /dev/null
+++ b/dev-tex/slatex/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>scheme</herd>
+ <maintainer>
+ <email>hkBst@gentoo.org</email>
+ <name>Marijn Schouten</name>
+ </maintainer>
+ <longdescription lang="en">
+SLaTeX is a Scheme program that allows you to write programs or program fragments ``as is'' in your TeX or LaTeX source. It is particularly geared to the programming languages Scheme and other Lisps, eg, Common Lisp. The formatting of the code includes assigning appropriate fonts and colors to the various tokens in the code (keywords, variables, constants, data), at the same time retaining the proper indentation when going to the non-monospace (non-typewriter) fonts provided by TeX. SLaTeX comes with two databases that recognize the identifier conventions of Scheme and Common Lisp respectively. These can be modified by the user with easy TeX commands. In addition, the user can tell SLaTeX to typeset certain identifiers as specially suited TeX expressions (ie, beyond just fonting them). All this is done without interfering with the identifier conventions of the language of the programming code. In sum, no change need be made to your (presumably running) program code in order to get a typeset version with a desired look: You can get a spectrum of styles ranging from no fonting through basic default fonting to various ``mathematical''-looking output for pedagogic or other reasons.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-tex/slatex/slatex-20050609.ebuild b/dev-tex/slatex/slatex-20050609.ebuild
new file mode 100644
index 000000000000..1143df03389d
--- /dev/null
+++ b/dev-tex/slatex/slatex-20050609.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/slatex/slatex-20050609.ebuild,v 1.1 2008/01/17 22:55:29 hkbst Exp $
+
+# 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"
+
+#http://www.ccs.neu.edu/home/dorai/slatex/slatex.tar.gz
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="as-is"
+
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+CDEPEND="dev-scheme/guile"
+DEPEND="${CDEPEND} dev-scheme/scmxlate !dev-scheme/drscheme"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+TARGET_DIR="/usr/share/slatex"
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+# cp scmxlate-slatex-src.scm scmxlate-slatex-src.scm.old
+ sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" -i scmxlate-slatex-src.scm
+# diff -u scmxlate-slatex-src.scm.old scmxlate-slatex-src.scm
+}
+
+src_compile() {
+ local command="(load \"/usr/share/scmxlate/scmxlate.scm\")"
+# echo "${command}"
+ guile -c "${command}" <<< "guile" || die
+# mzscheme -e "${command}(exit)" <<< "mzscheme" || die
+# guile -c "(load \"slatex.scm\")(slatex::process-main-tex-file \"slatxdoc.tex\")" && tex slatxdoc.tex
+}
+
+src_install() {
+ insinto "${TARGET_DIR}"; doins slatex.scm
+ insinto /usr/share/texmf/tex/latex/slatex/; doins slatex.sty
+ dobin slatex
+}