diff options
author | Luis Francisco Araujo <araujo@gentoo.org> | 2005-09-06 21:46:17 +0000 |
---|---|---|
committer | Luis Francisco Araujo <araujo@gentoo.org> | 2005-09-06 21:46:17 +0000 |
commit | 8d26d47be16055510cbcc162d1eff9ab535b0e1f (patch) | |
tree | 4c9639fa1973490223226aa3860f2eabdb9c132b /dev-scheme/scheme48 | |
parent | remove outdated masks #105016 (diff) | |
download | gentoo-2-8d26d47be16055510cbcc162d1eff9ab535b0e1f.tar.gz gentoo-2-8d26d47be16055510cbcc162d1eff9ab535b0e1f.tar.bz2 gentoo-2-8d26d47be16055510cbcc162d1eff9ab535b0e1f.zip |
Adding new Scheme48 package
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-scheme/scheme48')
-rw-r--r-- | dev-scheme/scheme48/ChangeLog | 10 | ||||
-rw-r--r-- | dev-scheme/scheme48/Manifest | 4 | ||||
-rw-r--r-- | dev-scheme/scheme48/files/50scheme48-gentoo.el | 10 | ||||
-rw-r--r-- | dev-scheme/scheme48/files/digest-scheme48-1.3 | 1 | ||||
-rw-r--r-- | dev-scheme/scheme48/metadata.xml | 15 | ||||
-rw-r--r-- | dev-scheme/scheme48/scheme48-1.3.ebuild | 60 |
6 files changed, 100 insertions, 0 deletions
diff --git a/dev-scheme/scheme48/ChangeLog b/dev-scheme/scheme48/ChangeLog new file mode 100644 index 000000000000..59afdc48f115 --- /dev/null +++ b/dev-scheme/scheme48/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-scheme/scheme48 +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.1 2005/09/06 21:46:17 araujo Exp $ + +*scheme48-1.3 (06 Sep 2005) + + 06 Sep 2005; Luis F. Araujo <araujo@gentoo.org> + +files/50scheme48-gentoo.el, +metadata.xml, +scheme48-1.3.ebuild: + New Scheme48 package added. + diff --git a/dev-scheme/scheme48/Manifest b/dev-scheme/scheme48/Manifest new file mode 100644 index 000000000000..bb1bf41aad75 --- /dev/null +++ b/dev-scheme/scheme48/Manifest @@ -0,0 +1,4 @@ +MD5 abec6c4b3ced18f81f4b8d8d8285e651 scheme48-1.3.ebuild 1376 +MD5 3ced4838ea1f70eee5d0d0f0e14b18b1 metadata.xml 532 +MD5 2581231c4cfe40f47b763109ff22dd73 files/digest-scheme48-1.3 62 +MD5 75e4b8751b0c3e96501efc5218e39523 files/50scheme48-gentoo.el 198 diff --git a/dev-scheme/scheme48/files/50scheme48-gentoo.el b/dev-scheme/scheme48/files/50scheme48-gentoo.el new file mode 100644 index 000000000000..fe378e6a7081 --- /dev/null +++ b/dev-scheme/scheme48/files/50scheme48-gentoo.el @@ -0,0 +1,10 @@ +;;; scheme48 site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") + +(setq scheme-program-name "scheme48") +(autoload 'run-scheme + "cmuscheme48" + "Run an inferior Scheme process." + t) + diff --git a/dev-scheme/scheme48/files/digest-scheme48-1.3 b/dev-scheme/scheme48/files/digest-scheme48-1.3 new file mode 100644 index 000000000000..f34bbdcebcdf --- /dev/null +++ b/dev-scheme/scheme48/files/digest-scheme48-1.3 @@ -0,0 +1 @@ +MD5 c436e4c7ba0820e591458804eb8aec5a scheme48-1.3.tgz 2322178 diff --git a/dev-scheme/scheme48/metadata.xml b/dev-scheme/scheme48/metadata.xml new file mode 100644 index 000000000000..502bd1ed9c9e --- /dev/null +++ b/dev-scheme/scheme48/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>scheme</herd> +<maintainer> +<email>araujo@gentoo.org</email> +<name>Luis F. Araujo</name> +</maintainer> +<longdescription lang="en"> +Scheme 48 is an implementation of Scheme written by Richard Kelsey and Jonathan +Rees. It is based on a byte-code interpreter and is designed to be used as a +testbed for experiments in implementation techniques and as an expository tool. +</longdescription> +</pkgmetadata> + diff --git a/dev-scheme/scheme48/scheme48-1.3.ebuild b/dev-scheme/scheme48/scheme48-1.3.ebuild new file mode 100644 index 000000000000..2971c7a59a58 --- /dev/null +++ b/dev-scheme/scheme48/scheme48-1.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/scheme48-1.3.ebuild,v 1.1 2005/09/06 21:46:17 araujo Exp $ + +inherit elisp-common + +DESCRIPTION="Scheme48 is an implementation of the Scheme Programming Language." +HOMEPAGE="http://www.s48.org/" +SRC_URI="http://www.s48.org/1.3/${PF}.tgz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc emacs" + +DEPEND="virtual/libc" +RDEPEND="" +SITEFILE=50scheme48-gentoo.el + +src_unpack() { + unpack ${A} + sed -i "s:\`pwd\`:/usr/lib/scheme48:" ${S}/Makefile.in + sed -i "s:lib=\$(LIB):lib=/usr/lib/scheme48:" ${S}/Makefile.in + # Set the correct values for the paths show by the man pages + sed -i "s:=\$(bindir)=:=/usr/bin/=:" ${S}/Makefile.in + sed -i "s:=\$(LIB)=:=/usr/lib/scheme48=:" ${S}/Makefile.in +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" + if use emacs; then + elisp-compile ${S}/emacs/cmuscheme48.el + fi +} + +src_install() { + make prefix=${D}/usr \ + mandir=${D}/usr/share/man/man1 \ + install || die "make failed" + if use emacs; then + elisp-install ${PN} emacs/cmuscheme48.el emacs/*.elc + elisp-site-file-install ${FILESDIR}/${SITEFILE} + fi + dodoc README INSTALL + if use doc; then + dodoc doc/manual.ps doc/manual.pdf doc/*.txt + dohtml -r doc/html/* + docinto src + dodoc doc/src/* + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |