blob: 0676bba9e69ea11b87ad76aecfe9775681793dd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/ubin-wrappers/ubin-wrappers-0.ebuild,v 1.1 2012/06/17 23:21:19 ryao Exp $
EAPI=4
DESCRIPTION="/usr/bin wrapper scripts for FreeBSD script compatibility"
HOMEPAGE="http://www.gentoo.org"
SRC_URI=""
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="userland_BSD userland_GNU"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_install()
{
into /usr/bin
"${FILESDIR}/dowrap" "${EPREFIX}/bin/"{bunzip2,bzcat,cpio,egrep,fgrep,grep,gunzip,gzip,zcat}
use userland_BSD && "${FILESDIR}/dowrap" "${EPREFIX}/bin/sort"
use userland_GNU && "${FILESDIR}/dowrap" "${EPREFIX}/bin/"{fuser,sed,uncompress}
}
|