+# $Id$
-STRIP=
-PROG= adduser
+SCRIPTS= adduser.perl rmuser.perl addgroup.tcl rmgroup.sh
+MAN8= adduser.8 rmuser.8 addgroup.8 rmgroup.8
-
-afterinstall:
- install -c -o ${BINOWN} -g ${BINGRP} -m 444 userids /etc
- install -c -o ${BINOWN} -g ${BINGRP} -m 444 adduser.conf /etc
-
-cleandir:
-clean:
-obj:
+beforeinstall:
+.for script in ${SCRIPTS}
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${.CURDIR}/${script} ${DESTDIR}${BINDIR}/${script:R}
+.endfor
.include <bsd.prog.mk>
-