summaryrefslogtreecommitdiff
path: root/sysutils/user_cygwin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/user_cygwin/Makefile')
-rw-r--r--sysutils/user_cygwin/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/user_cygwin/Makefile b/sysutils/user_cygwin/Makefile
new file mode 100644
index 00000000000..c272bb6cdca
--- /dev/null
+++ b/sysutils/user_cygwin/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2013/03/06 12:37:15 obache Exp $
+#
+
+DISTNAME= user-20130306
+CATEGORIES= sysutils
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= obache@NetBSD.org
+COMMENT= Limited NetBSD-compatible useradd/groupadd commands
+
+ONLY_FOR_PLATFORM= Cygwin-*-*
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+INSTALLATION_DIRS= sbin
+
+do-install:
+.for f in useradd userdel groupadd groupdel
+ ${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh ${DESTDIR}${PREFIX}/sbin/${f}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"