From 6e774632b7f50634eedb5d95b48079ae4d495946 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 27 Jan 2010 18:56:54 +0000 Subject: DESTDIR support --- sysutils/fs-kit/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'sysutils/fs-kit') diff --git a/sysutils/fs-kit/Makefile b/sysutils/fs-kit/Makefile index e2de6826b11..bddeeb3bc6a 100644 --- a/sysutils/fs-kit/Makefile +++ b/sysutils/fs-kit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/05/19 08:59:34 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2010/01/27 18:56:54 joerg Exp $ DISTNAME= fs-kit-0.4 CATEGORIES= sysutils @@ -10,6 +10,8 @@ HOMEPAGE= http://www.nobius.org/~dbg/ COMMENT= User-level filesystem testing kit LICENSE= fs-kit-license +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= No commercial use. NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} @@ -22,9 +24,9 @@ MAKE_FILE= makefile INSTALLATION_DIRS= sbin share/doc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fsh ${PREFIX}/sbin/fs-fsh - ${INSTALL_PROGRAM} ${WRKSRC}/makefs ${PREFIX}/sbin/fs-makefs - ${INSTALL_PROGRAM} ${WRKSRC}/tstfs ${PREFIX}/sbin/fs-tstfs - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/fs-kit + ${INSTALL_PROGRAM} ${WRKSRC}/fsh ${DESTDIR}${PREFIX}/sbin/fs-fsh + ${INSTALL_PROGRAM} ${WRKSRC}/makefs ${DESTDIR}${PREFIX}/sbin/fs-makefs + ${INSTALL_PROGRAM} ${WRKSRC}/tstfs ${DESTDIR}${PREFIX}/sbin/fs-tstfs + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/fs-kit .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3