summaryrefslogtreecommitdiff
path: root/archivers/squsq
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
commit6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/squsq
parentabd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff)
downloadpkgsrc-6a0bbfc67659e8fd303162cd3c8e2f27b4be528b.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"