* Do not force the install target to take a full package name. pkg_add will automatically pick the latest version. * When building a package as part of makeroot, make sure it actually gets installed. This is to fix a regression with the switch to USE_DESTDIR=yes. Otherwise these packages will get rebuilt later on when needed. * It is common for calls to mktemp to have 6 placeholders in the template, not 4. Make it so.
26 lines
633 B
Makefile
26 lines
633 B
Makefile
# $NetBSD: Makefile,v 1.44 2010/04/13 16:46:01 jmmv Exp $
|
|
|
|
DISTNAME= pkg_comp-1.32
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
COMMENT= Build packages inside a chroot jail
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_CONFIGURE= YES
|
|
NO_BUILD= YES
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/pkg_comp.sh ${DESTDIR}${PREFIX}/sbin/pkg_comp
|
|
${INSTALL_MAN} ${FILESDIR}/pkg_comp.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/pkg_comp.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|