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

Contents of /trunk/sys-apps/freebsd-bin/freebsd-bin-5.4_rc3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 319 - (show annotations) (download)
Tue May 3 14:43:31 2005 UTC (9 years, 3 months ago) by flameeyes
File size: 1158 byte(s)
Added 5.4_rc3 ebuild.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit freebsd-utils
6
7 DESCRIPTION="FreeBSD /bin tools"
8 SRC_URI="${SRC_URI}
9 ${BASE_SRC_URI}${CONTRIB}.tar.bz2
10 ${BASE_SRC_URI}${SBIN}.tar.bz2
11 ${BASE_SRC_URI}${LIB}.tar.bz2"
12
13 DEPEND="=sys-devel/freebsd-mk-defs-5.4*
14 =sys-libs/freebsd-lib-5.4*
15 ssl? ( dev-libs/openssl )"
16
17 S=${WORKDIR}/bin
18
19 IUSE="rcp sendmail nls ssl"
20
21 pkg_setup() {
22 use rcp || mymakeopts="${mymakeopts} NO_RCMNDS= "
23 use sendmail || mymakeopts="${mymakeopts} NO_SENDMAIL= "
24 use nls || mymakeopts="${mymakeopts} NO_NLS= "
25
26 # Sounds ridicoulus but ssl is used to enable des support in ed.
27 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
28 mymakeopts="${mymakeopts} NO_TCSH= "
29 }
30
31 src_compile() {
32 if use sendmail; then
33 # bin/rmail needs to link against libsm.a which is built here:
34 einfo "Building library dependency for this package"
35 cd ${WORKDIR}/lib/libsm
36 fmake || die "fmake libsm failed"
37 fi
38
39 einfo "Now building the package"
40 cd ${S}
41 fmake || die "fmake failed"
42 }
43
44 src_install() {
45 fmake DESTDIR=${D} install || die "Install failed"
46 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20