aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/qjail/Makefile
blob: c131d619b959d906437471ccdfd84f9ff77212e6 (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
45
46
47
# Created by: Joe Barbish
# $FreeBSD$

PORTNAME=   qjail
PORTVERSION=    5.0
CATEGORIES= sysutils
MASTER_SITES=   SF/${PORTNAME}

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

IGNORE_FreeBSD_9=   Only for FreeBSD 11+
IGNORE_FreeBSD_10=  Only for FreeBSD 11+

do-install:
.for i in qjail qjail.vnet.be
    ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
.endfor
    ${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
    ${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>