eb3c2b436e
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2019/11/03 11:45:43 rillig Exp $
|
|
#
|
|
|
|
PKGNAME= nagios-plugin-milter-${DISTNAME:C/.*-//}
|
|
PKGREVISION= 1
|
|
DISTNAME= check_milter-0.2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ftp.espci.fr/pub/nagios-local/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= manu@NetBSD.org
|
|
HOMEPAGE= http://ftp.espci.fr/pub/nagios-local/
|
|
COMMENT= Milter monitoring plugin for Nagios
|
|
LICENSE= modified-bsd
|
|
|
|
INSTALLATION_DIRS+= libexec/nagios
|
|
|
|
BUILD_DEFS+= NAGIOS_GROUP
|
|
PKG_GROUPS_VARS= NAGIOS_GROUP
|
|
PKG_GROUPS= ${NAGIOS_GROUP}
|
|
|
|
# The default `smmsp' username and group match the ones hardcoded
|
|
# into mail/sendmail/Makefile.
|
|
#
|
|
SMMSP_USER?= smmsp
|
|
BUILD_DEFS+= SMMSP_USER
|
|
PKG_GROUPS_VARS= SMMSP_USER
|
|
PKG_USERS_VARS= SMMSP_USER
|
|
PKG_GROUPS= ${SMMSP_USER}
|
|
PKG_USERS= ${SMMSP_USER}:${SMMSP_USER}
|
|
PKG_GECOS.${SMMSP_USER}= Sendmail Message Submission Program
|
|
|
|
SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_milter \
|
|
${SMMSP_USER} ${NAGIOS_GROUP} 4554
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/check_milter \
|
|
${DESTDIR}${PREFIX}/libexec/nagios/
|
|
|
|
.include "../../mail/libmilter/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|