diff options
author | joerg <joerg> | 2010-01-27 18:51:33 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 18:51:33 +0000 |
commit | cb71209c25a00a8e75ad5e3391f2f705a55bdb94 (patch) | |
tree | 0a46dac74c704b27536c76ea99cbad61446876a0 /sysutils/fastfs | |
parent | 08c65a1b757942fb0bbd10fefcc1d75d4d42cddc (diff) | |
download | pkgsrc-cb71209c25a00a8e75ad5e3391f2f705a55bdb94.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/fastfs')
-rw-r--r-- | sysutils/fastfs/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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" |