diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-14 19:38:47 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-14 19:38:47 +0000 |
commit | 4660c9f359108cb23813a40e988fce8627a68725 (patch) | |
tree | 611a7d959ddbe46e32fc14c1ddd6757c03484166 /pkgtools/pax | |
parent | 9be3dac9df53492e87f8d8461a43d6ce18e48952 (diff) | |
download | pkgsrc-4660c9f359108cb23813a40e988fce8627a68725.tar.gz |
Create a separate "pax" package in the pkgtools category that installs
into ${PKG_TOOLS_BIN}. This package is used in the case where pax is
a requirement for the pkg_install tools. The archivers/pax package is
now a normal package with no special PKG_PRESERVE flags set.
Diffstat (limited to 'pkgtools/pax')
-rw-r--r-- | pkgtools/pax/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgtools/pax/Makefile b/pkgtools/pax/Makefile new file mode 100644 index 00000000000..5351a76ff8b --- /dev/null +++ b/pkgtools/pax/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.11 2006/07/14 19:38:47 jlam Exp $ +# +# This version of pax installs into ${PKG_TOOLS_BIN}. +# + +.include "../../archivers/pax/Makefile.common" + +NO_PKGTOOLS_REQD_CHECK= yes +PKG_PRESERVE= yes + +PKG_TOOLS_PREFIX= ${PKG_TOOLS_BIN:C|/[^/]?bin$||} + +# XXX This breaks for those who set their own LOCALBASE to "/usr" and also +# XXX set PKGMANDIR to be other than "share/man". +# XXX +.if !empty(PKG_TOOLS_PREFIX:M/usr) +PKGMANDIR= share/man +.endif + +.include "../../mk/bsd.pkg.mk" + +PREFIX:= ${PKG_TOOLS_PREFIX} |