Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= libvirt |
4 |
PORTNAME= libvirt |
5 |
PORTVERSION= 1.2.20 |
5 |
PORTVERSION= 1.2.20 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= devel |
7 |
CATEGORIES= devel |
7 |
MASTER_SITES= http://libvirt.org/sources/ \ |
8 |
MASTER_SITES= http://libvirt.org/sources/ \ |
8 |
ftp://libvirt.org/libvirt/ |
9 |
ftp://libvirt.org/libvirt/ |
Lines 86-91
Link Here
|
86 |
SHLIB_VER=${SHLIB_VER} |
87 |
SHLIB_VER=${SHLIB_VER} |
87 |
PORTDOCS= * |
88 |
PORTDOCS= * |
88 |
|
89 |
|
|
|
90 |
SUB_FILES= pkg-message |
91 |
|
89 |
.include <bsd.port.options.mk> |
92 |
.include <bsd.port.options.mk> |
90 |
|
93 |
|
91 |
.if (exists(/usr/sbin/bhyve) && ${OSVERSION} >= 100051) |
94 |
.if (exists(/usr/sbin/bhyve) && ${OSVERSION} >= 100051) |
Lines 107-117
Link Here
|
107 |
@${MV} ${WRKSRC}/daemon/libvirtd.conf ${WRKSRC}/daemon/libvirtd.conf.sample |
110 |
@${MV} ${WRKSRC}/daemon/libvirtd.conf ${WRKSRC}/daemon/libvirtd.conf.sample |
108 |
@${REINPLACE_CMD} -e 's|libvirtd\.conf|libvirtd.conf.sample|' \ |
111 |
@${REINPLACE_CMD} -e 's|libvirtd\.conf|libvirtd.conf.sample|' \ |
109 |
${WRKSRC}/daemon/Makefile.in |
112 |
${WRKSRC}/daemon/Makefile.in |
|
|
113 |
|
114 |
@${REINPLACE_CMD} -e 's|ln -s ../default.xml|true|' \ |
115 |
-e 's|$$(DESTDIR)$$(confdir)/qemu/networks|${STAGEDIR}${EXAMPLESDIR}/networks|' \ |
116 |
${WRKSRC}/src/Makefile.in |
110 |
|
117 |
|
111 |
@${MV} ${WRKSRC}/src/libvirt.conf ${WRKSRC}/src/libvirt.conf.sample |
118 |
@${MV} ${WRKSRC}/src/libvirt.conf ${WRKSRC}/src/libvirt.conf.sample |
112 |
@${REINPLACE_CMD} -e 's|conf_DATA = libvirt.conf|conf_DATA = libvirt.conf.sample|' \ |
119 |
@${REINPLACE_CMD} -e 's|conf_DATA = libvirt.conf|conf_DATA = libvirt.conf.sample|' \ |
113 |
${WRKSRC}/src/Makefile.in |
120 |
${WRKSRC}/src/Makefile.in |
114 |
|
121 |
|
|
|
122 |
@${MV} ${WRKSRC}/src/locking/virtlockd.conf ${WRKSRC}/src/locking/virtlockd.conf.sample |
123 |
@${REINPLACE_CMD} -e 's|virtlockd.conf |virtlockd.conf.sample |' \ |
124 |
-e 's|virtlockd.conf$$|virtlockd.conf.sample|' \ |
125 |
${WRKSRC}/src/Makefile.in |
126 |
|
115 |
@${MV} ${WRKSRC}/src/qemu/qemu.conf ${WRKSRC}/src/qemu/qemu.conf.sample |
127 |
@${MV} ${WRKSRC}/src/qemu/qemu.conf ${WRKSRC}/src/qemu/qemu.conf.sample |
116 |
@${REINPLACE_CMD} -e 's|qemu.conf |qemu.conf.sample |' \ |
128 |
@${REINPLACE_CMD} -e 's|qemu.conf |qemu.conf.sample |' \ |
117 |
${WRKSRC}/src/Makefile.in |
129 |
${WRKSRC}/src/Makefile.in |
Lines 128-133
Link Here
|
128 |
${WRKSRC}/src/Makefile.in |
140 |
${WRKSRC}/src/Makefile.in |
129 |
|
141 |
|
130 |
post-install: |
142 |
post-install: |
|
|
143 |
@${RMDIR} ${STAGEDIR}${EXAMPLESDIR}/networks/autostart |
144 |
@${MKDIR} ${STAGEDIR}${ETCDIR}/qemu/networks/autostart |
131 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
145 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
132 |
.for doc in AUTHORS ChangeLog INSTALL NEWS README TODO |
146 |
.for doc in AUTHORS ChangeLog INSTALL NEWS README TODO |
133 |
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} |
147 |
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} |