summaryrefslogtreecommitdiff
path: root/sysutils/jailuser/Makefile
blob: 0dd207a406b22c2002ce5b66d33b3a4cb0f3ef7e (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
# Created by: Vaida Bogdan <vaida.bogdan@gmail.com>
# $FreeBSD$

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

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

LICENSE=	GPLv2

WRKSRC=		${WRKDIR}/jail_1-9_stable/src
WRKDOC=		${WRKDIR}/jail_1-9_stable/doc
USES=		perl5

OPTIONS_DEFINE=	DOCS
PORTDOCS=	CHANGELOG INSTALL README SECURITY VERSION \
		download features intro

SUB_FILES=	pkg-message

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!' \
		-e 's!gcc!$(CC)!' ${WRKSRC}/Makefile

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDOC}/,} ${DOCSDIR}
.endif
	@${ECHO_MSG} ; ${CAT} ${PKGMESSAGE} ; ${ECHO_MSG}

.include <bsd.port.mk>