freebsd-ports/sysutils/userneu/Makefile
Vanilla I. Shu e28d48b436 1: Stagify.
2: add LICENSE
3: use options helper.

Approved by:	portmgr@ (blanket approval)
2014-06-30 13:29:07 +00:00

46 lines
1.3 KiB
Makefile

# Created by: 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
LICENSE= GPLv2
RUN_DEPENDS= p5-Crypt-PasswdMD5>=0:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
p5-Crypt-RandPasswd>=0:${PORTSDIR}/security/p5-Crypt-RandPasswd
USES= perl5 shebangfix
USE_PERL5= run
NO_BUILD= yes
SHEBANG_FILES= userquick.pl smbrepair.pl userneu.pl
CONFLICTS= userneu-devel-[0-9]*
SCRIPTS= userneu.pl userquick.pl smbrepair.pl
DOCS= BUGS CHANGES CREDITS REQUIREMENTS TODO \
doc/README doc/INSTALL doc/userneu.pod doc/userquick.pod
EXAMPLES= list-sample
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
cd ${WRKSRC}/doc && ${INSTALL_MAN} userneu.8 userquick.8 ${STAGEDIR}${MANPREFIX}/man/man8
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>