diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 18:25:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 18:25:46 +0000 |
commit | a9cbe06e6b938465f41fec14a028adfd3c3ee5a4 (patch) | |
tree | 573447bd0c6aec9980a97a9ff03955555d174e5c /sysutils/afbinit | |
parent | 4e06aa332bcec4b6994782bd5fe1838522ef6e3d (diff) | |
download | pkgsrc-a9cbe06e6b938465f41fec14a028adfd3c3ee5a4.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/afbinit')
-rw-r--r-- | sysutils/afbinit/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/afbinit/Makefile b/sysutils/afbinit/Makefile index 22920121ed2..535403bda58 100644 --- a/sysutils/afbinit/Makefile +++ b/sysutils/afbinit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/06/17 03:50:33 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2010/01/27 18:27:24 joerg Exp $ DISTNAME= afbinit_1.0.orig PKGNAME= afbinit-1.0 @@ -8,6 +8,8 @@ MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/contrib/a/afbinit/} MAINTAINER= macallan@NetBSD.org COMMENT= Firmware download tool for Sun AFB graphic cards +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} BUILD_TARGET= afbinit ONLY_FOR_PLATFORM= *-*-sparc64 *-*-sparc @@ -15,6 +17,6 @@ ONLY_FOR_PLATFORM= *-*-sparc64 *-*-sparc INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |