aboutsummaryrefslogtreecommitdiff
path: root/sysutils/jailuser/Makefile
blob: d906917ece2171024224e7475eb418768bbe3b23 (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
# New ports collection makefile for:	jailuser
# Date created:				10 Jun 2004
# Whom:					Vaida Bogdan <vaida.bogdan@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	jailuser
PORTVERSION=	1.9
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	SF/jail/jail/version%20${PORTVERSION}
DISTNAME=	jail_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Builds a chrooted environment

WRKSRC=		${WRKDIR}/jail_1-9_stable/src
USE_PERL5=	yes

post-patch:
	@${SED} -e 's!/usr/bin/perl!${PERL}!g' ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp
	@${MV} ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/CHANGELOG ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/INSTALL ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/SECURITY ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/VERSION ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/download ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/features ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../doc/intro ${DOCSDIR}
.endif

	@${SED} -e 's!PREFIX!${PREFIX}!g' ${.CURDIR}/pkg-message

.include <bsd.port.mk>