Deleted Added
full compact
Makefile (302408) Makefile (304515)
1# $FreeBSD: stable/11/sbin/resolvconf/Makefile 298107 2016-04-16 07:45:30Z gjb $
1# $FreeBSD: stable/11/sbin/resolvconf/Makefile 304515 2016-08-20 02:06:59Z pfg $
2
3PACKAGE=runtime
4DIST= ${.CURDIR}/../../contrib/openresolv
5.PATH: ${DIST}
6
7SCRIPTS= resolvconf
8
9FILES= libc dnsmasq named pdnsd pdns_recursor unbound

--- 4 unchanged lines hidden (view full) ---

14CLEANFILES= ${SCRIPTS} ${FILES} ${MAN}
15
16SYSCONFDIR= /etc
17RCDIR= ${SYSCONFDIR}/rc.d
18VARDIR= /var/run/resolvconf
19
20# We don't assume to restart the services in /sbin. So, though
21# our service(8) is in /usr/sbin, we can use it, here.
2
3PACKAGE=runtime
4DIST= ${.CURDIR}/../../contrib/openresolv
5.PATH: ${DIST}
6
7SCRIPTS= resolvconf
8
9FILES= libc dnsmasq named pdnsd pdns_recursor unbound

--- 4 unchanged lines hidden (view full) ---

14CLEANFILES= ${SCRIPTS} ${FILES} ${MAN}
15
16SYSCONFDIR= /etc
17RCDIR= ${SYSCONFDIR}/rc.d
18VARDIR= /var/run/resolvconf
19
20# We don't assume to restart the services in /sbin. So, though
21# our service(8) is in /usr/sbin, we can use it, here.
22CMD1= \1 onestatus >/dev/null 2>\&1
23CMD2= \1 restart
24RESTARTCMD= /usr/sbin/service ${CMD1} \&\& /usr/sbin/service ${CMD2}
22CMD1_WITH_ARG= \1 onestatus >/dev/null 2>\&1
23CMD2_WITH_ARG= \1 restart
24RESTARTCMD_WITH_ARG= /usr/sbin/service ${CMD1_WITH_ARG} \&\& /usr/sbin/service ${CMD2_WITH_ARG}
25CMD1= \\$$1 onestatus >/dev/null 2>\&1
26CMD2= \\$$1 restart
27RESTARTCMD= "/usr/sbin/service ${CMD1} \&\& /usr/sbin/service ${CMD2}"
25
26.for f in ${SCRIPTS} ${FILES} ${MAN}
27${f}: ${f}.in
28 sed -e 's:@PREFIX@::g' \
29 -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' \
30 -e 's:@LIBEXECDIR@:${FILESDIR}:g' \
31 -e 's:@VARDIR@:${VARDIR}:g' \
28
29.for f in ${SCRIPTS} ${FILES} ${MAN}
30${f}: ${f}.in
31 sed -e 's:@PREFIX@::g' \
32 -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' \
33 -e 's:@LIBEXECDIR@:${FILESDIR}:g' \
34 -e 's:@VARDIR@:${VARDIR}:g' \
32 -e 's:@RESTARTCMD \(.*\)@:${RESTARTCMD}:g' \
35 -e 's:@RESTARTCMD \(.*\)@:${RESTARTCMD_WITH_ARG}:g' \
36 -e 's:@RESTARTCMD@:${RESTARTCMD}:g' \
33 -e 's:@RCDIR@:${RCDIR}:g' \
34 -e 's: vpn : ng[0-9]*&:g' \
35 ${DIST}/$@.in > $@
36.endfor
37
38.include <bsd.prog.mk>
37 -e 's:@RCDIR@:${RCDIR}:g' \
38 -e 's: vpn : ng[0-9]*&:g' \
39 ${DIST}/$@.in > $@
40.endfor
41
42.include <bsd.prog.mk>