blob: 7bc6a3f1f9df6c8933c1727a4c7de2cc19f300d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/bootstrap_cmds/bootstrap_cmds-44.ebuild,v 1.8 2005/03/04 05:16:16 kito Exp $
DESCRIPTION="Darwin bootstrap_cmds - config, decomment, mig, relpath"
HOMEPAGE="http://darwinsource.opendarwin.org/10.3.5/"
SRC_URI="http://darwinsource.opendarwin.org/tarballs/apsl/${P}.tar.gz"
LICENSE="APSL-2"
SLOT="0"
KEYWORDS="ppc-macos"
IUSE="build"
DEPEND="virtual/libc"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's:^NEXTSTEP_BUILD_OUTPUT_DIR = .*:NEXTSTEP_BUILD_OUTPUT_DIR = ${T}:' Makefile
cd ${S}/config.tproj
sed -i -e '/raise/d' config.h
cd ${S}/decomment.tproj
sed -i \
-e 's:^NEXTSTEP_INSTALLDIR = .*:NEXTSTEP_INSTALLDIR = /usr/bin:' \
-e 's:^NEXTSTEP_BUILD_OUTPUT_DIR = .*:NEXTSTEP_BUILD_OUTPUT_DIR = ${T}:' Makefile
cd ${S}/relpath.tproj
sed -i \
-e 's:^NEXTSTEP_INSTALLDIR = .*:NEXTSTEP_INSTALLDIR = /usr/bin:' \
-e 's:^NEXTSTEP_BUILD_OUTPUT_DIR = .*:NEXTSTEP_BUILD_OUTPUT_DIR = ${T}:' Makefile
rm ${S}/Makefile.postamble ${S}/config.tproj/Makefile.postamble \
${S}/decomment.tproj/Makefile.postamble ${S}/relpath.tproj/Makefile.postamble
}
src_compile() {
:
}
src_install() {
make install DSTROOT=${D} || die "make install failed"
newbin vers_string.sh vers_string
use build || doman *.1
}
|