summaryrefslogtreecommitdiff
path: root/archivers/squsq
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 03:48:36 +0000
committerjlam <jlam>2008-03-02 03:48:36 +0000
commit3170d23f01ae24aa1c4d6e488619cd4779dc3023 (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/squsq
parent3bee3dc66434cf5910b9b2016244f4e8af453b0f (diff)
downloadpkgsrc-3170d23f01ae24aa1c4d6e488619cd4779dc3023.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/squsq')
-rw-r--r--archivers/squsq/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/squsq/Makefile b/archivers/squsq/Makefile
index ea8a49c1043..1b722e8a44c 100644
--- a/archivers/squsq/Makefile
+++ b/archivers/squsq/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/09/09 02:41:54 obache Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/02 03:48:36 jlam Exp $
DISTNAME= t20-squsq-3.3
PKGNAME= squsq-3.3
@@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Compressor/decompressor for CP/M Squeeze compressed files
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FILE= ${FILESDIR}/Makefile
@@ -17,6 +18,7 @@ WRKSRC= ${WRKDIR}/t20-squsq
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sq ${WRKSRC}/usq ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/sq ${WRKSRC}/usq \
+ ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"