# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-util/bitkeeper/bitkeeper-3.0.4.ebuild,v 1.4 2004/02/22 22:31:56 agriffis Exp $ DESCRIPTION="The best configuration management system." HOMEPAGE="http://www.bitkeeper.com/" SRC_URI="amd64? (bk-${PV}-x86-glibc22-linux.bin ) x86? ( bk-${PV}-x86-glibc23-linux.bin ) ppc? ( bk-${PV}-powerpc-glibc21-linux.bin ) sparc? ( bk-${PV}-sparc-glibc21-linux.bin ) alpha? ( bk-${PV}-alpha-glibc22-linux.bin ) arm? ( bk-${PV}-arm-glibc21-linux.bin ) hppa? ( bk-${PV}-hppa-glibc22-linux.bin ) ia64? ( bk-${PV}-ia64-glibc22-linux.bin )" LICENSE="BKL" SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa -mips ia64 amd64" IUSE="X" RESTRICT="fetch" DEPEND="" RDEPEND="virtual/glibc >=dev-lang/tcl-8.3.4 X? ( >=dev-lang/tk-8.3.4 )" S=${WORKDIR}/bitkeeper pkg_nofetch() { eerror "You need to perform the following steps to install this package:" eerror " - Sign up at ${HOMEPAGE}" eerror " - Check your email and visit the download location" eerror " - Download ${A} and place it in ${DISTDIR}" eerror " - emerge this package again" eerror "Run 'bk regression' to verify the installation. (Recommended)" } pkg_setup() { cd ${T} cp ${DISTDIR}/${A} . chmod 755 ${A} } src_unpack() { #Do nothing echo '' } src_install() { dodir /opt /usr/share/man/man1 /usr/bin echo P:${P} echo PV:${PV} TARGET=${D}/opt/bitkeeper rm -rf ${D}/opt/bitkeeper echo ${T}/${A} ${TARGET} export BK_NOLINKS="" ${T}/${A} ${TARGET} prepman /opt/bitkeeper find opt/bitkeeper/man -iname 'bk-*' -printf ' F=`echo %f|sed -e "s/bk-//"` rm -f %h/$F dohard /%h/%f /%h/$F dosym /%h/%f /usr/share/man/%P' >${T}/links.sh . ${T}/links.sh dosym /opt/bitkeeper/man/man1/bk.1.gz /usr/share/man/man1/bk.1.gz # mimic "bk links /opt/bitkeeper /usr/bin" dosym /opt/bitkeeper/admin /usr/bin/admin dosym /opt/bitkeeper/bk /usr/bin/bk dosym /opt/bitkeeper/delta /usr/bin/delta dosym /opt/bitkeeper/get /usr/bin/get dosym /opt/bitkeeper/prs /usr/bin/prs dosym /opt/bitkeeper/rmdel /usr/bin/rmdel dosym /opt/bitkeeper/unget /usr/bin/unget }
Created attachment 34178 [details] bitkeeper v3.2.1 ebuild
3.2.2 is in cvs thx