2013-11-03 05:11:59 +00:00
|
|
|
# Created by: kmoore@FreeBSD.org
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= grub2-bhyve
|
2013-11-21 16:14:25 +00:00
|
|
|
DISTVERSION= 0.21
|
2013-12-27 17:33:11 +00:00
|
|
|
PORTREVISION= 1
|
2013-11-03 05:11:59 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
MAINTAINER= kmoore@FreeBSD.org
|
2013-12-27 17:33:11 +00:00
|
|
|
COMMENT= Grub-emu loader for bhyve
|
2013-11-03 05:11:59 +00:00
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
|
|
|
|
help2man:${PORTSDIR}/misc/help2man
|
|
|
|
|
2013-11-06 16:21:01 +00:00
|
|
|
ONLY_FOR_ARCHS= amd64
|
2013-11-03 05:11:59 +00:00
|
|
|
SSP_UNSAFE= yes
|
2013-12-27 17:33:11 +00:00
|
|
|
USE_GCC= 4.6+
|
2013-11-03 05:11:59 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= grehan-freebsd
|
2013-11-06 16:21:01 +00:00
|
|
|
GH_COMMIT= aa0717f
|
|
|
|
GH_TAGNAME= v0.2
|
|
|
|
USES= bison gettext gmake
|
2013-12-27 17:33:11 +00:00
|
|
|
PLIST_FILES= sbin/grub-bhyve
|
2013-11-03 05:11:59 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2013-12-27 17:33:11 +00:00
|
|
|
CONFIGURE_ARGS= --with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \
|
2013-11-06 16:21:01 +00:00
|
|
|
--enable-grub-mount=no --enable-grub-mkfont=no
|
2013-11-03 05:11:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} <= 1000000
|
|
|
|
IGNORE= for FreeBSD 10 and higher
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@ cd ${WRKSRC}/ && ./configure ${CONFIGURE_ARGS}
|
|
|
|
|
|
|
|
do-install:
|
2013-11-06 16:21:01 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve
|
2013-11-03 05:11:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|