diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 19:31:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 19:31:05 +0000 |
commit | 2db3853ca34a623acbc177acc9db743d4c23d093 (patch) | |
tree | 49b8c5d076b5fae59816a2a18dce3e73077f5338 /sysutils/nvnet | |
parent | 6261a28683b873c0a44d8edb9d6b26296efc3873 (diff) | |
download | pkgsrc-2db3853ca34a623acbc177acc9db743d4c23d093.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/nvnet')
-rw-r--r-- | sysutils/nvnet/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/nvnet/Makefile b/sysutils/nvnet/Makefile index 71825b15d60..b3c4d13f3f2 100644 --- a/sysutils/nvnet/Makefile +++ b/sysutils/nvnet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2009/08/25 12:32:56 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2010/01/27 19:31:05 joerg Exp $ # PKGNAME= nvnet-20050620nb1 @@ -8,6 +8,8 @@ CATEGORIES= sysutils MASTER_SITES+= http://www.morgart.com/NetBSD/nVidia/nvnet/ MASTER_SITES+= http://download.nvidia.com/XFree86/nforce/1.0-0310/ +PKG_DESTDIR_SUPPORT= user-destdir + EXTRACT_SUFX= MAINTAINER= pkgsrc-users@NetBSD.org @@ -34,7 +36,7 @@ do-extract: cd ${WRKDIR} && ${SH} ${DISTDIR}/NFORCE-Linux-x86-1.0-0310-pkg1.run -x do-install: - ${INSTALL} -c -m 755 ${WRKSRC}/module/nv.o ${PREFIX}/lkm/nv.o - ${INSTALL_MAN} ${WRKSRC}/man/nv.4 ${PREFIX}/${PKGMANDIR}/man4/nv.4 + ${INSTALL} -c -m 755 ${WRKSRC}/module/nv.o ${DESTDIR}${PREFIX}/lkm/nv.o + ${INSTALL_MAN} ${WRKSRC}/man/nv.4 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man4/nv.4 .include "../../mk/bsd.pkg.mk" |