summaryrefslogtreecommitdiff
path: root/filesystems/fuse-lzofs/Makefile
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-lzofs/Makefile
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-lzofs/Makefile')
-rw-r--r--filesystems/fuse-lzofs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/filesystems/fuse-lzofs/Makefile b/filesystems/fuse-lzofs/Makefile
index d9e7b9ddf7b..2acf0a76b1d 100644
--- a/filesystems/fuse-lzofs/Makefile
+++ b/filesystems/fuse-lzofs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/15 22:55:21 agc Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 19:31:31 jlam Exp $
#
DISTNAME= LZOlayer_fs-20060306
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://north.one.pl/~kazik/pub/LZOlayer/
COMMENT= Filesystem which allows you to use transparently compressed files
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
NO_CONFIGURE= yes
BUILD_TARGET= default
@@ -17,7 +19,7 @@ BUILD_TARGET= default
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/lzo_fs ${PREFIX}/bin/lzo_fs
+ ${INSTALL_PROGRAM} ${WRKSRC}/lzo_fs ${DESTDIR}${PREFIX}/bin/lzo_fs
.include "../../archivers/lzo/buildlink3.mk"
.include "../../mk/fuse.buildlink3.mk"