/[gentoo-alt]/trunk/sys-apps/freebsd-bin/freebsd-bin-5.3.20050301.ebuild
Gentoo

Contents of /trunk/sys-apps/freebsd-bin/freebsd-bin-5.3.20050301.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 441 - (show annotations) (download)
Wed Jun 8 16:59:52 2005 UTC (9 years, 6 months ago) by flameeyes
File size: 997 byte(s)
Updated to use gentoo's mirrors and freebsd-utils eclass.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils
6
7 BASE_PV=5.3
8
9 DESCRIPTION="FreeBSD /bin tools"
10 SRC_URI="mirror://gentoo/${BIN}.tar.bz2
11 mirror://gentoo/${CONTRIB}.tar.bz2
12 mirror://gentoo/${SBIN}.tar.bz2
13 mirror://gentoo/${LIB}.tar.bz2"
14
15 DEPEND="=sys-devel/freebsd-mk-defs-5.3*
16 =sys-libs/freebsd-lib-5.3*"
17
18 S=${WORKDIR}/bin
19
20 src_unpack() {
21 unpack ${P}.tar.bz2
22 unpack ${CONTRIB}.tar.bz2
23 unpack ${SBIN}.tar.bz2
24 unpack ${LIB}.tar.bz2
25
26 # Disables NLS Symlinking. Currently broken.
27 cd ${S}/csh
28 epatch ${FILESDIR}/${PN}-${BASE_PV}-csh-makefile.patch
29 }
30
31 src_compile() {
32 # bin/rmail needs to link against libsm.a which is built here:
33 einfo "Building library dependency for this package"
34 cd ${WORKDIR}/lib/libsm
35 bsdmake || die "emake libsm failed"
36
37 einfo "Now building the package"
38 cd ${S}
39 bsdmake || die "emake failed"
40 }
41
42 src_install() {
43 bsdmake DESTDIR=${D} install || die "Install failed"
44 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20