aboutsummaryrefslogtreecommitdiff
path: root/sysutils/grub2-bhyve/Makefile
diff options
context:
space:
mode:
authorKris Moore <kmoore@FreeBSD.org>2013-11-06 16:21:01 +0000
committerKris Moore <kmoore@FreeBSD.org>2013-11-06 16:21:01 +0000
commita6873ba824cf99a709ec1b355107775b53e3fdae (patch)
tree133e9b3ccb233243ec1d052042b07d05f6686472 /sysutils/grub2-bhyve/Makefile
parent5480ed7aba8a624e612e670cdf54e5eb92058907 (diff)
downloadports-a6873ba824cf99a709ec1b355107775b53e3fdae.tar.gz
ports-a6873ba824cf99a709ec1b355107775b53e3fdae.zip
- Cleanup the Makefile
Suggested By: Alexey Dokuchaev <danfe@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=333009
Diffstat (limited to 'sysutils/grub2-bhyve/Makefile')
-rw-r--r--sysutils/grub2-bhyve/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/sysutils/grub2-bhyve/Makefile b/sysutils/grub2-bhyve/Makefile
index 37a234508532..a48d5a83e9d5 100644
--- a/sysutils/grub2-bhyve/Makefile
+++ b/sysutils/grub2-bhyve/Makefile
@@ -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>