summaryrefslogtreecommitdiffstats
path: root/sysutils/enteruser/Makefile
blob: 5bebb121e94266295c9e2417dcaf3dccdb55c7ec (plain)
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
# New ports collection makefile for:  enteruser
# Date created:         19 Feb 2002
# Whom:                 Danny Howard <dannyman@toldme.com>
#
# $FreeBSD$
#

PORTNAME=	enteruser
PORTVERSION=	1.0
CATEGORIES=	sysutils
MASTER_SITES=	http://dannyman.toldme.com/warez/
DISTNAME=	enteruser
EXTRACT_SUFX=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Extensible script for adding new users

USE_PERL5=	yes
NO_WRKSUBDIR=	true
NO_BUILD=	true

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

do-patch:
	@${REINPLACE_CMD} -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/enteruser

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/enteruser ${PREFIX}/sbin
	${LN} -f ${PREFIX}/sbin/enteruser ${PREFIX}/sbin/queueuser

.include <bsd.port.mk>
OpenPOWER on IntegriCloud