summaryrefslogtreecommitdiff
path: root/sysutils/rfstool/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 19:51:55 +0000
committerjoerg <joerg>2010-01-27 19:51:55 +0000
commitd08fe1db904b22b6e3df6b6eea4dd43cdca8bc5a (patch)
tree38269b0261ea772674d0b186edaa993e72710d57 /sysutils/rfstool/Makefile
parent6909863a63d2316b1102a1170833f61561b94d24 (diff)
downloadpkgsrc-d08fe1db904b22b6e3df6b6eea4dd43cdca8bc5a.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/rfstool/Makefile')
-rw-r--r--sysutils/rfstool/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/rfstool/Makefile b/sysutils/rfstool/Makefile
index b6472e5c1fa..5140098bc36 100644
--- a/sysutils/rfstool/Makefile
+++ b/sysutils/rfstool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/08/25 11:56:36 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/27 19:52:22 joerg Exp $
#
DISTNAME= rfstool-0.14-source
@@ -13,6 +13,7 @@ HOMEPAGE= http://p-nand-q.com/download/rfstool/overview.html
COMMENT= Tools to access ReiserFS partitions
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/RFSTOOL
MAKE_FILE= makefile.gcc3x
@@ -21,6 +22,6 @@ USE_LANGUAGES= c++
INSTALLATION_DIRS= sbin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rfstool ${PREFIX}/sbin/rfstool
+ ${INSTALL_PROGRAM} ${WRKSRC}/rfstool ${DESTDIR}${PREFIX}/sbin/rfstool
.include "../../mk/bsd.pkg.mk"