summaryrefslogtreecommitdiff
path: root/sysutils/user_cygwin/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-03-06 12:37:15 +0000
committerobache <obache@pkgsrc.org>2013-03-06 12:37:15 +0000
commit755b0be986937ec34715cf155e55657edc4eaa0e (patch)
tree891b405f7f83f10bf38020336b4d78fea5158b81 /sysutils/user_cygwin/Makefile
parentfcafb9ec6937dd112bdce55f074a7cf3d7840234 (diff)
downloadpkgsrc-755b0be986937ec34715cf155e55657edc4eaa0e.tar.gz
Import user-20130306 as sysutils/user_cygwin.
This implements a subset of useradd(8)/groupadd(8) functionality on Cygwin that is sufficient for pkgsrc use.
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"