freebsd-ports/sysutils/userneu/Makefile
Martin Matuska 17e550ca2f Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
2010-09-21 16:08:11 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: userneu
# Date created: 7 August 2003
# Whom: Andreas Fehlner (fehlner@gmx.de)
#
# $FreeBSD$
#
PORTNAME= userneu
PORTVERSION= 1.38
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://btw23.de/johannes/userneu/ \
http://home.arcor.de/fehlner/fbsd_ports/ \
http://home.arcor.de/teambushido/fbsd_ports/
DISTNAME= ${PORTNAME}-${PORTVERSION}_1
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
USE_PERL5_RUN= yes
NO_BUILD= yes
CONFLICTS= userneu-devel-[0-9]*
SCRIPTS= userneu.pl userquick.pl smbrepair.pl
MAN8= userneu.8 userquick.8
DOCS= BUGS CHANGES CREDITS REQUIREMENTS TODO \
doc/README doc/INSTALL doc/userneu.pod doc/userquick.pod
EXAMPLES= list-sample
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
.endif
do-install:
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN8} ${MANPREFIX}/man/man8
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/sbin
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>