1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Cleanup the Makefile

Suggested By: Alexey Dokuchaev <danfe@FreeBSD.org>
This commit is contained in:
Kris Moore 2013-11-06 16:21:01 +00:00
parent 5480ed7aba
commit a6873ba824
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333009

View File

@ -4,7 +4,6 @@
PORTNAME= grub2-bhyve
DISTVERSION= 0.2
CATEGORIES= sysutils
MASTER_SITES= http://github.com/${GH_ACCOUNT}/${PORTNAME}/archive/v${DISTVERSION}.tar.gz?dummy=/
MAINTAINER= kmoore@FreeBSD.org
COMMENT= Grub-emu loader for bhyve
@ -14,16 +13,17 @@ LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
help2man:${PORTSDIR}/misc/help2man
ONLY_FOR_ARCHS= amd64
SSP_UNSAFE= yes
USE_GCC= 4.7
USE_GMAKE= yes
USE_GITHUB= yes
GH_ACCOUNT= grehan-freebsd
USES= bison gettext
ONLY_FOR_ARCHS= amd64
GH_COMMIT= aa0717f
GH_TAGNAME= v0.2
USES= bison gettext gmake
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS= --with-platform=emu CC=gcc47 LEX=${LOCALBASE}/bin/flex --enable-grub-mount=no --enable-grub-mkfont=no
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
CONFIGURE_ARGS= --with-platform=emu CC=gcc47 LEX=${LOCALBASE}/bin/flex \
--enable-grub-mount=no --enable-grub-mkfont=no
.include <bsd.port.pre.mk>
@ -34,10 +34,7 @@ IGNORE= for FreeBSD 10 and higher
do-configure:
@ cd ${WRKSRC}/ && ./configure ${CONFIGURE_ARGS}
do-build:
@ cd ${WRKSRC}/ && ${GMAKE}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve
${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve
.include <bsd.port.post.mk>