1219738Sume# $FreeBSD: releng/11.0/sbin/resolvconf/Makefile 298107 2016-04-16 07:45:30Z gjb $ 2219738Sume 3298107SgjbPACKAGE=runtime 4219738SumeDIST= ${.CURDIR}/../../contrib/openresolv 5219738Sume.PATH: ${DIST} 6219738Sume 7219738SumeSCRIPTS= resolvconf 8219738Sume 9282434SgjbFILES= libc dnsmasq named pdnsd pdns_recursor unbound 10219738SumeFILESDIR= /libexec/resolvconf 11219738Sume 12219738SumeMAN= resolvconf.conf.5 resolvconf.8 13219738Sume 14219738SumeCLEANFILES= ${SCRIPTS} ${FILES} ${MAN} 15219738Sume 16219738SumeSYSCONFDIR= /etc 17219738SumeRCDIR= ${SYSCONFDIR}/rc.d 18219738SumeVARDIR= /var/run/resolvconf 19219738Sume 20219738Sume# We don't assume to restart the services in /sbin. So, though 21219738Sume# our service(8) is in /usr/sbin, we can use it, here. 22219738SumeCMD1= \1 onestatus >/dev/null 2>\&1 23219738SumeCMD2= \1 restart 24219738SumeRESTARTCMD= /usr/sbin/service ${CMD1} \&\& /usr/sbin/service ${CMD2} 25219738Sume 26219738Sume.for f in ${SCRIPTS} ${FILES} ${MAN} 27219738Sume${f}: ${f}.in 28219738Sume sed -e 's:@PREFIX@::g' \ 29219738Sume -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' \ 30219738Sume -e 's:@LIBEXECDIR@:${FILESDIR}:g' \ 31219738Sume -e 's:@VARDIR@:${VARDIR}:g' \ 32219738Sume -e 's:@RESTARTCMD \(.*\)@:${RESTARTCMD}:g' \ 33219738Sume -e 's:@RCDIR@:${RCDIR}:g' \ 34219738Sume -e 's: vpn : ng[0-9]*&:g' \ 35219738Sume ${DIST}/$@.in > $@ 36219738Sume.endfor 37219738Sume 38219738Sume.include <bsd.prog.mk> 39