26ea904caa
This allow one to install it without having to install FreeBSD-utilities. While here put some newsyslog.d file in their own package. MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33456
48 lines
708 B
Makefile
48 lines
708 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= newsyslog
|
|
CONFSDIR= /etc/newsyslog.conf.d
|
|
|
|
CONFGROUPS= CONFS
|
|
CONFS=
|
|
|
|
.if ${MK_FTP} != "no"
|
|
CONFGROUPS+= FTP
|
|
FTP+= ftp.conf
|
|
FTPPACKAGE= ftpd
|
|
FTPDIR= /etc/newsyslog.conf.d
|
|
.endif
|
|
|
|
.if ${MK_LPR} != "no"
|
|
CONFS+= lpr.conf
|
|
.endif
|
|
|
|
.if ${MK_OFED} != "no"
|
|
CONFS+= opensm.conf
|
|
.endif
|
|
|
|
.if ${MK_PF} != "no"
|
|
CONFGROUPS+= PF
|
|
PF+= pf.conf
|
|
PFPACKAGE= pf
|
|
PFDIR= /etc/newsyslog.conf.d
|
|
.endif
|
|
|
|
.if ${MK_PPP} != "no"
|
|
CONFGROUPS+= PPP
|
|
PPP+= ppp.conf
|
|
PPPPACKAGE= ppp
|
|
PPPDIR= /etc/newsyslog.conf.d
|
|
.endif
|
|
|
|
.if ${MK_SENDMAIL} != "no"
|
|
CONFGROUPS+= SENDMAIL
|
|
SENDMAIL+= sendmail.conf
|
|
SENDMAILPACKAGE= sendmail
|
|
SENDMAILDIR= /etc/newsyslog.conf.d
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|