diff options
author | heinz <heinz@pkgsrc.org> | 2008-02-02 17:36:40 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-02-02 17:36:40 +0000 |
commit | 3394442d47c3d3fc033e98093cb089d77d5f4469 (patch) | |
tree | 9c5d58065f382a3f16afc66b2e29240b1f250181 /pkgtools/pkg_regress | |
parent | 8844256f9106fb18257319d086615e6fe55626da (diff) | |
download | pkgsrc-3394442d47c3d3fc033e98093cb089d77d5f4469.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'pkgtools/pkg_regress')
-rw-r--r-- | pkgtools/pkg_regress/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/pkg_regress/Makefile b/pkgtools/pkg_regress/Makefile index 404c808034c..8d36bd77621 100644 --- a/pkgtools/pkg_regress/Makefile +++ b/pkgtools/pkg_regress/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/07/10 12:44:19 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2008/02/02 17:36:40 heinz Exp $ DISTNAME= pkg_regress-0.2 CATEGORIES= pkgtools @@ -8,6 +8,7 @@ DISTFILES= # empty MAINTAINER= rillig@NetBSD.org COMMENT= Run pkgsrc infrastructure regression test suite +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews WRKSRC= ${WRKDIR} @@ -27,6 +28,7 @@ do-build: ${FILESDIR}/pkg_regress.sh >${WRKSRC}/pkg_regress.sh do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pkg_regress.sh ${PREFIX}/sbin/pkg_regress + ${INSTALL_SCRIPT} ${WRKSRC}/pkg_regress.sh \ + ${DESTDIR}${PREFIX}/sbin/pkg_regress .include "../../mk/bsd.pkg.mk" |