Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 16:21:01 +0000 (UTC)
From:      Kris Moore <kmoore@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333009 - head/sysutils/grub2-bhyve
Message-ID:  <201311061621.rA6GL1hj048092@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmoore
Date: Wed Nov  6 16:21:01 2013
New Revision: 333009
URL: http://svnweb.freebsd.org/changeset/ports/333009

Log:
   - Cleanup the Makefile
  
  Suggested By: Alexey Dokuchaev <danfe@FreeBSD.org>

Modified:
  head/sysutils/grub2-bhyve/Makefile

Modified: head/sysutils/grub2-bhyve/Makefile
==============================================================================
--- head/sysutils/grub2-bhyve/Makefile	Wed Nov  6 16:06:07 2013	(r333008)
+++ head/sysutils/grub2-bhyve/Makefile	Wed Nov  6 16:21:01 2013	(r333009)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311061621.rA6GL1hj048092>