pkgsrc/sysutils/user_darwin/Makefile
jperkin 02b10daeaf Rename the PKGNAME for the OPSYS-specific user packages to include the OPSYS,
so that they are correctly calculated as independent.

This avoids issues in bulk builds where the package version was taking
precedence and causing the wrong user package to be depended upon.
2013-07-12 10:41:58 +00:00

27 lines
740 B
Makefile

# $NetBSD: Makefile,v 1.12 2013/07/12 10:41:58 jperkin Exp $
#
DISTNAME= user-darwin-20130712
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= schmonz@NetBSD.org
COMMENT= Limited NetBSD-compatible useradd/groupadd commands
ONLY_FOR_PLATFORM= Darwin-*-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
NO_CONFIGURE= yes
NO_BUILD= yes
INSTALLATION_DIRS= sbin
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/useradd.sh ${DESTDIR}${PREFIX}/sbin/useradd
${INSTALL_SCRIPT} ${FILESDIR}/userdel.sh ${DESTDIR}${PREFIX}/sbin/userdel
${INSTALL_SCRIPT} ${FILESDIR}/groupadd.sh ${DESTDIR}${PREFIX}/sbin/groupadd
${INSTALL_SCRIPT} ${FILESDIR}/groupdel.sh ${DESTDIR}${PREFIX}/sbin/groupdel
.include "../../mk/bsd.pkg.mk"