1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/sysutils/iocage/Makefile
Bartek Rutkowski b819802fb6 sysutils/iocage: update 1.7.4 -> 1.7.5
- Fix jails import bugs

MFH:		2016Q3
2016-07-13 10:04:28 +00:00

33 lines
800 B
Makefile

# Created by: Bartek Rutkowski <robak@FreeBSD.org>
# $FreeBSD$
PORTNAME= iocage
PORTVERSION= 1.7.5
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>