diff options
author | joerg <joerg> | 2010-01-27 19:31:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 19:31:05 +0000 |
commit | 6790696db0b3263cad8e8159431d52f6848161b6 (patch) | |
tree | 49b8c5d076b5fae59816a2a18dce3e73077f5338 /sysutils | |
parent | 4003092ad43818cbdf100066019ac3220f748f99 (diff) | |
download | pkgsrc-6790696db0b3263cad8e8159431d52f6848161b6.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nvnet/Makefile | 8 | ||||
-rw-r--r-- | sysutils/pfstat/Makefile | 14 |
2 files changed, 13 insertions, 9 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" diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile index f448676faf9..ac22e0721c9 100644 --- a/sysutils/pfstat/Makefile +++ b/sysutils/pfstat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2010/01/18 09:59:27 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2010/01/27 19:37:56 joerg Exp $ DISTNAME= pfstat-2.3 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= peter@NetBSD.org HOMEPAGE= http://www.benzedrine.cx/pfstat.html COMMENT= Utility to render graphical statistics for PF +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes MAKE_ENV+= PF_VERSION=${PF_VERSION:S/.//} NOGCCERROR=yes @@ -25,11 +27,11 @@ do-build: cd ${WRKSRC}/pfstatd && ${SETENV} ${MAKE_ENV} ${MAKE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/pfstat.conf.example ${PREFIX}/share/examples/pfstat - ${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/pfstat.conf.example ${DESTDIR}${PREFIX}/share/examples/pfstat + ${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../graphics/gd/buildlink3.mk" .include "../../mk/pf.buildlink3.mk" |