summaryrefslogtreecommitdiff
path: root/sysutils/user_darwin/Makefile
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-04-01 02:58:32 +0000
committerdanw <danw@pkgsrc.org>2004-04-01 02:58:32 +0000
commit1b7d430c4a52b76b1f4f45bdde76624963f4c576 (patch)
treeb98362ed20d40814563ecd5dae3c8b705f64f3c7 /sysutils/user_darwin/Makefile
parent22cc61d2c328165b40e5168538187ef975a4cf3b (diff)
downloadpkgsrc-1b7d430c4a52b76b1f4f45bdde76624963f4c576.tar.gz
This implements a subset of useradd(8)/groupadd(8) functionality on
Darwin that is sufficient for pkgsrc use.
Diffstat (limited to 'sysutils/user_darwin/Makefile')
-rw-r--r--sysutils/user_darwin/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/user_darwin/Makefile b/sysutils/user_darwin/Makefile
new file mode 100644
index 00000000000..850154510fb
--- /dev/null
+++ b/sysutils/user_darwin/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/01 02:58:32 danw Exp $
+#
+
+DISTNAME= user-20040331
+CATEGORIES= sysutils
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= danw@NetBSD.org
+COMMENT= Limited NetBSD-compatible useradd/groupadd commands
+
+ONLY_FOR_PLATFORM= Darwin-*-*
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+NO_CHECKSUM= yes
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+NO_TOOLS= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${FILESDIR}/useradd.sh ${PREFIX}/sbin/useradd
+ ${INSTALL_SCRIPT} ${FILESDIR}/userdel.sh ${PREFIX}/sbin/userdel
+ ${INSTALL_SCRIPT} ${FILESDIR}/groupadd.sh ${PREFIX}/sbin/groupadd
+ ${INSTALL_SCRIPT} ${FILESDIR}/groupdel.sh ${PREFIX}/sbin/groupdel
+
+.include "../../mk/bsd.pkg.mk"