summaryrefslogtreecommitdiff
path: root/archivers/xmill
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/xmill
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/xmill')
-rw-r--r--archivers/xmill/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/archivers/xmill/Makefile b/archivers/xmill/Makefile
index f58c9d36194..3078b317877 100644
--- a/archivers/xmill/Makefile
+++ b/archivers/xmill/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/12/15 14:34:18 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/02 03:48:37 jlam Exp $
DISTNAME= xmill-0.9.1
PKGREVISION= 3
@@ -10,6 +10,7 @@ HOMEPAGE= ${MASTER_SITES}
COMMENT= Specialized compressor for XML
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
MAKE_FILE= makefile
@@ -35,13 +36,13 @@ do-install:
${WRKSRC}/documentation/README.txt \
${WRKSRC}/documentation/xmill.ps.gz \
${WRKSRC}/documentation/xmill-09-doc.txt \
- ${PREFIX}/share/doc/xmill
+ ${DESTDIR}${PREFIX}/share/doc/xmill
${INSTALL_PROGRAM} ${WRKSRC}/unix/xcmill \
${WRKSRC}/unix/xdemill \
${WRKSRC}/unix/xmillexample \
${WRKSRC}/unix/xmillinspect \
${WRKSRC}/unix/xmilltest \
- ${PREFIX}/bin
+ ${DESTDIR}${PREFIX}/bin
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"