aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/userneu-devel/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-30 20:10:05 +0800
committeredwin <edwin@FreeBSD.org>2003-09-30 20:10:05 +0800
commitf97565e6483d5f612bfbe84c8fce913451981d9f (patch)
tree7062145dc31c6ed80daa671f80b0b526b74a36a0 /sysutils/userneu-devel/Makefile
parentb0e4f7cf54942866c18f193414e477b4b46030e0 (diff)
downloadfreebsd-ports-graphics-f97565e6483d5f612bfbe84c8fce913451981d9f.tar.gz
freebsd-ports-graphics-f97565e6483d5f612bfbe84c8fce913451981d9f.tar.zst
freebsd-ports-graphics-f97565e6483d5f612bfbe84c8fce913451981d9f.zip
[NEW PORT] sysutils/userneu: Account management and creation tool
'userneu' is a Perl script that parses a list of usernames and additional information (such as the real name or other information to be put in the GECOS field in /etc/passwd) and creates Unix accounts and (if desired) Samba accounts as well. If the script stumbles upon duplicate user names it can append random characters to the username until it fits. WWW: http://btmdx8.mat.uni-bayreuth.de/~johannes/code.html PR: ports/56753 Submitted by: Andreas Fehlner <fehlner@gmx.de>
Diffstat (limited to 'sysutils/userneu-devel/Makefile')
-rw-r--r--sysutils/userneu-devel/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/userneu-devel/Makefile b/sysutils/userneu-devel/Makefile
new file mode 100644
index 00000000000..30bbdd40e90
--- /dev/null
+++ b/sysutils/userneu-devel/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: userneu
+# Date created: 7 August 2003
+# Whom: Andreas Fehlner (fehlner@gmx.de)
+#
+# $FreeBSD$
+#
+
+PORTNAME= userneu
+PORTVERSION= 1.36
+CATEGORIES= sysutils
+MASTER_SITES= http://btmdx8.mat.uni-bayreuth.de/~johannes/files/userneu/ \
+ http://home.arcor.de/fehlner/inhalt/download/
+
+MAINTAINER= fehlner@gmx.de
+COMMENT= Account management and creation tool
+
+RUN_DEPENDS= \
+${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5/ \
+${SITE_PERL}/Crypt/RandPasswd.pm:${PORTSDIR}/security/p5-Crypt-RandPasswd/ \
+${SITE_PERL}/mach/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5/
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+GLOCATE= ${PREFIX}/${PORTNAME}
+USE_PERL5= yes
+NO_BUILD= yes
+
+USE_IMAGE= yes
+MANCOMPRESSED= no
+MAN8= userneu.8 userquick.8
+
+DOCS= BUGS CHANGES COPYING CREDITS REQUIREMENTS TODO doc/README doc/INSTALL doc/userneu.pod doc/userquick.pod
+EXAMPLES= list-sample
+
+do-install:
+ ${MKDIR} ${GLOCATE}
+ ${INSTALL_MAN} ${WRKSRC}/doc/userneu.8 ${PREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/doc/userquick.8 ${PREFIX}/man/man8
+ ${INSTALL_SCRIPT} ${WRKSRC}/userneu.pl ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/userquick.pl ${PREFIX}/sbin
+ @${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+
+.include <bsd.port.mk>