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/pfstat | |
parent | 6261a28683b873c0a44d8edb9d6b26296efc3873 (diff) | |
download | pkgsrc-2db3853ca34a623acbc177acc9db743d4c23d093.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/pfstat')
-rw-r--r-- | sysutils/pfstat/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
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" |