summaryrefslogtreecommitdiff
path: root/archivers/ha
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 03:48:36 +0000
committerjlam <jlam>2008-03-02 03:48:36 +0000
commit3222446d842fc6000d59dc223f801a8762d7510f (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/ha
parent009577271ae73dec9c5a8e01bda4361a966a5406 (diff)
downloadpkgsrc-3222446d842fc6000d59dc223f801a8762d7510f.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/ha')
-rw-r--r--archivers/ha/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/ha/Makefile b/archivers/ha/Makefile
index 774238f863f..5cbf1514930 100644
--- a/archivers/ha/Makefile
+++ b/archivers/ha/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/09/09 02:41:54 obache Exp $
+# $NetBSD: Makefile,v 1.28 2008/03/02 03:48:36 jlam Exp $
DISTNAME= ha0999
PKGNAME= ha-0.999b
@@ -11,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= The HA archiver using the HSC compression method
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -21,6 +22,6 @@ USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
do-install:
- cd ${WRKSRC}; ${INSTALL_PROGRAM} ha ${PREFIX}/bin
+ cd ${WRKSRC}; ${INSTALL_PROGRAM} ha ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"