freebsd-dev/usr.sbin/newsyslog/newsyslog.conf.d/Makefile
Emmanuel Vadot 26ea904caa pkgbase: Create a FreeBSD-newsyslog package
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
2021-12-21 10:17:42 +01:00

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>