freebsd-dev/usr.bin/passwd/Makefile

28 lines
518 B
Makefile
Raw Normal View History

# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
1999-08-28 01:08:13 +00:00
# $FreeBSD$
1994-05-27 12:33:43 +00:00
.include <src.opts.mk>
PROG = passwd
BINOWN = root
BINMODE = 4555
DPADD = ${LIBPAM}
LDADD = ${MINUSLPAM}
.if ${MK_NIS} != "no"
LINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
MLINKS = passwd.1 yppasswd.1
2004-12-29 08:16:39 +00:00
.endif
beforeinstall:
.for i in passwd yppasswd
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
chflags noschg ${DESTDIR}${BINDIR}/$i || true
.endfor
.if !defined(NO_FSCHG)
afterinstall:
-chflags schg ${DESTDIR}${BINDIR}/passwd
.endif
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>