| 1 |
# Copyright 1999-2005 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header$
|
| 4 |
|
| 5 |
inherit bsdmk freebsd
|
| 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 |
RDEPEND="=sys-libs/freebsd-lib-${RV}*
|
| 13 |
ssl? ( dev-libs/openssl )
|
| 14 |
sys-libs/ncurses"
|
| 15 |
|
| 16 |
DEPEND="${RDEPEND}
|
| 17 |
=sys-devel/freebsd-mk-defs-${RV}*
|
| 18 |
sys-devel/flex"
|
| 19 |
|
| 20 |
S=${WORKDIR}/bin
|
| 21 |
|
| 22 |
IUSE="rcp nls ssl"
|
| 23 |
|
| 24 |
pkg_setup() {
|
| 25 |
use rcp || mymakeopts="${mymakeopts} NO_RCMNDS= "
|
| 26 |
use nls || mymakeopts="${mymakeopts} NO_NLS= "
|
| 27 |
|
| 28 |
# Sounds ridicoulus but ssl is used to enable des support in ed.
|
| 29 |
use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NOCRYPT= "
|
| 30 |
mymakeopts="${mymakeopts} NO_TCSH= NO_SENDMAIL= "
|
| 31 |
}
|
| 32 |
|
| 33 |
PATHES="${FILESDIR}/${PN}-flex.patch"
|
| 34 |
|
| 35 |
# csh and tcsh are provided by tcsh package, rmail is sendmail stuff.
|
| 36 |
REMOVE_SUBDIRS="csh tcsh rmail"
|