summaryrefslogtreecommitdiff
path: root/cad/xchiplogo
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 01:50:26 +0000
commit2e614fcea0b247bbc54200c2ed35e943cca37125 (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/xchiplogo
parentf61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff)
downloadpkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'cad/xchiplogo')
-rw-r--r--cad/xchiplogo/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/xchiplogo/Makefile b/cad/xchiplogo/Makefile
index c445deff2cb..f24764e880b 100644
--- a/cad/xchiplogo/Makefile
+++ b/cad/xchiplogo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/12/15 20:32:53 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/03 01:50:27 jlam Exp $
#
DISTNAME= xchiplogo
@@ -11,10 +11,12 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.eleceng.adelaide.edu.au/Personal/moini/chiplogo.html
COMMENT= Program for generating pretty logos on VLSI chips
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xchiplogo ${PREFIX}/bin/xchiplogo
+ ${INSTALL_PROGRAM} ${WRKSRC}/xchiplogo ${DESTDIR}${PREFIX}/bin/xchiplogo
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"