freebsd-ports/sysutils/userneu-devel/Makefile
Edwin Groothuis 7c4387a32c [REPOCOPY WAITING] sysutils/userneu-devel: 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/userneu/userneu.html

	-Andreas Fehlner
	fehlner@gmx.de

PR:		ports/60584
Submitted by:	Andreas Fehlner <fehlner@gmx.de>
2004-01-16 01:33:12 +00:00

48 lines
1.4 KiB
Makefile

# New ports collection makefile for: userneu-devel
# Date created: 22 November 2003
# Whom: Andreas Fehlner (fehlner@gmx.de)
#
# $FreeBSD$
#
PORTNAME= userneu
PORTVERSION= 1.43
CATEGORIES= sysutils
MASTER_SITES= http://btmdx8.mat.uni-bayreuth.de/~johannes/files/userneu/ \
http://home.arcor.de/fehlner/inhalt/download/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${PORTVERSION}b
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}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5/
USE_PERL5= yes
NO_BUILD= yes
CONFLICTS= userneu
SCRIPTS= userneu.pl smbrepair.pl
MAN5= userneu.conf.5
MAN8= userneu.8
PORTDOCS= BUGS CHANGES CREDITS REQUIREMENTS TODO \
doc/README doc/INSTALL doc/userneu.pod doc/userneu.conf.pod
EXAMPLES= userlist userneu.conf.example
do-install:
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/sbin
${LN} ${PREFIX}/sbin/userneu.pl ${PREFIX}/sbin/userquick
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>