aboutsummaryrefslogtreecommitdiff
path: root/sysutils/userneu/Makefile
blob: 60783292696d09160ac15146ee166235efd329ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Created by: Andreas Fehlner (fehlner@gmx.de)

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:security/p5-Crypt-PasswdMD5 \
		p5-Crypt-RandPasswd>=0:security/p5-Crypt-RandPasswd

USES=		perl5 shebangfix
USE_PERL5=	run
NO_BUILD=	yes
NO_ARCH=	yes
SHEBANG_FILES=	userquick.pl smbrepair.pl userneu.pl

CONFLICTS=	userneu-devel

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

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}

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>