diff options
author | seb <seb@pkgsrc.org> | 2007-11-26 22:14:19 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2007-11-26 22:14:19 +0000 |
commit | 7a3c5dca7b684619dc9cfe65445f07e07e116b35 (patch) | |
tree | 931af826def89d026e12f68eebcb7b9b9945c795 /net/nagios-nrpe/Makefile | |
parent | 40ba22b2806ec921e35abfbbf36b561106648abb (diff) | |
download | pkgsrc-7a3c5dca7b684619dc9cfe65445f07e07e116b35.tar.gz |
Get NAGIOS_USER and NAGIOS_GROUP definitions via mk/bsd.prefs.mk
Diffstat (limited to 'net/nagios-nrpe/Makefile')
-rw-r--r-- | net/nagios-nrpe/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/nagios-nrpe/Makefile b/net/nagios-nrpe/Makefile index 21e81663902..6a14685df46 100644 --- a/net/nagios-nrpe/Makefile +++ b/net/nagios-nrpe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/07/04 20:54:51 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2007/11/26 22:14:19 seb Exp $ # DISTNAME= nrpe-2.5.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/nagios/ COMMENT= Nagios remote program execution daemon +.include "../../mk/bsd.prefs.mk" + GNU_CONFIGURE= yes USE_TOOLS+= perl USE_PKGINSTALL= yes @@ -18,11 +20,8 @@ PKG_SYSCONFSUBDIR= nagios CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} -NAGIOS_USER?= nagios -NAGIOS_GROUP?= ${NAGIOS_USER} - -PKG_GROUPS+= ${NAGIOS_GROUP} -PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP} +PKG_GROUPS+= ${NAGIOS_GROUP} +PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP} PKG_GECOS.${NAGIOS_USER}= Nagios Runtime User PKG_GROUPS_VARS+= NAGIOS_GROUP |