1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/sysutils/qjail2/Makefile
Martin Wilke f1873dcd90 - Stage support
PR:		189894
Submitted by:	Joe Barbish <qjail@a1poweruser.com> (maintainer)
2014-05-25 10:13:38 +00:00

45 lines
967 B
Makefile

# Created by: Joe Barbish
# $FreeBSD$
PORTNAME= qjail
PORTVERSION= 2.2
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}
PKGNAMESUFFIX= 2
MAINTAINER= qjail@a1poweruser.com
COMMENT= Utility to quickly deploy and manage jails
USES= tar:bzip2
NEED_ROOT= yes
NO_BUILD= yes
CONFLICTS_INSTALL= qjail-1.* qjail-3.*
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/qjail \
${STAGEDIR}${PREFIX}/bin
.for i in qjail2 qjail-jail2
${INSTALL_SCRIPT} ${WRKSRC}/${i} \
${STAGEDIR}${PREFIX}/etc/rc.d
.endfor
.for i in qjail.conf.sample qjail.portsnap.conf
${INSTALL_DATA} ${WRKSRC}/${i} \
${STAGEDIR}${PREFIX}/etc
.endfor
.for i in qjail qjail-intro qjail.conf 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>