pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xhfs DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb2f3729d1b4
branches:  trunk
changeset: 555033:bb2f3729d1b4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 23 18:25:04 2009 +0000

description:
DESTDIR support

diffstat:

 sysutils/xhfs/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r b72f3c67005e -r bb2f3729d1b4 sysutils/xhfs/Makefile
--- a/sysutils/xhfs/Makefile    Mon Feb 23 18:24:25 2009 +0000
+++ b/sysutils/xhfs/Makefile    Mon Feb 23 18:25:04 2009 +0000
@@ -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 @@
 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+=       --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"



Home | Main Index | Thread Index | Old Index