summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 16:51:38 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 16:51:38 +0000
commit793677032af2f03e80cf03f50a4e6069cb3efa2f (patch)
treed793efe2c921b6a9d26b1de0536e6f0ab8acc511 /cross
parent3102d002f1709b95b6ac22e9f980dbb7d6ecc74f (diff)
downloadpkgsrc-793677032af2f03e80cf03f50a4e6069cb3efa2f.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"