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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 469 - (show annotations) (download)
Thu Jun 16 07:56:17 2005 UTC (9 years, 4 months ago) by flameeyes
File size: 1066 byte(s)
Removed sendmail/rmail (installed by sendmail itself) and csh (provided by app-shells/tcsh), avoid building of libsm and doesn't need ${CONTRIB} anymore.

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="mirror://gentoo/${BIN}.tar.bz2
9 mirror://gentoo/${SBIN}.tar.bz2
10 mirror://gentoo/${LIB}.tar.bz2"
11
12 DEPEND="=sys-devel/freebsd-mk-defs-5.4*
13 =sys-libs/freebsd-lib-5.4*
14 sys-devel/flex
15 ssl? ( dev-libs/openssl )"
16
17 S=${WORKDIR}/bin
18
19 IUSE="rcp nls ssl"
20
21 pkg_setup() {
22 use rcp || mymakeopts="${mymakeopts} NO_RCMNDS= "
23 use nls || mymakeopts="${mymakeopts} NO_NLS= "
24
25 # Sounds ridicoulus but ssl is used to enable des support in ed.
26 use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
27 mymakeopts="${mymakeopts} NO_TCSH= NO_SENDMAIL= "
28 }
29
30 src_unpack() {
31 unpack ${A}
32 cd ${S}
33 epatch ${FILESDIR}/${PN}-flex.patch
34
35 # csh and tcsh are provided by tcsh package, rmail is sendmail stuff.
36 dummy_mk csh tcsh rmail
37 }
38
39 src_compile() {
40 einfo "Now building the package"
41 cd ${S}
42 fmake || die "fmake failed"
43 }
44
45 src_install() {
46 fmake DESTDIR=${D} install || die "Install failed"
47 }

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.20