1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/userneu/Makefile
Mathieu Arnold 88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00

47 lines
1.3 KiB
Makefile

# Created by: Andreas Fehlner (fehlner@gmx.de)
# $FreeBSD$
PORTNAME= userneu
PORTVERSION= 1.38
DISTVERSIONSUFFIX= _1
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/
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>