mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
17e550ca2f
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
58 lines
1.6 KiB
Makefile
58 lines
1.6 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
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://btw23.de/johannes/files/userneu/\
|
|
http://home.arcor.de/fehlner/fbsd_ports/\
|
|
http://home.arcor.de/teambushido/fbsd_ports/
|
|
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/
|
|
|
|
USE_PERL5_RUN= yes
|
|
NO_BUILD= yes
|
|
|
|
CONFLICTS= userneu-1.*
|
|
|
|
SCRIPTS= userneu.pl smbrepair.pl
|
|
MAN5= userneu.conf.5
|
|
MAN8= userneu.8
|
|
LDOCS1= BUGS CHANGES CREDITS REQUIREMENTS TODO
|
|
LDOCS2= README INSTALL userneu.pod userneu.conf.pod
|
|
PORTDOCS= ${LDOCS1} ${LDOCS2}
|
|
EXAMPLES= userlist userneu.conf.example
|
|
|
|
.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}/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} ${LDOCS1} ${DOCSDIR}
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${LDOCS2} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|