aboutsummaryrefslogtreecommitdiff
path: root/sysutils/qjail54/Makefile
blob: 430450b452e2aa13fbfb771d21be70ac5166e9d3 (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: Joe Barbish

PORTNAME=	qjail
PORTVERSION=	5.4
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}
PKGNAMESUFFIX=	54

MAINTAINER=	qjail1@a1poweruser.com
COMMENT=	Utility to quickly deploy and manage jails

LICENSE=	BERNE-CONVENTION
LICENSE_NAME=	Berne Convention
LICENSE_TEXT=	As per the international "Berne Convention" this work is \
		protected and all rights reserved. \
		Before qjail may be forked, written permission must be \
		obtained from the author <qjail1@a1poweruser.com>. \
		This work is provided 'AS IS' and you use it at your own risk. \
		Redistribution and use is permitted providing this license \
		notice is retained.
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=		tar:bzip2
NO_BUILD=	yes
NO_ARCH=	yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/qjail                      \
		${STAGEDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/qjail.bootime              \
		${STAGEDIR}${PREFIX}/etc/rc.d
	${INSTALL_DATA}   ${WRKSRC}/qjail.portsnap.conf        \
		${STAGEDIR}${PREFIX}/etc/qjail.portsnap.conf.sample
.for i in qjail qjail-intro qjail-howto qjail-vnet-howto \
	qjail-ipv6-testing
	${INSTALL_MAN}   ${WRKSRC}/${i}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.endfor

# note examples are mandatory. qjail will not function without them
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	(cd ${WRKSRC}/examples/ \
		&& ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>