summaryrefslogtreecommitdiff
path: root/filesystems/fuse-loggedfs
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
commit0bb78c6c9d3855e92497417696475484322d451c (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /filesystems/fuse-loggedfs
parent9bd3464e7e916d97f1e733a71b79c48999897987 (diff)
downloadpkgsrc-0bb78c6c9d3855e92497417696475484322d451c.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-loggedfs')
-rw-r--r--filesystems/fuse-loggedfs/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/filesystems/fuse-loggedfs/Makefile b/filesystems/fuse-loggedfs/Makefile
index ffba171727a..a215f513add 100644
--- a/filesystems/fuse-loggedfs/Makefile
+++ b/filesystems/fuse-loggedfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/11 22:02:37 xtraeme Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 19:31:31 jlam Exp $
#
DISTNAME= loggedfs-0.4
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITE_SOURCEFORGE:=loggedfs/}
COMMENT= FUSE file system which logs all operations
+PKG_DESTDIR_SUPPORT= user-destdir
+
.if exists(/usr/include/sys/statvfs.h)
CPPFLAGS+= -DHAVE_SYS_STATVFS_H
.endif
@@ -19,12 +21,13 @@ CPPFLAGS+= -DHAVE_SYS_STATVFS_H
CPPFLAGS+= -DHAVE_SETXATTR
.endif
-USE_LANGUAGES+= c++
+USE_LANGUAGES+= c++
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/loggedfs ${PREFIX}/bin/loggedfs
+ ${INSTALL_PROGRAM} ${WRKSRC}/loggedfs ${DESTDIR}${PREFIX}/bin/loggedfs
${INSTALL_MAN} ${WRKSRC}/loggedfs.1 \
- ${PREFIX}/${PKGMANDIR}/man1/loggedfs.1
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/loggedfs.1
.include "../../devel/librlog/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"