diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2009-04-06 12:13:42 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2009-04-06 12:13:42 +0000 |
commit | 62d3e885a0ea07581e3386717d8e6e6a857b86d6 (patch) | |
tree | cb377f317f6d39340992ed4c6f88349e3e2296d8 /dev-scheme/chicken | |
parent | Preparation for new eclass. Unprefixing misc apps. (diff) | |
download | gentoo-2-62d3e885a0ea07581e3386717d8e6e6a857b86d6.tar.gz gentoo-2-62d3e885a0ea07581e3386717d8e6e6a857b86d6.tar.bz2 gentoo-2-62d3e885a0ea07581e3386717d8e6e6a857b86d6.zip |
Major version bump: default macro system is now hygienic
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme/chicken')
-rw-r--r-- | dev-scheme/chicken/ChangeLog | 9 | ||||
-rw-r--r-- | dev-scheme/chicken/chicken-4.0.0.ebuild | 62 |
2 files changed, 69 insertions, 2 deletions
diff --git a/dev-scheme/chicken/ChangeLog b/dev-scheme/chicken/ChangeLog index f50076498bbb..1a4eb79a123a 100644 --- a/dev-scheme/chicken/ChangeLog +++ b/dev-scheme/chicken/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-scheme/chicken -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.29 2008/07/12 19:02:06 hkbst Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/ChangeLog,v 1.30 2009/04/06 12:13:42 hkbst Exp $ + +*chicken-4.0.0 (06 Apr 2009) + + 06 Apr 2009; Marijn Schouten <hkBst@gentoo.org> +chicken-4.0.0.ebuild: + Major version bump: default macro system is now hygienic *chicken-3.3.0 (12 Jul 2008) diff --git a/dev-scheme/chicken/chicken-4.0.0.ebuild b/dev-scheme/chicken/chicken-4.0.0.ebuild new file mode 100644 index 000000000000..26ada9439e54 --- /dev/null +++ b/dev-scheme/chicken/chicken-4.0.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/chicken/chicken-4.0.0.ebuild,v 1.1 2009/04/06 12:13:42 hkbst Exp $ + +inherit multilib elisp-common + +DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler" +SRC_URI="http://www.call-with-current-continuation.org/${P}.tar.gz" +HOMEPAGE="http://www.call-with-current-continuation.org/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +IUSE="emacs" + +DEPEND="sys-apps/texinfo + emacs? ( virtual/emacs )" +RDEPEND="emacs? ( virtual/emacs )" + +SITEFILE=50hen-gentoo.el + +src_unpack() { + unpack ${A}; cd "${S}" +# cp defaults.make defaults.make.old + sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make + sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make +# diff -u defaults.make.old defaults.make +} + +src_compile() { + OPTIONS="PLATFORM=linux PREFIX=/usr" + echo $OPTIONS + emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" || die + + if use emacs; then + elisp-compile hen.el || die + fi +} + +# chicken's testsuite is not runnable before install +# upstream has been notified of the issue +RESTRICT=test + +src_install() { + emake ${OPTIONS} DESTDIR="${D}" install || die + + rm "${D}"/usr/share/doc/${P}/LICENSE + dodoc NEWS + + if use emacs; then + elisp-install ${PN} hen.{el,elc} || die + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |