summaryrefslogtreecommitdiff
path: root/filesystems/fuse-unionfs
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 19:21:37 +0000
committerjlam <jlam>2008-03-03 19:21:37 +0000
commitcdc5e6dd9688136784a32410486ee5582c6bea45 (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /filesystems/fuse-unionfs
parent10c92f44a52d654ee28ddd9184c9ea6d81284467 (diff)
downloadpkgsrc-cdc5e6dd9688136784a32410486ee5582c6bea45.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'filesystems/fuse-unionfs')
-rw-r--r--filesystems/fuse-unionfs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/filesystems/fuse-unionfs/Makefile b/filesystems/fuse-unionfs/Makefile
index b1619a1e66b..84f2ee425d8 100644
--- a/filesystems/fuse-unionfs/Makefile
+++ b/filesystems/fuse-unionfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/03/10 12:51:03 agc Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 19:31:31 jlam Exp $
#
DISTNAME= unionfs-fuse-0.17
@@ -11,10 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://podgorny.cz/unionfs-fuse/
COMMENT= FUSE-based union filesystem
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= unionfs
+INSTALLATION_DIRS= bin
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/unionfs ${PREFIX}/bin/fuse-unionfs
+ ${INSTALL_PROGRAM} ${WRKSRC}/unionfs \
+ ${DESTDIR}${PREFIX}/bin/fuse-unionfs
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"