aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/enteruser/Makefile
blob: 48676e7781c2aec9edb47415fc68fa7c1424234f (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
PORTNAME=	enteruser
PORTVERSION=	1.0
CATEGORIES=	sysutils
MASTER_SITES=	http://dannyman.toldme.com/warez/
DISTNAME=	enteruser
EXTRACT_SUFX=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	Extensible script for adding new users
WWW=		https://web.archive.org/web/20041211013021/http://www.daemonnews.org/199908/enteruser.html

LICENSE=	BSD2CLAUSE

USES=		perl5 shebangfix
USE_PERL5=	run
SHEBANG_FILES=	enteruser

NO_ARCH=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

do-extract:
	@${MKDIR} ${WRKSRC}
	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/enteruser ${STAGEDIR}${PREFIX}/sbin
	@cd ${STAGEDIR}${PREFIX}/sbin && ${LN} -sf enteruser queueuser

.include <bsd.port.mk>