1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

sysutils/iocage: fix missing include files

PR:		200486
Submitted by:	Kevin Bowling <kevin.bowling@kev009.com>
This commit is contained in:
Bartek Rutkowski 2015-05-28 12:25:18 +00:00
parent 364b8b1ec9
commit 0e3401b2a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387725
2 changed files with 25 additions and 4 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= iocage
PORTVERSION= 1.6.1
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= robak@FreeBSD.org
@ -14,10 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= pannon
PLIST_FILES= etc/rc.d/iocage \
sbin/iocage \
man/man8/iocage.8.gz
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900044
@ -26,9 +23,16 @@ BROKEN= This port works only on FreeBSD 9 and newer
NO_BUILD= 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.post.mk>

17
sysutils/iocage/pkg-plist Normal file
View File

@ -0,0 +1,17 @@
etc/rc.d/iocage
lib/iocage/ioc-cmd
lib/iocage/ioc-common
lib/iocage/ioc-configure
lib/iocage/ioc-globals
lib/iocage/ioc-hacks
lib/iocage/ioc-help
lib/iocage/ioc-image
lib/iocage/ioc-info
lib/iocage/ioc-network
lib/iocage/ioc-rc
lib/iocage/ioc-rctl
lib/iocage/ioc-snapshot
lib/iocage/ioc-upgrade
lib/iocage/ioc-zfs
man/man8/iocage.8.gz
sbin/iocage