summaryrefslogtreecommitdiffstats
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-03-05 09:41:49 +0000
committerbapt <bapt@FreeBSD.org>2015-03-05 09:41:49 +0000
commit275a42273417d93ff5a762305d7c11e0e0c96026 (patch)
tree671571ee8839fa0938f1e3b5ef94977083e611bd /share/examples/Makefile
parent322768d261901255e860cf75828983d1e7d0df1e (diff)
downloadFreeBSD-src-275a42273417d93ff5a762305d7c11e0e0c96026.zip
FreeBSD-src-275a42273417d93ff5a762305d7c11e0e0c96026.tar.gz
Tag examples with targetted packages
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 3a4d1c4..433114b 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -212,6 +212,7 @@ XFILES+= libusb20/Makefile \
.if ${MK_BHYVE} != "no"
LDIRS+= bhyve
XFILES+= bhyve/vmrun.sh
+PACKAGE_bhyve/vmrun.sh= bhyve
.endif
.endif
@@ -232,7 +233,7 @@ copies:
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
-f ${.CURDIR}/../../etc/mtree/BSD.usr.dist -p ${DESTDIR}/usr
.for file in ${XFILES}
- ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
+ ${INSTALL} -T package=${PACKAGE_${file}:Uruntime} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}
.endfor
OpenPOWER on IntegriCloud