summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
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"