summaryrefslogtreecommitdiff
path: root/archivers/makeself
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
commit19758f6cbe35775c1b5055745b7da304d9b97282 (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/makeself
parent4e43bea59ab72a8987814c672201fbfb219de4c2 (diff)
downloadpkgsrc-19758f6cbe35775c1b5055745b7da304d9b97282.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'archivers/makeself')
-rw-r--r--archivers/makeself/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
index 53d2402c4c7..9260caffb13 100644
--- a/archivers/makeself/Makefile
+++ b/archivers/makeself/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/05/17 06:12:27 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/02 03:48:36 jlam Exp $
DISTNAME= makeself-2.1.4
CATEGORIES= archivers
@@ -10,6 +10,7 @@ HOMEPAGE= http://www.megastep.org/makeself/
COMMENT= Neat script to make self-extracting archives
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
@@ -21,6 +22,7 @@ pre-patch:
cd ${WRKDIR} && ${SETENV} DISPLAY="" ${SH} ${DISTFILES}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh ${PREFIX}/bin/makeself
+ ${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh \
+ ${DESTDIR}${PREFIX}/bin/makeself
.include "../../mk/bsd.pkg.mk"