7700d92d4d
- Contains important functionality fix MFH: 2016Q1
32 lines
800 B
Makefile
32 lines
800 B
Makefile
# Created by: Bartek Rutkowski <robak@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= iocage
|
|
PORTVERSION= 1.7.4
|
|
DISTVERSIONPREFIX=v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= robak@FreeBSD.org
|
|
COMMENT= Full featured, no dependency Jail container manager
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|/usr/local/lib/iocage|${PREFIX}/lib/iocage|g" ${WRKSRC}/iocage
|
|
|
|
pre-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/iocage
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rc.d/iocage ${STAGEDIR}${PREFIX}/etc/rc.d
|
|
${INSTALL_SCRIPT} ${WRKSRC}/iocage ${STAGEDIR}${PREFIX}/sbin
|
|
(cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/iocage)
|
|
${INSTALL_MAN} ${WRKSRC}/iocage.8 ${STAGEDIR}${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|