# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: DESCRIPTION="Darwin bootstrap_cmds required for building xnu" WEBPAGE="http://darwinsource.opendarwin.org/10.3.4/" SRC_URI="http://darwinsource.opendarwin.org/tarballs/apsl/${P}.tar.gz" LICENSE="APSL-2" SLOT="0" KEYWORDS="~macos" IUSE="" DEPEND="" src_compile() { emake RC_OS=macos || die "make failed :(" } src_install() { cd ${S} rm ${S}/Makefile.postamble rm ${S}/config.tproj/Makefile.postamble rm ${S}/decomment.tproj/Makefile.postamble rm ${S}/relpath.tproj/Makefile.postamble mkdir ${S}/BUILD make install DSTROOT=${S}/BUILD dobin ${S}/BUILD/usr/bin/config newbin ${S}/migcom.tproj/mig.sh mig newbin ${S}/vers_string.sh vers_string dobin ${S}/BUILD/usr/local/bin/decomment dobin ${S}/BUILD/usr/local/bin/relpath exeinto /usr/libexec doexe ${S}/BUILD/usr/libexec/migcom doman ${S}/vers_string.1 }