The recipe set DISTFILES and built from a tarball that tools/ext-dist.sh
made, and its distinfo had to be regenerated after every commit. It now
does what pkgsrc itself does for a package that lives in a tree (net/fetch,
pkgtools/pkg_install): DISTFILES= # empty, do-extract fills WRKSRC.
The copy is made by tools/ext-extract.sh (called from do-extract), not by
cp -R: a work directory is extracted once, so a plain copy would keep the
files of the commit it was extracted from.
Verified: bmake -C pkgsrc/misc/splinter package built splinter-0.1.tgz in
build/packages/All with no distinfo present.
The package links the base system's curses (CURSES_LIB), and the Makefile
defaults CURSES_DEP to CURSES_LIB for the vendored tree -- an empty
assignment keeps that default from applying.
The recipe is copied into pkgsrc/ by Makronix's tools/ext-sync.sh and built
from the archive tools/ext-dist.sh makes of this repository.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>