./pkgtools/pkgclean, Quickly clean up all work directories in pkgsrc

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20200119, Package name: pkgclean-20200119, Maintainer: pkgsrc-users

pkgclean cleans up your pkgsrc by removing the work directories.
It's a fast alternative for ``cd /usr/pkgsrc && make clean''.


Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2020-01-19 04:31:30 by David H. Gutteridge | Files touched by this commit (2)
Log message:
pkgclean: check that PKGSRCDIR is a valid directory

For those of us who have multiple pkgsrc trees, or move them around,
and forget the path gets hard-coded into the shell script, or make a
typo when supplying an alternate PKGSRCDIR, and then wonder why nothing
gets cleaned.
   2019-05-23 21:23:24 by Roland Illig | Files touched by this commit (242)
Log message:
all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
   2018-09-14 18:31:28 by Leonardo Taccari | Files touched by this commit (1)
Log message:
pkgclean: Properly replace @SH@ in pkgclean

Most of the times setting NO_CONFIGURE is not needed and can badly
interact with SUBST framework like in this case as pointed out by
PR pkg/53606.

Fixes PR pkg/53606.
   2018-07-04 15:40:45 by Jonathan Perkin | Files touched by this commit (423)
Log message:
*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
   2014-03-03 05:54:35 by OBATA Akio | Files touched by this commit (1)
Log message:
LICENSE=2-clause-bsd
   2014-03-03 04:30:55 by OBATA Akio | Files touched by this commit (43)
Log message:
Just define PKGNAME and use it.
   2013-07-20 23:50:55 by Thomas Klausner | Files touched by this commit (44)
Log message:
Use Mt for email addresses.