summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-02-26 21:55:57 +0000
committerMamoru Komachi <usata@gentoo.org>2004-02-26 21:55:57 +0000
commit7048c017c2774b0c0efb865923278665ac44e196 (patch)
tree885fbe0eaec003517bc654d8ab229df6fafba8e7 /app-shells
parentNew abstraction library and utilities for interacting with configuration file... (diff)
downloadgentoo-2-7048c017c2774b0c0efb865923278665ac44e196.tar.gz
gentoo-2-7048c017c2774b0c0efb865923278665ac44e196.tar.bz2
gentoo-2-7048c017c2774b0c0efb865923278665ac44e196.zip
Added preleases.
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/zsh/ChangeLog7
-rw-r--r--app-shells/zsh/Manifest2
-rw-r--r--app-shells/zsh/files/digest-zsh-4.2.0_pre13
-rw-r--r--app-shells/zsh/zsh-4.2.0_pre1.ebuild123
4 files changed, 134 insertions, 1 deletions
diff --git a/app-shells/zsh/ChangeLog b/app-shells/zsh/ChangeLog
index 6a9f2586d4b2..322c110ce365 100644
--- a/app-shells/zsh/ChangeLog
+++ b/app-shells/zsh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-shells/zsh
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.38 2004/02/04 15:32:45 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.39 2004/02/26 21:55:57 usata Exp $
+
+*zsh-4.2.0_pre1 (27 Feb 2004)
+
+ 27 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> zsh-4.2.0_pre1.ebuild:
+ Added prerelease.
*zsh-4.1.1-r5 (05 Feb 2004)
diff --git a/app-shells/zsh/Manifest b/app-shells/zsh/Manifest
index 7e7dba614a64..84d63506d15f 100644
--- a/app-shells/zsh/Manifest
+++ b/app-shells/zsh/Manifest
@@ -2,6 +2,7 @@ MD5 251e4c8aa7e0a8a19681c4d73a0b6f47 zsh-4.0.9-r3.ebuild 2669
MD5 d6c683c148853196ec43cabba95b667f zsh-4.1.1-r5.ebuild 3374
MD5 7a5a758ef6d0de777f5f7a3a2dba8f3b ChangeLog 7425
MD5 28ed8ea6cdccb353e2e8ad783eb51f5b metadata.xml 506
+MD5 a02ff9cc94e11f5d9fa66931aea0991b zsh-4.2.0_pre1.ebuild 3387
MD5 0c1d77e92495ecb2290575dfa560bcd1 zsh-4.0.9-r2.ebuild 2628
MD5 219f19ba1e213dd846d6e778dbb10238 zsh-4.1.1-r4.ebuild 3324
MD5 2aa47fce01c92a0cc7e070f04018ac93 files/_portage 7539
@@ -12,5 +13,6 @@ MD5 f83ccd2b6f1cd3e75c910c48159892f5 files/zsh-4.1.1-gentoo.diff 488
MD5 64023b41a9987655e0e014d32562cfad files/zprofile 404
MD5 de0db046f0f40cb1cc3cd3f6e6b2645a files/zshenv 318
MD5 81e325aacd554d2c5f6d14efe45d1ffd files/zsh-strncmp.diff 354
+MD5 da168d6d058cf09e9d2c27a00fa301aa files/digest-zsh-4.2.0_pre1 211
MD5 de58f149f41740c394800ba8d2cdf361 files/digest-zsh-4.0.9-r2 199
MD5 1a527b6a4700642b4742d9cc8de90285 files/digest-zsh-4.1.1-r4 199
diff --git a/app-shells/zsh/files/digest-zsh-4.2.0_pre1 b/app-shells/zsh/files/digest-zsh-4.2.0_pre1
new file mode 100644
index 000000000000..d4263697abe5
--- /dev/null
+++ b/app-shells/zsh/files/digest-zsh-4.2.0_pre1
@@ -0,0 +1,3 @@
+MD5 d2f0695b9b31d33a1b6c82fec6538803 zsh-4.2.0-pre-1.tar.bz2 1980873
+MD5 a4fb455591ee95e5264bf985af3473ea zsh-4.1.1-euc-0.2.patch.gz 2788
+MD5 9186723a12a108eed7ecbe505ab71f53 zsh-4.2.0-pre-1-doc.tar.bz2 1610682
diff --git a/app-shells/zsh/zsh-4.2.0_pre1.ebuild b/app-shells/zsh/zsh-4.2.0_pre1.ebuild
new file mode 100644
index 000000000000..040f500f0542
--- /dev/null
+++ b/app-shells/zsh/zsh-4.2.0_pre1.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.2.0_pre1.ebuild,v 1.1 2004/02/26 21:55:57 usata Exp $
+
+IUSE="maildir ncurses static doc"
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="http://www.zsh.org/"
+
+MYDATE="20040204"
+MY_P="${P/_pre/-pre-}"
+
+SRC_URI="ftp://ftp.zsh.org/pub/${MY_P}.tar.bz2
+ doc? ( ftp://ftp.zsh.org/pub/${MY_P}-doc.tar.bz2 )"
+
+SLOT="0"
+LICENSE="ZSH"
+KEYWORDS="~x86 ~alpha ~ppc ~sparc ~amd64 ~hppa"
+
+DEPEND="sys-apps/groff
+ >=sys-apps/sed-4
+ ${RDEPEND}"
+RDEPEND=">=dev-libs/libpcre-3.9
+ sys-libs/libcap
+ ncurses? ( >=sys-libs/ncurses-5.1 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${MY_P}.tar.bz2
+ use doc && unpack ${MY_P}-doc.tar.bz2
+ cd ${S}/Doc
+ ln -sf . man1
+ # fix zshall problem with soelim
+ soelim zshall.1 > zshall.1.soelim
+ mv zshall.1.soelim zshall.1
+}
+
+src_compile() {
+ local myconf
+
+ use ncurses && myconf="--with-curses-terminfo"
+ use maildir && myconf="${myconf} --enable-maildir-support"
+ use static && myconf="${myconf} --disable-dynamic" \
+ && LDFLAGS="${LDFLAGS} -static"
+
+ econf \
+ --bindir=/bin \
+ --libdir=/usr/lib \
+ --enable-etcdir=/etc/zsh \
+ --enable-zshenv=/etc/zsh/zshenv \
+ --enable-zlogin=/etc/zsh/zlogin \
+ --enable-zlogout=/etc/zsh/zlogout \
+ --enable-zprofile=/etc/zsh/zprofile \
+ --enable-zshrc=/etc/zsh/zshrc \
+ --enable-fndir=/usr/share/zsh/${PV}/functions \
+ --enable-site-fndir=/usr/share/zsh/site-functions \
+ --enable-function-subdirs \
+ --enable-ldflags="${LDFLAGS}" \
+ ${myconf} || die "configure failed"
+
+ if [ -n "`use static`" ] ; then
+ # compile all modules statically, see Bug #27392
+ sed -i -e "s/link=no/link=static/g" \
+ -e "s/load=no/load=yes/g" \
+ config.modules || die
+ else
+ # avoid linking to libs in /usr/lib, see Bug #27064
+ sed -i -e "/LIBS/s%-lpcre%/usr/lib/libpcre.a%" \
+ Makefile || die
+ fi
+
+ # emake still b0rks
+ emake -j1 || die "make failed"
+ #make check || die "make check failed"
+}
+
+src_install() {
+ einstall \
+ bindir=${D}/bin \
+ libdir=${D}/usr/lib \
+ fndir=${D}/usr/share/zsh/${PV}/functions \
+ sitefndir=${D}/usr/share/zsh/site-functions \
+ install.bin install.man install.modules \
+ install.info install.fns || die "make install failed"
+
+ insinto /etc/zsh
+ doins ${FILESDIR}/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/site-functions
+ newins ${FILESDIR}/_portage-${MYDATE} _portage
+
+ dodoc ChangeLog* META-FAQ README INSTALL LICENCE config.modules
+
+ if [ "`use doc`" ] ; then
+ dohtml Doc/*
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh{.dvi,_us.ps,_a4.ps}
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_preinst() {
+ # Our zprofile file does the job of the old zshenv file
+ # Move the old version into a zprofile script so the normal
+ # etc-update process will handle any changes.
+ if [ -f /etc/zsh/zshenv -a ! -f /etc/zsh/zprofile ]; then
+ mv /etc/zsh/zshenv /etc/zsh/zprofile
+ fi
+}
+
+pkg_postinst() {
+
+ # see Bug 26776
+ ewarn
+ ewarn "If you are upgrading from zsh-4.0.x you may need to"
+ ewarn "remove all your old ~/.zcompdump files in order to use"
+ ewarn "completion. For more info see zcompsys manpage."
+ ewarn
+}