diff options
author | obache <obache@pkgsrc.org> | 2010-09-29 10:42:40 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-09-29 10:42:40 +0000 |
commit | 2972e9d0ff8875bf831bf67259fff75b405949c4 (patch) | |
tree | 15209fd70d9f1021b53f50cb4bf24dd4125cd9c9 /net | |
parent | 68241334792a58635368334f54ffcafa2e13f3c3 (diff) | |
download | pkgsrc-2972e9d0ff8875bf831bf67259fff75b405949c4.tar.gz |
user-destdir support.
Diffstat (limited to 'net')
-rw-r--r-- | net/nagios-nrpe/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/nagios-nrpe/Makefile b/net/nagios-nrpe/Makefile index 552902a5563..8e0af635088 100644 --- a/net/nagios-nrpe/Makefile +++ b/net/nagios-nrpe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2010/09/29 10:40:19 obache Exp $ +# $NetBSD: Makefile,v 1.13 2010/09/29 10:42:40 obache Exp $ # DISTNAME= nrpe-2.12 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/nagios/ COMMENT= Nagios remote program execution daemon +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" GNU_CONFIGURE= yes @@ -41,9 +43,9 @@ INSTALLATION_DIRS= sbin libexec/nagios share/examples/nagios share/examples/rc.d .include "options.mk" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin - ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios - ${INSTALL_DATA} ${WRKSRC}/sample-config/nrpe.cfg ${PREFIX}/share/examples/nagios - ${INSTALL_SCRIPT} ${WRKDIR}/nrpe ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${DESTDIR}${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${DESTDIR}${PREFIX}/libexec/nagios + ${INSTALL_DATA} ${WRKSRC}/sample-config/nrpe.cfg ${DESTDIR}${PREFIX}/share/examples/nagios + ${INSTALL_SCRIPT} ${WRKDIR}/nrpe ${DESTDIR}${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR} .include "../../mk/bsd.pkg.mk" |