# patch-bsd - The BSD patch utility
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=patch-bsd
version=2.0
release=1
desc="The BSD patch utility"
url="https://github.com/freebsd/freebsd-src"
license="BSD-2-Clause"
depend="glibc"
makedepend=""
source="https://github.com/apiwo/bsdpatch/archive/refs/tags/v2.0.tar.gz"
sha256="SKIP"

build() {
	cd "patch-bsd-2.0"
	make -j"$JOBS" PREFIX=/usr
}

package() {
	cd "patch-bsd-2.0"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}
