diff options
author | ru <ru@FreeBSD.org> | 2001-04-07 11:21:35 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-04-07 11:21:35 +0000 |
commit | ef2dbc1fb0d429e26f0e990ddbb21ce322ef8d27 (patch) | |
tree | 056ad459e7adb0894bcede2c9ae571d853f222f1 /sbin | |
parent | 06174de8ff77027561ef0e58b4ba7aa59799f6c0 (diff) | |
download | FreeBSD-src-ef2dbc1fb0d429e26f0e990ddbb21ce322ef8d27.zip FreeBSD-src-ef2dbc1fb0d429e26f0e990ddbb21ce322ef8d27.tar.gz |
beforeinstall -> SCRIPTS.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/Makefile | 8 | ||||
-rw-r--r-- | sbin/nologin/Makefile | 7 | ||||
-rw-r--r-- | sbin/setkey/Makefile | 12 |
3 files changed, 7 insertions, 20 deletions
diff --git a/sbin/dhclient/Makefile b/sbin/dhclient/Makefile index 8f257c5..6020616 100644 --- a/sbin/dhclient/Makefile +++ b/sbin/dhclient/Makefile @@ -13,12 +13,10 @@ SRCS+= alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \ CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR} CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn +SCRIPTS= scripts/freebsd +SCRIPTSNAME= dhclient-script + MAN= dhclient.conf.5 dhclient.leases.5 dhcp-options.5 MAN+= dhclient.8 dhclient-script.8 -beforeinstall: - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${DIST_DIR}/client/scripts/freebsd \ - ${DESTDIR}${BINDIR}/dhclient-script - .include <bsd.prog.mk> diff --git a/sbin/nologin/Makefile b/sbin/nologin/Makefile index fae063b..b1611c0 100644 --- a/sbin/nologin/Makefile +++ b/sbin/nologin/Makefile @@ -1,12 +1,7 @@ # @(#)Makefile 8.2 (Berkeley) 4/22/94 # $FreeBSD$ +SCRIPTS=nologin.sh MAN= nologin.5 nologin.8 -nologin depend lint tags: - -beforeinstall: - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/nologin.sh ${DESTDIR}${BINDIR}/nologin - .include <bsd.prog.mk> diff --git a/sbin/setkey/Makefile b/sbin/setkey/Makefile index 1c5538b..0ce9f77 100644 --- a/sbin/setkey/Makefile +++ b/sbin/setkey/Makefile @@ -41,14 +41,6 @@ YFLAGS+=-d SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c CFLAGS+=-I${.CURDIR}/../../lib/libipsec -I${.CURDIR}/../../sys/netkey -SCRIPTS= scriptdump - -BINOWN = root -BINGRP = bin -BINMODE = 555 - -all: ${PROG} scriptdump - SRCS+=y.tab.h y.tab.h: parse.y CFLAGS+=-DIPSEC_DEBUG -DINET6 -DYY_NO_UNPUT -I. @@ -56,8 +48,10 @@ DPADD+= ${LIBIPSEC} LDADD+= -lipsec CLEANFILES+= scriptdump y.tab.h +SCRIPTS=scriptdump MAN= setkey.8 -LOCALPREFIX= /usr/local + +LOCALPREFIX= /usr scriptdump: scriptdump.pl sed -e 's#@LOCALPREFIX@#${LOCALPREFIX}#' < $> > scriptdump |