aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2013-11-07 00:21:01 +0800
committerkmoore <kmoore@FreeBSD.org>2013-11-07 00:21:01 +0800
commit83e16b2f35dfcda4bd138075dd220f2778f211df (patch)
tree133e9b3ccb233243ec1d052042b07d05f6686472 /sysutils
parentb26b14fd736c4f506fd823ddea707ff6fdac22a1 (diff)
downloadfreebsd-ports-gnome-83e16b2f35dfcda4bd138075dd220f2778f211df.tar.gz
freebsd-ports-gnome-83e16b2f35dfcda4bd138075dd220f2778f211df.tar.zst
freebsd-ports-gnome-83e16b2f35dfcda4bd138075dd220f2778f211df.zip
- Cleanup the Makefile
Suggested By: Alexey Dokuchaev <danfe@FreeBSD.org>
Diffstat (limited to 'sysutils')
-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>