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 | |
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.
-rw-r--r-- | archivers/pax/Makefile | 30 | ||||
-rw-r--r-- | archivers/pax/Makefile.common | 35 | ||||
-rw-r--r-- | doc/CHANGES-2006 | 3 | ||||
-rw-r--r-- | pkgtools/Makefile | 3 | ||||
-rw-r--r-- | pkgtools/pax/Makefile | 22 |
5 files changed, 63 insertions, 30 deletions
diff --git a/archivers/pax/Makefile b/archivers/pax/Makefile index 76e756a266f..c04dbba02d8 100644 --- a/archivers/pax/Makefile +++ b/archivers/pax/Makefile @@ -1,31 +1,5 @@ -# $NetBSD: Makefile,v 1.25 2006/07/14 18:48:43 jlam Exp $ -# +# $NetBSD: Makefile,v 1.26 2006/07/14 19:38:47 jlam Exp $ -DISTNAME= pax-20060202 -CATEGORIES= archivers pkgtools -MASTER_SITES= # empty -DISTFILES= # empty - -MAINTAINER= grant@NetBSD.org -HOMEPAGE= http://www.NetBSD.org/ -COMMENT= POSIX standard archiver with many extensions - -GNU_CONFIGURE= yes - -NO_PKGTOOLS_REQD_CHECK= yes -NO_CHECKSUM= yes -NO_MTREE= yes -PKG_PRESERVE= yes - -.include "../../mk/bsd.prefs.mk" - -do-extract: - ${CP} -R ${FILESDIR} ${WRKSRC} - -.if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace") -. include "../../pkgtools/libnbcompat/inplace.mk" -.else -. include "../../pkgtools/libnbcompat/buildlink3.mk" -.endif +.include "Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/pax/Makefile.common b/archivers/pax/Makefile.common new file mode 100644 index 00000000000..f5ca7b7606b --- /dev/null +++ b/archivers/pax/Makefile.common @@ -0,0 +1,35 @@ +# $NetBSD: Makefile.common,v 1.1 2006/07/14 19:38:47 jlam Exp $ +# +# This Makefile fragment is included by: +# +# pkgsrc/archivers/pax/Makefile +# pkgsrc/pkgtools/pax/Makefile +# + +DISTNAME= pax-20060202 +CATEGORIES= archivers pkgtools +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= grant@NetBSD.org +HOMEPAGE= http://www.NetBSD.org/ +COMMENT= POSIX standard archiver with many extensions + +GNU_CONFIGURE= yes + +NO_CHECKSUM= yes +NO_MTREE= yes + +FILESDIR= ${.CURDIR}/../../archivers/pax/files +PKGDIR= ${.CURDIR}/../../archivers/pax + +.include "../../mk/bsd.prefs.mk" + +.if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace") +. include "../../pkgtools/libnbcompat/inplace.mk" +.else +. include "../../pkgtools/libnbcompat/buildlink3.mk" +.endif + +do-extract: + ${CP} -R ${FILESDIR} ${WRKSRC} diff --git a/doc/CHANGES-2006 b/doc/CHANGES-2006 index 4e42c40244d..005d5a2a921 100644 --- a/doc/CHANGES-2006 +++ b/doc/CHANGES-2006 @@ -1,4 +1,4 @@ -$NetBSD: CHANGES-2006,v 1.723 2006/07/14 15:21:14 wiz Exp $ +$NetBSD: CHANGES-2006,v 1.724 2006/07/14 19:38:47 jlam Exp $ Changes to the packages collection and infrastructure in 2006: @@ -3376,3 +3376,4 @@ Changes to the packages collection and infrastructure in 2006: Updated time/kronolith to 2.1.2 [adrianp 2006-07-13] Updated graphics/gimp24 to 2.3.10nb2 [wiz 2006-07-14] Updated finance/gnucash-docs to 2.0.0 [wiz 2006-07-14] + Added pkgtools/pax version 20060202 [jlam 2006-07-14] diff --git a/pkgtools/Makefile b/pkgtools/Makefile index fe68ad80384..219326f89d6 100644 --- a/pkgtools/Makefile +++ b/pkgtools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2006/05/28 09:48:48 wiz Exp $ +# $NetBSD: Makefile,v 1.74 2006/07/14 19:38:47 jlam Exp $ # COMMENT= Tools for use in the packages collection @@ -15,6 +15,7 @@ SUBDIR+= gensolpkg SUBDIR+= libnbcompat SUBDIR+= mtree SUBDIR+= p5-pkgsrc-Dewey +#SUBDIR+= pax SUBDIR+= pkg_alternatives SUBDIR+= pkg_chk SUBDIR+= pkg_comp 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} |