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
commitda0d6ec9b4a938bf2ecbc850a1d36477cdd29afa (patch)
treea41faa5056f73acf2678a5b48e80bb39d3908ac5 /dev-tex/slatex
parentInitial commit, dep for SLaTeX (bug 188118) (diff)
downloadhistorical-da0d6ec9b4a938bf2ecbc850a1d36477cdd29afa.tar.gz
historical-da0d6ec9b4a938bf2ecbc850a1d36477cdd29afa.tar.bz2
historical-da0d6ec9b4a938bf2ecbc850a1d36477cdd29afa.zip
Initial commit, bug 188118
Package-Manager: portage-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..3a974db4ea20
--- /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 1493 RMD160 bf85340e17f8858ceac3e8dab9e1e9fdbd1362e4 SHA1 baa64bfb9b0019d7b14060d2e0092e719c8880db SHA256 91356b90125bc09cc1cc0b42b254565f31cada5d8f7ee1c2d34781373708084c
+MD5 8b0fc6d0931571bb17ef9007dd19c926 slatex-20050609.ebuild 1493
+RMD160 bf85340e17f8858ceac3e8dab9e1e9fdbd1362e4 slatex-20050609.ebuild 1493
+SHA256 91356b90125bc09cc1cc0b42b254565f31cada5d8f7ee1c2d34781373708084c slatex-20050609.ebuild 1493
+MISC ChangeLog 354 RMD160 f333e63070b5e4a0e3172828596adb12c4c36c87 SHA1 162d40af55137a8f682e251898a122e84563bdd2 SHA256 1822144a1c29d688f281a1ded91962acc5780781695897134af5c978ab00f56c
+MD5 6e35dbad6794bbf01412d41d340804d5 ChangeLog 354
+RMD160 f333e63070b5e4a0e3172828596adb12c4c36c87 ChangeLog 354
+SHA256 1822144a1c29d688f281a1ded91962acc5780781695897134af5c978ab00f56c ChangeLog 354
+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
+}