diff options
author | John Marino <marino@FreeBSD.org> | 2014-10-07 20:27:29 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-10-07 20:27:29 +0000 |
commit | 10d3e38de0a904646d4cd308eec93b3417796b47 (patch) | |
tree | 58a861a55e3d8319e94617afe1128d1f8f5b67e8 /emulators/hyperv-is | |
parent | 3eca6b9c1fd501287a412f5899c50f26d2c9d7e0 (diff) |
Notes
Diffstat (limited to 'emulators/hyperv-is')
-rw-r--r-- | emulators/hyperv-is/Makefile | 14 | ||||
-rw-r--r-- | emulators/hyperv-is/pkg-plist | 14 |
2 files changed, 15 insertions, 13 deletions
diff --git a/emulators/hyperv-is/Makefile b/emulators/hyperv-is/Makefile index 632182156998..cf4278c4de16 100644 --- a/emulators/hyperv-is/Makefile +++ b/emulators/hyperv-is/Makefile @@ -2,8 +2,8 @@ PORTNAME= hyperv-is PORTVERSION= 1.1 -PORTREVISION= 1 -CATEGORIES= emulators kld +PORTREVISION= 2 +CATEGORIES= emulators MASTER_SITES= https://github.com/${MSLINK}/ DISTNAME= ${DNAME} @@ -12,7 +12,7 @@ COMMENT= FreeBSD Integration Service on Hyper-v ONLY_FOR_ARCHS= amd64 i386 -USES+= uidfix +USES= kmod uidfix BIS= ${PORTVERSION} MSBASE= FreeBSDonHyper-V/Hyperv-Ports/raw/hyperv-is-master MSLINK= ${MSBASE}/BIS-${BIS}/FreeBSD-${OSREL}/ports @@ -44,7 +44,7 @@ FILE_100= hv-kvp-${BIS} DNAME= ${FILE_${OSREL:S/.//}} .if empty(DNAME) -IGNORE= OSREL ${OSREL} not supported +IGNORE?= OSREL ${OSREL} not supported .endif post-patch: @@ -52,13 +52,15 @@ post-patch: ${WRKSRC}/etc/rc.d/hv_kvpd pre-install: - @${MKDIR} ${STAGEDIR}/boot/kernel \ + @${MKDIR} ${STAGEDIR}${PREFIX} \ ${STAGEDIR}/etc/rc.d \ ${STAGEDIR}/usr/local/hyperv/scripts post-install: ${RM} ${STAGEDIR}/boot/kernel/linker.hints ${MV} ${STAGEDIR}/etc/rc.d/* ${STAGEDIR}${PREFIX}/etc/rc.d - +.if ${PREFIX} != /usr/local + ${MV} ${STAGEDIR}/usr/local/* ${STAGEDIR}${PREFIX} +.endif .include <bsd.port.post.mk> diff --git a/emulators/hyperv-is/pkg-plist b/emulators/hyperv-is/pkg-plist index 8f2620c416a7..4a52178b58af 100644 --- a/emulators/hyperv-is/pkg-plist +++ b/emulators/hyperv-is/pkg-plist @@ -1,15 +1,15 @@ hyperv/scripts/hv_get_dhcp_info hyperv/scripts/hv_get_dns_info hyperv/scripts/hv_set_ifconfig -%%A%%/boot/kernel/hv_ata_pci_disengage.ko -%%A%%/boot/kernel/hv_netvsc.ko -%%A%%/boot/kernel/hv_storvsc.ko -%%A%%/boot/kernel/hv_utils.ko -%%A%%/boot/kernel/hv_vmbus.ko -%%B%%/boot/kernel/hv_kvp.ko +%%A%%/boot/modules/hv_ata_pci_disengage.ko +%%A%%/boot/modules/hv_netvsc.ko +%%A%%/boot/modules/hv_storvsc.ko +%%A%%/boot/modules/hv_utils.ko +%%A%%/boot/modules/hv_vmbus.ko +%%B%%/boot/modules/hv_kvp.ko etc/rc.d/hv_kvpd -%%A%%man/man1/hyperv-is.1.gz %%B%%sbin/hv_kvp_daemon +%%A%%man/man1/hyperv-is.1.gz %%A%%man/man4/hv_ata_pci_disengage.4.gz man/man4/hv_kvp.4.gz %%A%%man/man4/hv_netvsc.4.gz |