d991a6baae
- Bump PORTREVISION PR: ports/152978 Submitted by: Rick Richard <rick@lgarchitecture.com> (maintainer)
47 lines
832 B
Makefile
47 lines
832 B
Makefile
# New ports collection makefile for: grub
|
|
# Whom: sem@FreeBSD.org
|
|
# Date created: 10 June 2010
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= grub2
|
|
PORTVERSION= 1.98
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/
|
|
DISTNAME= grub-${PORTVERSION}
|
|
|
|
MAINTAINER= rick@lgarchitecture.com
|
|
COMMENT= Multiboot boot loader
|
|
|
|
CONFLICTS= grub-0*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_BISON= build
|
|
USE_GETTEXT= yes
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
INFO= grub
|
|
|
|
OPTIONS= MKFONT "Build grub-mkfont (require freetype2)" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_MKFONT)
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
|
.else
|
|
MKFONT= "@comment "
|
|
.endif
|
|
|
|
PLIST_SUB+= MKFONT=${MKFONT}
|
|
|
|
.if ${OSVERSION} < 700000
|
|
BROKEN= does not compile on 6.X
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|