summaryrefslogtreecommitdiff
path: root/archivers/macutil
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/macutil
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/macutil')
-rw-r--r--archivers/macutil/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/archivers/macutil/Makefile b/archivers/macutil/Makefile
index b3259f2319f..6d3cf3ebf4e 100644
--- a/archivers/macutil/Makefile
+++ b/archivers/macutil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/09/09 02:41:54 obache Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/02 03:48:36 jlam Exp $
DISTNAME= macutil2.0b3
PKGNAME= macutil-2.0b3
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Create & extract Mac archive files
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FILE= makefile
MAKE_ENV+= CF=${CFLAGS:M*:Q}
@@ -25,7 +26,8 @@ do-install:
${WRKSRC}/mixed/macstream \
${WRKSRC}/binhex/binhex \
${WRKSRC}/comm/tomac \
- ${WRKSRC}/comm/frommac ${PREFIX}/bin
+ ${WRKSRC}/comm/frommac \
+ ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/macunpack.1 \
${WRKSRC}/man/hexbin.1 \
${WRKSRC}/man/macsave.1 \
@@ -33,6 +35,7 @@ do-install:
${WRKSRC}/man/binhex.1 \
${WRKSRC}/man/tomac.1 \
${WRKSRC}/man/frommac.1 \
- ${WRKSRC}/man/macutil.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${WRKSRC}/man/macutil.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"