diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-10-17 04:09:47 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-10-17 04:09:47 +0000 |
commit | 2b3bf78ba830196c44405a411ffe91874bd40bf3 (patch) | |
tree | cfef30d01c363bf0245dadd8fa1d5fd71e84cb19 /dev-scheme | |
parent | repoman: Trim trailing whitespace (diff) | |
download | gentoo-2-2b3bf78ba830196c44405a411ffe91874bd40bf3.tar.gz gentoo-2-2b3bf78ba830196c44405a411ffe91874bd40bf3.tar.bz2 gentoo-2-2b3bf78ba830196c44405a411ffe91874bd40bf3.zip |
Initial port. Ebuild contributed by Mihai Radu <tiganu@gmail.com>, David Wang <tiganu@gmail.com>, Pupeno <pupeno@pupeno.com> and Matthew Kennedy <mkennedy@gentoo.org>; Resolves Bug #67906.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/gambit/ChangeLog | 12 | ||||
-rw-r--r-- | dev-scheme/gambit/Manifest | 3 | ||||
-rw-r--r-- | dev-scheme/gambit/files/50gambit-gentoo.el | 9 | ||||
-rw-r--r-- | dev-scheme/gambit/files/digest-gambit-4.0_beta15 | 1 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-4.0_beta15.ebuild | 52 | ||||
-rw-r--r-- | dev-scheme/gambit/metadata.xml | 5 |
6 files changed, 82 insertions, 0 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog new file mode 100644 index 000000000000..78720f31f4f4 --- /dev/null +++ b/dev-scheme/gambit/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-scheme/gambit +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.1 2005/10/17 04:09:47 mkennedy Exp $ + +*gambit-4.0_beta15 (17 Oct 2005) + + 17 Oct 2005; Matthew Kennedy <mkennedy@gentoo.org> + +files/50gambit-gentoo.el, +metadata.xml, +gambit-4.0_beta15.ebuild: + Initial port. Ebuild contributed by Mihai Radu <tiganu@gmail.com>, David + Wang <tiganu@gmail.com>, Pupeno <pupeno@pupeno.com> and Matthew Kennedy + <mkennedy@gentoo.org>; Resolves Bug #67906. + diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest new file mode 100644 index 000000000000..09c15f78f829 --- /dev/null +++ b/dev-scheme/gambit/Manifest @@ -0,0 +1,3 @@ +MD5 6a376196d952de4de14a94456c744692 files/50gambit-gentoo.el 351 +MD5 fe701231e9bd4a56c61ee9ca2d8d28ba files/digest-gambit-4.0_beta15 63 +MD5 839a9ec58566413be29b8372abe87d7d gambit-4.0_beta15.ebuild 1310 diff --git a/dev-scheme/gambit/files/50gambit-gentoo.el b/dev-scheme/gambit/files/50gambit-gentoo.el new file mode 100644 index 000000000000..131682207e78 --- /dev/null +++ b/dev-scheme/gambit/files/50gambit-gentoo.el @@ -0,0 +1,9 @@ + +;; site-lisp configuration for gambit + +(autoload 'gambit-inferior-mode "gambit" "Hook Gambit mode into cmuscheme.") +(autoload 'gambit-mode "gambit" "Hook Gambit mode into scheme.") + +;; (add-hook 'inferior-scheme-mode-hook (function gambit-inferior-mode)) +;; (add-hook 'scheme-mode-hook (function gambit-mode)) +;; (setq scheme-program-name "gsi -:t") diff --git a/dev-scheme/gambit/files/digest-gambit-4.0_beta15 b/dev-scheme/gambit/files/digest-gambit-4.0_beta15 new file mode 100644 index 000000000000..b2d8b91277c4 --- /dev/null +++ b/dev-scheme/gambit/files/digest-gambit-4.0_beta15 @@ -0,0 +1 @@ +MD5 827a8a0c7ef586c9904c349642f1ed68 gambc40b15.tar.gz 8147034 diff --git a/dev-scheme/gambit/gambit-4.0_beta15.ebuild b/dev-scheme/gambit/gambit-4.0_beta15.ebuild new file mode 100644 index 000000000000..6a06ddd5184e --- /dev/null +++ b/dev-scheme/gambit/gambit-4.0_beta15.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0_beta15.ebuild,v 1.1 2005/10/17 04:09:47 mkennedy Exp $ + +inherit eutils elisp-common + +MY_PN=gambc + +MY_PV=${PV//_beta/b} +MY_PV=${MY_PV/./} + +DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter." +HOMEPAGE="http://www.iro.umontreal.ca/~gambit/" +SRC_URI="http://www.iro.umontreal.ca/~feeley/${MY_PN}${MY_PV}.tar.gz" + +LICENSE="Apache-2.0 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="emacs" + +DEPEND="emacs? ( virtual/emacs )" + +SITEFILE="50gambit-gentoo.el" + +S=${WORKDIR}/${MY_PN}${MY_PV} + +src_compile() { + econf --enable-shared --enable-single-host || die + emake || die "emake failed" + if use emacs; then + ( cd misc; elisp-comp *.el ) + fi +} + +src_install() { + einstall docdir=${D}/usr/share/doc/${P} || die + rm -rf ${D}/usr/share/emacs + if use emacs; then + elisp-install ${PN} misc/*.{el,elc} + elisp-site-file-install ${FILESDIR}/${SITEFILE} + fi + + mv ${D}/usr/syntax-case.scm ${D}/usr/share/doc/${P}/ + # rename the /usr/bin/gsc to avoid collision with gsc from ghostscript + mv ${D}/usr/bin/gsc ${D}/usr/bin/gsc-gambit + dodoc INSTALL.txt LICENSE-2.0.txt README + insinto /usr/share/doc/${PF} + doins -r examples + find ${D}/usr/share/doc/${PF}/examples -type f \ + \( -name makefile -o -name makefile.in \) \ + -exec rm -f '{}' \; +} diff --git a/dev-scheme/gambit/metadata.xml b/dev-scheme/gambit/metadata.xml new file mode 100644 index 000000000000..6dc936ce2d1c --- /dev/null +++ b/dev-scheme/gambit/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>scheme</herd> +</pkgmetadata> |