# ChangeLog for dev-util/aegis
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-util/aegis/ChangeLog,v 1.2 2002/05/15 09:27:50 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/aegis/ChangeLog,v 1.3 2002/10/19 00:56:51 karltk Exp $
-*aegis-4.4 (15 May 2002)
+*aegis-4.7 (19 Oct 2002)
+
+ 19 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> aegis-4.7.ebuild files/digest-aegis-4.7 :
+ New upstream version. Fixes #5807. Doesn't add new env scripts yet :(
- 15 May 2002; Seemant Kulleen <seemant@gentoo.org> aegis-4.4.ebuild
- files/digest-aegis-4.4 :
+*aegis-4.4 (15 May 2002)
+ 15 May 2002; Seemant Kulleen <seemant@gentoo.org> aegis-4.4.ebuild files/digest-aegis-4.4 :
Update submitted by peter@biolateral.com.au (Peter Maxwell) in bug report
- # 2689
+ #2689.
*aegis-4.2 (13 Apr 2002)
13 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> aegis-4.2.ebuild files/digest-aegis-4.2 :
-
Aegis is a transaction-based software configuration management system. It
provides a framework within which a team of developers may work on many
changes to a program independently, and Aegis coordinates integrating these
--- /dev/null
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/aegis/aegis-4.7.ebuild,v 1.1 2002/10/19 00:56:51 karltk Exp $
+
+IUSE="tcltk"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A transaction based revision control system"
+SRC_URI="http://aegis.sourceforge.net/${P}.tar.gz"
+HOMEPAGE="http://aegis.sourceforge.net"
+
+DEPEND="sys-libs/zlib
+ sys-devel/gettext
+ sys-apps/groff
+ sys-devel/bison
+ tcltk? ( >=dev-lang/tk-8.3 )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 sparc sparc64"
+
+src_compile() {
+ # By default aegis configure puts shareable read/write files (locks etc)
+ # in ${prefix}/com/aegis but the FHS says /var/lib/aegis can be shared.
+
+ myconf="${myconf} --with-nlsdir=/usr/share/locale"
+
+ econf \
+ --sharedstatedir=/var/lib/aegis \
+ ${myconf} || die "./configure failed"
+
+ # Second ebuild causes redefined/undefined function errors
+ make clean
+
+ # not emake safe, I think
+ make || die
+}
+
+src_install () {
+ make RPM_BUILD_ROOT=${D} install || die
+
+ # Alas gentoo appears to have no profile.d mechanism, so:
+ rm ${D}/etc/profile.d/aegis.sh
+ rm ${D}/etc/profile.d/aegis.csh
+ rmdir ${D}/etc/profile.d
+ rmdir ${D}/etc
+
+ # OK so ${D}/var/lib/aegis gets UID=3, but for some
+ # reason so do the files under /usr/share, even though
+ # they are read-only.
+ chown -R root.root ${D}/usr/share
+
+ # Remove duplicate documention etc.
+ rm -r ${D}/usr/share/aegis/en
+ rm -r ${D}/usr/share/aegis/de
+ rm -r ${D}/usr/share/aegis/man1
+
+ # Leaving out the .dvi versions and junk.
+ dodoc lib/en/*.txt
+ dodoc lib/en/*.ps
+
+ # Link to share dir so user has a chance of noticing it.
+ dosym /usr/share/aegis /usr/share/doc/${PF}/scripts
+
+ # Config file examples are documentation.
+ mv ${D}/usr/share/aegis/config.example ${D}/usr/share/doc/${PF}/
+
+ dodoc LICENSE BUILDING MANIFEST README
+}