From 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 19:21:37 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- emulators/ia64sim/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emulators/ia64sim') diff --git a/emulators/ia64sim/Makefile b/emulators/ia64sim/Makefile index 33f5a47a81b..a623cafc573 100644 --- a/emulators/ia64sim/Makefile +++ b/emulators/ia64sim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/10/04 21:38:37 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 19:21:38 jlam Exp $ DISTNAME= ia64sim PKGNAME= ia64sim-0.3 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.boo.net/~jasonp/ COMMENT= IA64 simulator (Intel(R) Architecture 64) +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake DIST_SUBDIR= ${PKGNAME_NOREV} @@ -18,6 +20,6 @@ MAKE_FILE= makefile.unx INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${PREFIX}/bin/ia64sim + ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${DESTDIR}${PREFIX}/bin/ia64sim .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3