summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-02-10 12:01:04 +0000
committerabs <abs@pkgsrc.org>2009-02-10 12:01:04 +0000
commit95362c79805fd51a2ef7b20506f6b91ec16a3f41 (patch)
treeb0d5d86ac78b0f0064d1abb9cc77dd36ad0390cf /sysutils
parent62fa1185605e38c0e2f7f1544b85a4e45b194306 (diff)
downloadpkgsrc-95362c79805fd51a2ef7b20506f6b91ec16a3f41.tar.gz
Add PKG_DESTDIR_SUPPORT
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cpuburn/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/sysutils/cpuburn/Makefile b/sysutils/cpuburn/Makefile
index 83c1a7e7978..3e95107b720 100644
--- a/sysutils/cpuburn/Makefile
+++ b/sysutils/cpuburn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/02/22 19:27:11 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2009/02/10 12:01:04 abs Exp $
#
DISTNAME= cpuburn_1_4
@@ -18,15 +18,16 @@ USE_TOOLS+= gtar
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin share/doc/cpuburn
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/burnBX ${PREFIX}/bin/burnBX
- ${INSTALL_PROGRAM} ${WRKSRC}/burnK6 ${PREFIX}/bin/burnK6
- ${INSTALL_PROGRAM} ${WRKSRC}/burnK7 ${PREFIX}/bin/burnK7
- ${INSTALL_PROGRAM} ${WRKSRC}/burnMMX ${PREFIX}/bin/burnMMX
- ${INSTALL_PROGRAM} ${WRKSRC}/burnP5 ${PREFIX}/bin/burnP5
- ${INSTALL_PROGRAM} ${WRKSRC}/burnP6 ${PREFIX}/bin/burnP6
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cpuburn/README
+ ${INSTALL_PROGRAM} ${WRKSRC}/burnBX ${DESTDIR}${PREFIX}/bin/burnBX
+ ${INSTALL_PROGRAM} ${WRKSRC}/burnK6 ${DESTDIR}${PREFIX}/bin/burnK6
+ ${INSTALL_PROGRAM} ${WRKSRC}/burnK7 ${DESTDIR}${PREFIX}/bin/burnK7
+ ${INSTALL_PROGRAM} ${WRKSRC}/burnMMX ${DESTDIR}${PREFIX}/bin/burnMMX
+ ${INSTALL_PROGRAM} ${WRKSRC}/burnP5 ${DESTDIR}${PREFIX}/bin/burnP5
+ ${INSTALL_PROGRAM} ${WRKSRC}/burnP6 ${DESTDIR}${PREFIX}/bin/burnP6
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/cpuburn/README
.include "../../mk/bsd.pkg.mk"