Lines 4-19
Link Here
|
4 |
|
4 |
|
5 |
DESCRIPTION="A scalable configuration management system." |
5 |
DESCRIPTION="A scalable configuration management system." |
6 |
HOMEPAGE="http://www.bitkeeper.com/" |
6 |
HOMEPAGE="http://www.bitkeeper.com/" |
7 |
SRC_URI="x86? ( bk-3.0.1-x86-glibc22-linux.bin ) |
7 |
SRC_URI="x86? ( bk-${PV}-x86-glibc22-linux.bin ) |
8 |
ppc? ( bk-3.0.1-powerpc-glibc21-linux.bin ) |
8 |
ppc? ( bk-${PV}-powerpc-glibc21-linux.bin ) |
9 |
sparc? ( bk-3.0.1-sparc-glibc21-linux.bin ) |
9 |
sparc? ( bk-${PV}-sparc-glibc21-linux.bin ) |
10 |
alpha? ( bk-3.0.1-alpha-glibc21-linux.bin ) |
10 |
alpha? ( bk-${PV}-alpha-glibc21-linux.bin ) |
11 |
arm? ( bk-3.0.1-arm-glibc21-linux.bin ) |
11 |
arm? ( bk-${PV}-arm-glibc21-linux.bin ) |
12 |
hppa? ( bk-3.0.1-hppa-glibc22-linux.bin )" |
12 |
hppa? ( bk-${PV}-hppa-glibc22-linux.bin )" |
13 |
|
13 |
|
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
LICENSE="BKL" |
15 |
LICENSE="BKL" |
16 |
KEYWORDS="x86 ~ppc ~sparc ~alpha ~arm ~hppa" |
16 |
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa" |
17 |
IUSE="X" |
17 |
IUSE="X" |
18 |
|
18 |
|
19 |
# binary package, so no DEPENDs; X optional in RDEPENDs |
19 |
# binary package, so no DEPENDs; X optional in RDEPENDs |
Lines 57-63
Link Here
|
57 |
} |
57 |
} |
58 |
|
58 |
|
59 |
src_install() { |
59 |
src_install() { |
60 |
dodir /opt /etc/env.d /usr/share/man/man1 |
60 |
dodir /opt /usr/share/man/man1 /usr/bin |
61 |
|
61 |
|
62 |
mv ${S} ${D}/opt/${P} && cd ${D} |
62 |
mv ${S} ${D}/opt/${P} && cd ${D} |
63 |
|
63 |
|
Lines 81-93
Link Here
|
81 |
|
81 |
|
82 |
dosym /opt/${P}/man/man1/bk.1.gz /usr/share/man/man1/bk.1.gz |
82 |
dosym /opt/${P}/man/man1/bk.1.gz /usr/share/man/man1/bk.1.gz |
83 |
|
83 |
|
84 |
cat <<-EOF >${D}/etc/env.d/10bitkeeper |
84 |
# mimic "bk links /opt/${P} /usr/bin" |
85 |
# Generated by ${PF} ebuild |
85 |
dosym /opt/${P}/admin /usr/bin/admin |
86 |
PATH=/opt/${P} |
86 |
dosym /opt/${P}/bk /usr/bin/bk |
87 |
ROOTPATH=/opt/${P} |
87 |
dosym /opt/${P}/delta /usr/bin/delta |
88 |
EOF |
88 |
dosym /opt/${P}/get /usr/bin/get |
|
|
89 |
dosym /opt/${P}/prs /usr/bin/prs |
90 |
dosym /opt/${P}/rmdel /usr/bin/rmdel |
91 |
dosym /opt/${P}/unget /usr/bin/unget |
89 |
} |
92 |
} |
90 |
|
93 |
|
91 |
pkg_postinst() { |
94 |
pkg_postinst() { |
|
|
95 |
if grep -H bitkeeper /etc/man.conf; then |
96 |
eerror "Previous BitKeeper ebuilds induced a misconfiguration when sys-apps/man was" |
97 |
eerror "next upgraded. You appear to have fallen victim--edit /etc/man.conf and look" |
98 |
eerror "for the definition of CMP. It should refer to /usr/bin/cmp, not the" |
99 |
eerror "BitKeeper cmp." |
100 |
eerror "For more information, see bugs #18247 and #21638." |
101 |
fi |
92 |
einfo "Run 'bk regression' to verify the installation. (Recommended)" |
102 |
einfo "Run 'bk regression' to verify the installation. (Recommended)" |
93 |
} |
103 |
} |