mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
9250d94365
It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix
41 lines
693 B
Makefile
41 lines
693 B
Makefile
# Created by: sem@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= grub2
|
|
PORTVERSION= 1.98
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/
|
|
DISTNAME= grub-${PORTVERSION}
|
|
|
|
MAINTAINER= sem@FreeBSD.org
|
|
COMMENT= Multiboot boot loader
|
|
|
|
CONFLICTS= grub-0*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USES= bison
|
|
USE_GETTEXT= yes
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
INFO= grub
|
|
|
|
OPTIONS_DEFINE= MKFONT
|
|
MKFONT_DESC= Build grub-mkfont (require freetype2)
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMKFONT}
|
|
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
|
.else
|
|
MKFONT= "@comment "
|
|
.endif
|
|
|
|
PLIST_SUB+= MKFONT=${MKFONT}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|