pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4405c35e8bc9
branches:  trunk
changeset: 554605:4405c35e8bc9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 19:26:07 2009 +0000

description:
DESTDIR support

diffstat:

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

diffs (27 lines):

diff -r e4aa15acda2c -r 4405c35e8bc9 sysutils/hfsutils/Makefile
--- a/sysutils/hfsutils/Makefile        Mon Feb 16 19:26:00 2009 +0000
+++ b/sysutils/hfsutils/Makefile        Mon Feb 16 19:26:07 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/04/05 10:43:22 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2009/02/16 19:26:07 joerg Exp $
 #
 
 DISTNAME=      hfsutils-3.2.6
@@ -10,11 +10,17 @@
 HOMEPAGE=      http://www.mars.org/home/rob/proj/hfs/
 COMMENT=       Command Line Interface HFS (not HFS+) disk access tools
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 CPPFLAGS+=     -I${LOCALBASE}/include/libhfs
 
 BUILD_TARGET=  all_cli
 INSTALL_TARGET=        install_cli
+INSTALL_MAKE_FLAGS+=   BINDEST=${DESTDIR}${PREFIX}/bin \
+                       MANDEST=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 .include "../../devel/libhfs/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index