diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-08-09 18:18:29 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-08-09 18:18:29 +0000 |
commit | b0ce9750c3a96dc0a59f42e6b4b6985f18be44a0 (patch) | |
tree | 3d48f7df2a9e0ca35a795d82927d07cd9d645743 /app-shells/scsh | |
parent | app-shells/scsh:scsh (diff) | |
download | gentoo-2-b0ce9750c3a96dc0a59f42e6b4b6985f18be44a0.tar.gz gentoo-2-b0ce9750c3a96dc0a59f42e6b4b6985f18be44a0.tar.bz2 gentoo-2-b0ce9750c3a96dc0a59f42e6b4b6985f18be44a0.zip |
.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-shells/scsh')
-rw-r--r-- | app-shells/scsh/ChangeLog | 8 | ||||
-rw-r--r-- | app-shells/scsh/Manifest | 5 | ||||
-rw-r--r-- | app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch | 93 | ||||
-rw-r--r-- | app-shells/scsh/files/digest-scsh-0.6.6 | 1 | ||||
-rw-r--r-- | app-shells/scsh/scsh-0.6.6.ebuild | 44 |
5 files changed, 149 insertions, 2 deletions
diff --git a/app-shells/scsh/ChangeLog b/app-shells/scsh/ChangeLog index deaa5d2d76b1..770113ed0c65 100644 --- a/app-shells/scsh/ChangeLog +++ b/app-shells/scsh/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-shells/scsh # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/scsh/ChangeLog,v 1.12 2005/01/01 16:00:16 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/scsh/ChangeLog,v 1.13 2005/08/09 18:18:29 mkennedy Exp $ + +*scsh-0.6.6 (09 Aug 2005) + + 09 Aug 2005; Matthew Kennedy <mkennedy@gentoo.org> + +files/0.6.6-Makefile.in-doc-dir-gentoo.patch, +scsh-0.6.6.ebuild: + New upstream; First SCSH port to use the SCSH eclass; Resolves Bug #58564. *scsh-0.6.5 (26 Feb 2004) diff --git a/app-shells/scsh/Manifest b/app-shells/scsh/Manifest index 9cb91f70b552..cb383f26ea1b 100644 --- a/app-shells/scsh/Manifest +++ b/app-shells/scsh/Manifest @@ -1,10 +1,13 @@ -MD5 4065ce35cafdd4f97c3de8c625b680dc ChangeLog 1789 +MD5 76f7d30625a6f7c8799ff63931baa568 ChangeLog 2016 MD5 8c153b306d4485bac0a7bc7f26dea78f metadata.xml 955 MD5 39e38bf8f13788c6ae47edf076e3a8f4 scsh-0.6.1-r1.ebuild 1223 MD5 6a2adcb8fc0b070b52ecdb5e6043604f scsh-0.6.3.ebuild 983 MD5 d957df74bf36a5271b6dcc9325dde400 scsh-0.6.4.ebuild 982 MD5 6b9325ec0016b2c8fd4d420356072b0f scsh-0.6.5.ebuild 831 +MD5 4ec752f79bc47138c7081a50a0500788 scsh-0.6.6.ebuild 975 MD5 13ee0eae9052df37dccd3543b4f6afb5 files/digest-scsh-0.6.1-r1 63 MD5 3e98983c5c98b782b38dd6a79c0b223d files/digest-scsh-0.6.3 63 MD5 a372b30637890116cf31b7ad64a68129 files/digest-scsh-0.6.4 63 MD5 07af78c1074e544bc9b894bbb10436be files/digest-scsh-0.6.5 63 +MD5 2823df171f50e7e83413f750852c68ff files/digest-scsh-0.6.6 63 +MD5 25a51584ef070208fc80b2b78c9e4bbe files/0.6.6-Makefile.in-doc-dir-gentoo.patch 4096 diff --git a/app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch b/app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch new file mode 100644 index 000000000000..28f0f17c0140 --- /dev/null +++ b/app-shells/scsh/files/0.6.6-Makefile.in-doc-dir-gentoo.patch @@ -0,0 +1,93 @@ +--- Makefile.in.orig 2004-09-24 01:43:55.743685848 +0200 ++++ Makefile.in 2004-09-24 01:43:55.745685544 +0200 +@@ -33,7 +33,7 @@ + host = @host@ + ### End of `configure' section### + +-htmldir = $(libdir)/scsh/doc/scsh-manual/html ++htmldir = /usr/share/doc/scsh-0.6.6/scsh-manual/html + + # HP 9000 series, if you don't have gcc + # CC = cc +@@ -358,38 +358,38 @@ + done + + inst-doc: +- for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ +- $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; \ ++ for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \ ++ $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/; \ + done && \ + for f in $(srcdir)/doc/src/*.tex \ + $(srcdir)/doc/src/*.dvi \ + $(srcdir)/doc/src/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/s48-manual/;\ + done && \ + for f in $(srcdir)/doc/src/manual/*.html; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/s48-manual/html/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/*.tex \ + $(srcdir)/doc/scsh-manual/*.sty \ + $(srcdir)/doc/scsh-manual/*.dvi \ + $(srcdir)/doc/scsh-manual/*.ps \ + $(srcdir)/doc/scsh-manual/*.pdf; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/scsh-manual/;\ + done && \ + for f in $(srcdir)/doc/scsh-manual/html/*.html \ + $(srcdir)/doc/scsh-manual/html/*.gif \ + $(srcdir)/doc/scsh-manual/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/*.tex \ + $(srcdir)/doc/scsh-paper/*.sty \ + $(srcdir)/doc/scsh-paper/*.dvi \ + $(srcdir)/doc/scsh-paper/*.ps; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/scsh-paper/; \ + done && \ + for f in $(srcdir)/doc/scsh-paper/html/*.html \ + $(srcdir)/doc/scsh-paper/html/*.css; \ +- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html; \ ++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.6/scsh-paper/html/;\ + done + + +@@ -412,19 +412,21 @@ + chmod +x $@ + + dirs: +- for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\ +- { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || { \ +- echo "$(DESTDIR)$$dir not a writable directory" >&2; \ +- exit 1; \ +- } \ +- done && \ +- for dir in \ +- rts env big opt misc link srfi scsh doc/scsh-manual \ +- doc/s48-manual/html doc/scsh-paper/html cig; do \ +- { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || { \ +- echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; \ +- exit 1; \ +- }; \ ++ for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); \ ++ do \ ++ { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } \ ++ || { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; }; \ ++ done && \ ++ for dir in rts env big opt misc link srfi scsh; \ ++ do \ ++ { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];} \ ++ || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\ ++ done && \ ++ for dir in \ ++ scsh-manual/html s48-manual/html scsh-paper/html cig; do \ ++ { mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.6/$$dir; } \ ++ || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.6/$$dir failed" >&2;\ ++ exit 1;}; \ + done + + configure: configure.in diff --git a/app-shells/scsh/files/digest-scsh-0.6.6 b/app-shells/scsh/files/digest-scsh-0.6.6 new file mode 100644 index 000000000000..95830e7d70e0 --- /dev/null +++ b/app-shells/scsh/files/digest-scsh-0.6.6 @@ -0,0 +1 @@ +MD5 fa0a62f8ec7b0629c297144c59027ba4 scsh-0.6.6.tar.gz 4332223 diff --git a/app-shells/scsh/scsh-0.6.6.ebuild b/app-shells/scsh/scsh-0.6.6.ebuild new file mode 100644 index 000000000000..8519e4b78cbc --- /dev/null +++ b/app-shells/scsh/scsh-0.6.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/scsh/scsh-0.6.6.ebuild,v 1.1 2005/08/09 18:18:29 mkennedy Exp $ + +inherit eutils scsh + +MV="${PV%*.*}" + +DESCRIPTION="Unix shell embedded in Scheme" +HOMEPAGE="http://www.scsh.net/" +SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MV}/${P}.tar.gz" +LICENSE="as-is BSD" +SLOT="0" +KEYWORDS="x86 ~amd64" + +DEPEND="" + +src_unpack() { + # SCSH_LIB_DIRS='$SCSH_SCSH_PATH' + set_layout + set_path_variables + unpack ${A} + cd ${S} + if ! use scsh; then + epatch ${FILESDIR}/0.6.6-Makefile.in-doc-dir-gentoo.patch || die + fi +} + +src_compile() { + scsh_conf="--prefix=/usr + --libdir=/usr/$(get_libdir) + --includedir=/usr/include + --with-lib-dirs-list=${SCSH_SCSH_PATH} " + econf ${scsh_conf} || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodir /etc/env.d + cat >${D}/etc/env.d/50scsh <<EOF +SCSH_LIB_DIRS='${SCSH_LIB_DIRS}' +EOF +} |