summaryrefslogtreecommitdiff
path: root/sysutils/xhfs
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-23 18:25:04 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-23 18:25:04 +0000
commit79d3f4ba13ab91d5186358bffce55cd0fe343577 (patch)
treedf25982a6ce357c9cfe62c09b478739a729b0696 /sysutils/xhfs
parentc0f3c02af3fc472b6e2fa8d46f0e86082620a1e5 (diff)
downloadpkgsrc-79d3f4ba13ab91d5186358bffce55cd0fe343577.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/xhfs')
-rw-r--r--sysutils/xhfs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/xhfs/Makefile b/sysutils/xhfs/Makefile
index 3dc3847b876..acd3e56bb43 100644
--- a/sysutils/xhfs/Makefile
+++ b/sysutils/xhfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/02/05 23:10:58 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2009/02/23 18:25:04 joerg Exp $
#
DISTNAME= hfsutils-3.2.6
@@ -11,6 +11,7 @@ MAINTAINER= wrstuden@NetBSD.org
HOMEPAGE= http://www.mars.org/home/rob/proj/hfs/
COMMENT= Tk GUI + Tcl Shell for accessing HFS volumes
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
@@ -18,6 +19,11 @@ CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}/lib
CONFIGURE_ARGS+= --disable-cli
CPPFLAGS+= -I${BUILDLINK_PREFIX.libhfs}/include/libhfs
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ MANDEST=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
.include "../../devel/libhfs/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"