sys-freebsd/freebsd-sources
sys-freebsd/freebsd-ubin
sys-freebsd/freebsd-usbin
-sys-freebsd/ubin-wrappers
# Lars Wendler <polynomial-c@gentoo.org> (2019-09-04)
# Unofficial build. Superseded by official 2.49.5 release.
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="/usr/bin wrapper scripts for FreeBSD script compatibility"
-HOMEPAGE="https://www.gentoo.org"
-SRC_URI=""
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64-fbsd ~x86-fbsd"
-IUSE="userland_BSD userland_GNU"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
-
-dowrap() {
- local x
- for x do
- [[ -e ${x} ]] || die "${x} does not exist"
- newbin - "$(basename "${x}")" <<-EOF
- #!/bin/sh
- exec ${x} \${1:+"\$@"}
- EOF
- done
-}
-
-src_install() {
- dowrap \
- "${EPREFIX}"/bin/{bunzip2,bzcat,cpio,egrep,fgrep,grep,gunzip,gzip,zcat}
- use userland_BSD && dowrap "${EPREFIX}"/bin/sort
- use userland_GNU && dowrap "${EPREFIX}"/bin/{fuser,sed,uncompress}
-}