summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 16:51:38 +0000
committerjoerg <joerg>2010-01-29 16:51:38 +0000
commit651abb46680362c29e91688c45aecb2fccdb1b44 (patch)
treed793efe2c921b6a9d26b1de0536e6f0ab8acc511 /cross
parent0d2d494721a0675a0e6d34deb93e44c1e0a23422 (diff)
downloadpkgsrc-651abb46680362c29e91688c45aecb2fccdb1b44.tar.gz
DESTDIR support
Diffstat (limited to 'cross')
-rw-r--r--cross/icdprog/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/cross/icdprog/Makefile b/cross/icdprog/Makefile
index 8eb33a58790..45f97a8d6f0 100644
--- a/cross/icdprog/Makefile
+++ b/cross/icdprog/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:29:07 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/29 16:55:48 joerg Exp $
DISTNAME= icdprog-0.3
PKGREVISION= 1
@@ -9,9 +9,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://icdprog.sourceforge.net/
COMMENT= Microchip PIC programmer using ICD hardware
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+INSTALLATION_DIRS+= bin
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/icdprog ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/icdprog ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"