From cb71209c25a00a8e75ad5e3391f2f705a55bdb94 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 27 Jan 2010 18:51:33 +0000 Subject: DESTDIR support --- sysutils/fastfs/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sysutils/fastfs') diff --git a/sysutils/fastfs/Makefile b/sysutils/fastfs/Makefile index 8b3ac767508..2107c65ceb4 100644 --- a/sysutils/fastfs/Makefile +++ b/sysutils/fastfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/03/04 21:30:41 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2010/01/27 18:51:33 joerg Exp $ # DISTNAME= fastfs.c @@ -10,6 +10,8 @@ EXTRACT_SUFX= # empty MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Turn on/off delayed IO on a file system +PKG_DESTDIR_SUPPORT= user-destdir + ONLY_FOR_PLATFORM= SunOS-*-* WRKSRC= ${WRKDIR}/fastfs @@ -24,6 +26,6 @@ do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${DISTNAME} -o ${DISTNAME:S/.c//} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:S/.c//} ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/fastfs ${DESTDIR}${PREFIX}/sbin .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3